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

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

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

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

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

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

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

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

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

To customize credentials: + * + *

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

To customize the endpoint: + * + *

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

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

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   String instanceId = "instanceId902024336";
+   *   Instance instance = Instance.newBuilder().build();
+   *   Map clusters = new HashMap<>();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient
+   *           .createInstanceAsync(parent, instanceId, instance, clusters)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` + * must be left blank. Currently, at most four clusters can be specified. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + ProjectName parent, String instanceId, Instance instance, Map clusters) { + CreateInstanceRequest request = + CreateInstanceRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setInstanceId(instanceId) + .setInstance(instance) + .putAllClusters(clusters) + .build(); + return createInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ProjectName.of("[PROJECT]").toString();
+   *   String instanceId = "instanceId902024336";
+   *   Instance instance = Instance.newBuilder().build();
+   *   Map clusters = new HashMap<>();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient
+   *           .createInstanceAsync(parent, instanceId, instance, clusters)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` + * must be left blank. Currently, at most four clusters can be specified. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + String parent, String instanceId, Instance instance, Map clusters) { + CreateInstanceRequest request = + CreateInstanceRequest.newBuilder() + .setParent(parent) + .setInstanceId(instanceId) + .setInstance(instance) + .putAllClusters(clusters) + .build(); + return createInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.createInstanceAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + CreateInstanceRequest request) { + return createInstanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.createInstanceOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createInstanceOperationCallable() { + return stub.createInstanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createInstanceCallable() { + return stub.createInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(InstanceName name) { + GetInstanceRequest request = + GetInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(String name) { + GetInstanceRequest request = GetInstanceRequest.newBuilder().setName(name).build(); + return getInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetInstanceRequest request =
+   *       GetInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(GetInstanceRequest request) { + return getInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetInstanceRequest request =
+   *       GetInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getInstanceCallable() { + return stub.getInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(ProjectName parent) { + ListInstancesRequest request = + ListInstancesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listInstances(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ProjectName.of("[PROJECT]").toString();
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(String parent) { + ListInstancesRequest request = ListInstancesRequest.newBuilder().setParent(parent).build(); + return listInstances(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListInstancesRequest request =
+   *       ListInstancesRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(ListInstancesRequest request) { + return listInstancesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListInstancesRequest request =
+   *       ListInstancesRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listInstancesCallable().futureCall(request);
+   *   // Do something.
+   *   ListInstancesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable listInstancesCallable() { + return stub.listInstancesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an instance within a project. This method updates only the display name and type for an + * Instance. To update other Instance properties, such as labels, use PartialUpdateInstance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance request =
+   *       Instance.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setDisplayName("displayName1714148973")
+   *           .putAllLabels(new HashMap())
+   *           .setCreateTime(Timestamp.newBuilder().build())
+   *           .setSatisfiesPzs(true)
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.updateInstance(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance updateInstance(Instance request) { + return updateInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an instance within a project. This method updates only the display name and type for an + * Instance. To update other Instance properties, such as labels, use PartialUpdateInstance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance request =
+   *       Instance.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setDisplayName("displayName1714148973")
+   *           .putAllLabels(new HashMap())
+   *           .setCreateTime(Timestamp.newBuilder().build())
+   *           .setSatisfiesPzs(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateInstanceCallable() { + return stub.updateInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance instance = Instance.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient.partialUpdateInstanceAsync(instance, updateMask).get();
+   * }
+   * }
+ * + * @param instance Required. The Instance which will (partially) replace the current value. + * @param updateMask Required. The subset of Instance fields which should be replaced. Must be + * explicitly set. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateInstanceAsync( + Instance instance, FieldMask updateMask) { + PartialUpdateInstanceRequest request = + PartialUpdateInstanceRequest.newBuilder() + .setInstance(instance) + .setUpdateMask(updateMask) + .build(); + return partialUpdateInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.partialUpdateInstanceAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateInstanceAsync( + PartialUpdateInstanceRequest request) { + return partialUpdateInstanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient
+   *           .partialUpdateInstanceOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + partialUpdateInstanceOperationCallable() { + return stub.partialUpdateInstanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.partialUpdateInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + partialUpdateInstanceCallable() { + return stub.partialUpdateInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   baseBigtableInstanceAdminClient.deleteInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(InstanceName name) { + DeleteInstanceRequest request = + DeleteInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   baseBigtableInstanceAdminClient.deleteInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(String name) { + DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder().setName(name).build(); + deleteInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteInstanceRequest request =
+   *       DeleteInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteInstance(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(DeleteInstanceRequest request) { + deleteInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a project. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteInstanceRequest request =
+   *       DeleteInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteInstanceCallable() { + return stub.deleteInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String clusterId = "clusterId561939637";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.createClusterAsync(parent, clusterId, cluster).get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + InstanceName parent, String clusterId, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setClusterId(clusterId) + .setCluster(cluster) + .build(); + return createClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String clusterId = "clusterId561939637";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.createClusterAsync(parent, clusterId, cluster).get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + String parent, String clusterId, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setParent(parent) + .setClusterId(clusterId) + .setCluster(cluster) + .build(); + return createClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.createClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + CreateClusterRequest request) { + return createClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.createClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createClusterOperationCallable() { + return stub.createClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createClusterCallable() { + return stub.createClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(ClusterName name) { + GetClusterRequest request = + GetClusterRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(String name) { + GetClusterRequest request = GetClusterRequest.newBuilder().setName(name).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetClusterRequest request =
+   *       GetClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(GetClusterRequest request) { + return getClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetClusterRequest request =
+   *       GetClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getClusterCallable() { + return stub.getClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(InstanceName parent) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(String parent) { + ListClustersRequest request = ListClustersRequest.newBuilder().setParent(parent).build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListClustersRequest request =
+   *       ListClustersRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(ListClustersRequest request) { + return listClustersCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListClustersRequest request =
+   *       ListClustersRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listClustersCallable().futureCall(request);
+   *   // Do something.
+   *   ListClustersResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable listClustersCallable() { + return stub.listClustersCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.updateClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateClusterAsync(Cluster request) { + return updateClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.updateClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateClusterOperationCallable() { + return stub.updateClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateClusterCallable() { + return stub.updateClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

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

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.partialUpdateClusterAsync(cluster, updateMask).get();
+   * }
+   * }
+ * + * @param cluster Required. The Cluster which contains the partial updates to be applied, subject + * to the update_mask. + * @param updateMask Required. The subset of Cluster fields which should be replaced. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateClusterAsync( + Cluster cluster, FieldMask updateMask) { + PartialUpdateClusterRequest request = + PartialUpdateClusterRequest.newBuilder() + .setCluster(cluster) + .setUpdateMask(updateMask) + .build(); + return partialUpdateClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

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

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.partialUpdateClusterAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateClusterAsync( + PartialUpdateClusterRequest request) { + return partialUpdateClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

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

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient
+   *           .partialUpdateClusterOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + partialUpdateClusterOperationCallable() { + return stub.partialUpdateClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

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

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.partialUpdateClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + partialUpdateClusterCallable() { + return stub.partialUpdateClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   baseBigtableInstanceAdminClient.deleteCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(ClusterName name) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   baseBigtableInstanceAdminClient.deleteCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(String name) { + DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); + deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteClusterRequest request =
+   *       DeleteClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteCluster(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(DeleteClusterRequest request) { + deleteClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteClusterRequest request =
+   *       DeleteClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteClusterCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteClusterCallable() { + return stub.deleteClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String appProfileId = "appProfileId704923523";
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than + * `projects/myproject/instances/myinstance/appProfiles/myprofile`. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile( + InstanceName parent, String appProfileId, AppProfile appProfile) { + CreateAppProfileRequest request = + CreateAppProfileRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setAppProfileId(appProfileId) + .setAppProfile(appProfile) + .build(); + return createAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String appProfileId = "appProfileId704923523";
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than + * `projects/myproject/instances/myinstance/appProfiles/myprofile`. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile( + String parent, String appProfileId, AppProfile appProfile) { + CreateAppProfileRequest request = + CreateAppProfileRequest.newBuilder() + .setParent(parent) + .setAppProfileId(appProfileId) + .setAppProfile(appProfile) + .build(); + return createAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateAppProfileRequest request =
+   *       CreateAppProfileRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.createAppProfile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile(CreateAppProfileRequest request) { + return createAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateAppProfileRequest request =
+   *       CreateAppProfileRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createAppProfileCallable() { + return stub.createAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(AppProfileName name) { + GetAppProfileRequest request = + GetAppProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(String name) { + GetAppProfileRequest request = GetAppProfileRequest.newBuilder().setName(name).build(); + return getAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetAppProfileRequest request =
+   *       GetAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(GetAppProfileRequest request) { + return getAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetAppProfileRequest request =
+   *       GetAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getAppProfileCallable() { + return stub.getAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(InstanceName parent) { + ListAppProfilesRequest request = + ListAppProfilesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listAppProfiles(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(String parent) { + ListAppProfilesRequest request = ListAppProfilesRequest.newBuilder().setParent(parent).build(); + return listAppProfiles(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest request) { + return listAppProfilesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listAppProfilesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (AppProfile element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listAppProfilesPagedCallable() { + return stub.listAppProfilesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListAppProfilesResponse response =
+   *         baseBigtableInstanceAdminClient.listAppProfilesCallable().call(request);
+   *     for (AppProfile element : response.getAppProfilesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listAppProfilesCallable() { + return stub.listAppProfilesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.updateAppProfileAsync(appProfile, updateMask).get();
+   * }
+   * }
+ * + * @param appProfile Required. The app profile which will (partially) replace the current value. + * @param updateMask Required. The subset of app profile fields which should be replaced. If + * unset, all fields will be replaced. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAppProfileAsync( + AppProfile appProfile, FieldMask updateMask) { + UpdateAppProfileRequest request = + UpdateAppProfileRequest.newBuilder() + .setAppProfile(appProfile) + .setUpdateMask(updateMask) + .build(); + return updateAppProfileAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.updateAppProfileAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAppProfileAsync( + UpdateAppProfileRequest request) { + return updateAppProfileOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.updateAppProfileOperationCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateAppProfileOperationCallable() { + return stub.updateAppProfileOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateAppProfileCallable() { + return stub.updateAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(AppProfileName name) { + DeleteAppProfileRequest request = + DeleteAppProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(String name) { + DeleteAppProfileRequest request = DeleteAppProfileRequest.newBuilder().setName(name).build(); + deleteAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteAppProfileRequest request =
+   *       DeleteAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(DeleteAppProfileRequest request) { + deleteAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteAppProfileRequest request =
+   *       DeleteAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteAppProfileCallable() { + return stub.deleteAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(ResourceName resource) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String resource) { + GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(ResourceName resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .setPolicy(policy) + .build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(String resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + ResourceName resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + String resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster name to list hot tablets. Value is in the following form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(ClusterName parent) { + ListHotTabletsRequest request = + ListHotTabletsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listHotTablets(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster name to list hot tablets. Value is in the following form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(String parent) { + ListHotTabletsRequest request = ListHotTabletsRequest.newBuilder().setParent(parent).build(); + return listHotTablets(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(ListHotTabletsRequest request) { + return listHotTabletsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listHotTabletsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (HotTablet element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listHotTabletsPagedCallable() { + return stub.listHotTabletsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

Sample code: + * + *

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

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

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

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

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

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

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public UnaryCallSettings.Builder createInstanceSettings() { + return getStubSettingsBuilder().createInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public OperationCallSettings.Builder + createInstanceOperationSettings() { + return getStubSettingsBuilder().createInstanceOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getInstance. */ + public UnaryCallSettings.Builder getInstanceSettings() { + return getStubSettingsBuilder().getInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to listInstances. */ + public UnaryCallSettings.Builder + listInstancesSettings() { + return getStubSettingsBuilder().listInstancesSettings(); + } + + /** Returns the builder for the settings used for calls to updateInstance. */ + public UnaryCallSettings.Builder updateInstanceSettings() { + return getStubSettingsBuilder().updateInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings.Builder + partialUpdateInstanceSettings() { + return getStubSettingsBuilder().partialUpdateInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings() { + return getStubSettingsBuilder().partialUpdateInstanceOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteInstance. */ + public UnaryCallSettings.Builder deleteInstanceSettings() { + return getStubSettingsBuilder().deleteInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public UnaryCallSettings.Builder createClusterSettings() { + return getStubSettingsBuilder().createClusterSettings(); + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public OperationCallSettings.Builder + createClusterOperationSettings() { + return getStubSettingsBuilder().createClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getCluster. */ + public UnaryCallSettings.Builder getClusterSettings() { + return getStubSettingsBuilder().getClusterSettings(); + } + + /** Returns the builder for the settings used for calls to listClusters. */ + public UnaryCallSettings.Builder + listClustersSettings() { + return getStubSettingsBuilder().listClustersSettings(); + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public UnaryCallSettings.Builder updateClusterSettings() { + return getStubSettingsBuilder().updateClusterSettings(); + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public OperationCallSettings.Builder + updateClusterOperationSettings() { + return getStubSettingsBuilder().updateClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings.Builder + partialUpdateClusterSettings() { + return getStubSettingsBuilder().partialUpdateClusterSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings() { + return getStubSettingsBuilder().partialUpdateClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteCluster. */ + public UnaryCallSettings.Builder deleteClusterSettings() { + return getStubSettingsBuilder().deleteClusterSettings(); + } + + /** Returns the builder for the settings used for calls to createAppProfile. */ + public UnaryCallSettings.Builder + createAppProfileSettings() { + return getStubSettingsBuilder().createAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to getAppProfile. */ + public UnaryCallSettings.Builder getAppProfileSettings() { + return getStubSettingsBuilder().getAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to listAppProfiles. */ + public PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return getStubSettingsBuilder().listAppProfilesSettings(); + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public UnaryCallSettings.Builder + updateAppProfileSettings() { + return getStubSettingsBuilder().updateAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings() { + return getStubSettingsBuilder().updateAppProfileOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings.Builder deleteAppProfileSettings() { + return getStubSettingsBuilder().deleteAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + /** Returns the builder for the settings used for calls to listHotTablets. */ + public PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return getStubSettingsBuilder().listHotTabletsSettings(); + } + + @Override + public BaseBigtableInstanceAdminSettings build() throws IOException { + return new BaseBigtableInstanceAdminSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java new file mode 100644 index 0000000000..e935d71336 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -0,0 +1,4132 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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. + * `change_stream_config`) in the `table` field should be updated. This mask is relative to + * the `table` field, not to the request message. The wildcard (*) path is currently not + * supported. Currently UpdateTable is only supported for the following fields: + *
    + *
  • `change_stream_config` + *
  • `change_stream_config.retention_period` + *
  • `deletion_protection` + *
+ *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.updateTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateTableAsync( + UpdateTableRequest request) { + return updateTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.updateTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateTableOperationCallable() { + return stub.updateTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.updateTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateTableCallable() { + return stub.updateTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   baseBigtableTableAdminClient.deleteTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(TableName name) { + DeleteTableRequest request = + DeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   baseBigtableTableAdminClient.deleteTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(String name) { + DeleteTableRequest request = DeleteTableRequest.newBuilder().setName(name).build(); + deleteTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteTableRequest request =
+   *       DeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteTable(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(DeleteTableRequest request) { + deleteTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteTableRequest request =
+   *       DeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteTableCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteTableCallable() { + return stub.deleteTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be restored. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync(TableName name) { + UndeleteTableRequest request = + UndeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return undeleteTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be restored. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync(String name) { + UndeleteTableRequest request = UndeleteTableRequest.newBuilder().setName(name).build(); + return undeleteTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync( + UndeleteTableRequest request) { + return undeleteTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.undeleteTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + undeleteTableOperationCallable() { + return stub.undeleteTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.undeleteTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable undeleteTableCallable() { + return stub.undeleteTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   List modifications = new ArrayList<>();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications Required. Modifications to be atomically applied to the specified table's + * families. Entries are applied in order, meaning that earlier modifications can be masked by + * later ones (in the case of repeated updates to the same family, for example). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies( + TableName name, List modifications) { + ModifyColumnFamiliesRequest request = + ModifyColumnFamiliesRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .addAllModifications(modifications) + .build(); + return modifyColumnFamilies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   List modifications = new ArrayList<>();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications Required. Modifications to be atomically applied to the specified table's + * families. Entries are applied in order, meaning that earlier modifications can be masked by + * later ones (in the case of repeated updates to the same family, for example). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies( + String name, List modifications) { + ModifyColumnFamiliesRequest request = + ModifyColumnFamiliesRequest.newBuilder() + .setName(name) + .addAllModifications(modifications) + .build(); + return modifyColumnFamilies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ModifyColumnFamiliesRequest request =
+   *       ModifyColumnFamiliesRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .addAllModifications(new ArrayList())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies(ModifyColumnFamiliesRequest request) { + return modifyColumnFamiliesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ModifyColumnFamiliesRequest request =
+   *       ModifyColumnFamiliesRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .addAllModifications(new ArrayList())
+   *           .build();
+   *   ApiFuture
future = + * baseBigtableTableAdminClient.modifyColumnFamiliesCallable().futureCall(request); + * // Do something. + * Table response = future.get(); + * } + * } + */ + public final UnaryCallable modifyColumnFamiliesCallable() { + return stub.modifyColumnFamiliesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently drop/delete a row range from a specified table. The request can specify whether to + * delete all rows in a table, or only those that match a particular prefix. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DropRowRangeRequest request =
+   *       DropRowRangeRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.dropRowRange(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void dropRowRange(DropRowRangeRequest request) { + dropRowRangeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently drop/delete a row range from a specified table. The request can specify whether to + * delete all rows in a table, or only those that match a particular prefix. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DropRowRangeRequest request =
+   *       DropRowRangeRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.dropRowRangeCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable dropRowRangeCallable() { + return stub.dropRowRangeCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to create a consistency token. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName name) { + GenerateConsistencyTokenRequest request = + GenerateConsistencyTokenRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return generateConsistencyToken(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to create a consistency token. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken(String name) { + GenerateConsistencyTokenRequest request = + GenerateConsistencyTokenRequest.newBuilder().setName(name).build(); + return generateConsistencyToken(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GenerateConsistencyTokenRequest request =
+   *       GenerateConsistencyTokenRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken( + GenerateConsistencyTokenRequest request) { + return generateConsistencyTokenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in CheckConsistency to check + * whether mutations to the table that finished before this call started have been replicated. The + * tokens will be available for 90 days. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GenerateConsistencyTokenRequest request =
+   *       GenerateConsistencyTokenRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.generateConsistencyTokenCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateConsistencyTokenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + generateConsistencyTokenCallable() { + return stub.generateConsistencyTokenCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   String consistencyToken = "consistencyToken-1985152319";
+   *   CheckConsistencyResponse response =
+   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) { + CheckConsistencyRequest request = + CheckConsistencyRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setConsistencyToken(consistencyToken) + .build(); + return checkConsistency(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   String consistencyToken = "consistencyToken-1985152319";
+   *   CheckConsistencyResponse response =
+   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(String name, String consistencyToken) { + CheckConsistencyRequest request = + CheckConsistencyRequest.newBuilder() + .setName(name) + .setConsistencyToken(consistencyToken) + .build(); + return checkConsistency(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CheckConsistencyRequest request =
+   *       CheckConsistencyRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setConsistencyToken("consistencyToken-1985152319")
+   *           .build();
+   *   CheckConsistencyResponse response = baseBigtableTableAdminClient.checkConsistency(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest request) { + return checkConsistencyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Checks replication consistency based on a consistency token, that is, if replication has caught + * up based on the conditions specified in the token and the check request. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CheckConsistencyRequest request =
+   *       CheckConsistencyRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setConsistencyToken("consistencyToken-1985152319")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.checkConsistencyCallable().futureCall(request);
+   *   // Do something.
+   *   CheckConsistencyResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkConsistencyCallable() { + return stub.checkConsistencyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + TableName name, ClusterName cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setCluster(cluster == null ? null : cluster.toString()) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + TableName name, String cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setCluster(cluster) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + String name, ClusterName cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name) + .setCluster(cluster == null ? null : cluster.toString()) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId Required. The ID by which the new snapshot should be referred to within the + * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather + * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + String name, String cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name) + .setCluster(cluster) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   Snapshot response = baseBigtableTableAdminClient.snapshotTableAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + SnapshotTableRequest request) { + return snapshotTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.snapshotTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Snapshot response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + snapshotTableOperationCallable() { + return stub.snapshotTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.snapshotTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable snapshotTableCallable() { + return stub.snapshotTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(SnapshotName name) { + GetSnapshotRequest request = + GetSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(String name) { + GetSnapshotRequest request = GetSnapshotRequest.newBuilder().setName(name).build(); + return getSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetSnapshotRequest request =
+   *       GetSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(GetSnapshotRequest request) { + return getSnapshotCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetSnapshotRequest request =
+   *       GetSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   Snapshot response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getSnapshotCallable() { + return stub.getSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the cluster for which snapshots should be listed. + * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use + * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { + ListSnapshotsRequest request = + ListSnapshotsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listSnapshots(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the cluster for which snapshots should be listed. + * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use + * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(String parent) { + ListSnapshotsRequest request = ListSnapshotsRequest.newBuilder().setParent(parent).build(); + return listSnapshots(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest request) { + return listSnapshotsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.listSnapshotsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Snapshot element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listSnapshotsPagedCallable() { + return stub.listSnapshotsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListSnapshotsResponse response =
+   *         baseBigtableTableAdminClient.listSnapshotsCallable().call(request);
+   *     for (Snapshot element : response.getSnapshotsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listSnapshotsCallable() { + return stub.listSnapshotsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   baseBigtableTableAdminClient.deleteSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(SnapshotName name) { + DeleteSnapshotRequest request = + DeleteSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   baseBigtableTableAdminClient.deleteSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(String name) { + DeleteSnapshotRequest request = DeleteSnapshotRequest.newBuilder().setName(name).build(); + deleteSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteSnapshotRequest request =
+   *       DeleteSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteSnapshot(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(DeleteSnapshotRequest request) { + deleteSnapshotCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This feature might be changed in + * backward-incompatible ways and is not recommended for production use. It is not subject to any + * SLA or deprecation policy. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteSnapshotRequest request =
+   *       DeleteSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteSnapshotCallable() { + return stub.deleteSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String backupId = "backupId2121930365";
+   *   Backup backup = Backup.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
+   * }
+   * }
+ * + * @param parent Required. This must be one of the clusters in the instance in which this table is + * located. The backup will be stored in this cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the backup to be created. The `backup_id` along with the + * parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup + * name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param backup Required. The backup to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + ClusterName parent, String backupId, Backup backup) { + CreateBackupRequest request = + CreateBackupRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setBackupId(backupId) + .setBackup(backup) + .build(); + return createBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String backupId = "backupId2121930365";
+   *   Backup backup = Backup.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
+   * }
+   * }
+ * + * @param parent Required. This must be one of the clusters in the instance in which this table is + * located. The backup will be stored in this cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the backup to be created. The `backup_id` along with the + * parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup + * name, of the form: + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This + * string must be between 1 and 50 characters in length and match the regex + * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + * @param backup Required. The backup to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + String parent, String backupId, Backup backup) { + CreateBackupRequest request = + CreateBackupRequest.newBuilder() + .setParent(parent) + .setBackupId(backupId) + .setBackup(backup) + .build(); + return createBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.createBackupAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + CreateBackupRequest request) { + return createBackupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.createBackupOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createBackupOperationCallable() { + return stub.createBackupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [metadata][google.longrunning.Operation.metadata] field type is + * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The + * [response][google.longrunning.Operation.response] field type is + * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation + * will stop the creation and delete the backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createBackupCallable() { + return stub.createBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(BackupName name) { + GetBackupRequest request = + GetBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(String name) { + GetBackupRequest request = GetBackupRequest.newBuilder().setName(name).build(); + return getBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetBackupRequest request =
+   *       GetBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.getBackup(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(GetBackupRequest request) { + return getBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   GetBackupRequest request =
+   *       GetBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getBackupCallable() { + return stub.getBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   Backup backup = Backup.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Backup response = baseBigtableTableAdminClient.updateBackup(backup, updateMask);
+   * }
+   * }
+ * + * @param backup Required. The backup to update. `backup.name`, and the fields to be updated as + * specified by `update_mask` are required. Other fields are ignored. Update is only supported + * for the following fields: * `backup.expire_time`. + * @param updateMask Required. A mask specifying which fields (e.g. `expire_time`) in the Backup + * resource should be updated. This mask is relative to the Backup resource, not to the + * request message. The field mask must always be specified; this prevents any future fields + * from being erased accidentally by clients that do not know about them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup updateBackup(Backup backup, FieldMask updateMask) { + UpdateBackupRequest request = + UpdateBackupRequest.newBuilder().setBackup(backup).setUpdateMask(updateMask).build(); + return updateBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateBackupRequest request =
+   *       UpdateBackupRequest.newBuilder()
+   *           .setBackup(Backup.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.updateBackup(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup updateBackup(UpdateBackupRequest request) { + return updateBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   UpdateBackupRequest request =
+   *       UpdateBackupRequest.newBuilder()
+   *           .setBackup(Backup.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.updateBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateBackupCallable() { + return stub.updateBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   baseBigtableTableAdminClient.deleteBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup to delete. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(BackupName name) { + DeleteBackupRequest request = + DeleteBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   baseBigtableTableAdminClient.deleteBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup to delete. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(String name) { + DeleteBackupRequest request = DeleteBackupRequest.newBuilder().setName(name).build(); + deleteBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteBackupRequest request =
+   *       DeleteBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteBackup(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(DeleteBackupRequest request) { + deleteBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   DeleteBackupRequest request =
+   *       DeleteBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteBackupCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteBackupCallable() { + return stub.deleteBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster to list backups from. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list + * backups for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(ClusterName parent) { + ListBackupsRequest request = + ListBackupsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listBackups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster to list backups from. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list + * backups for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(String parent) { + ListBackupsRequest request = ListBackupsRequest.newBuilder().setParent(parent).build(); + return listBackups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { + return listBackupsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.listBackupsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Backup element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listBackupsPagedCallable() { + return stub.listBackupsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+   *     BaseBigtableTableAdminClient.create()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListBackupsResponse response =
+   *         baseBigtableTableAdminClient.listBackupsCallable().call(request);
+   *     for (Backup element : response.getBackupsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listBackupsCallable() { + return stub.listBackupsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The 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..68775d68e4 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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..802acb816c --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java @@ -0,0 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Bigtable Admin API + * + *

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

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

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

Sample for BaseBigtableInstanceAdminClient: + * + *

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

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

Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. + * + *

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

Sample for BaseBigtableTableAdminClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
+ *     BaseBigtableTableAdminClient.create()) {
+ *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   String tableId = "tableId-1552905847";
+ *   Table table = Table.newBuilder().build();
+ *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.bigtable.admin.v2; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java new file mode 100644 index 0000000000..c3fa1df46c --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java @@ -0,0 +1,206 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the BigtableInstanceAdmin service API. + * + *

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

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

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

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

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

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

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public UnaryCallSettings.Builder createInstanceSettings() { + return createInstanceSettings; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createInstanceOperationSettings() { + return createInstanceOperationSettings; + } + + /** Returns the builder for the settings used for calls to getInstance. */ + public UnaryCallSettings.Builder getInstanceSettings() { + return getInstanceSettings; + } + + /** Returns the builder for the settings used for calls to listInstances. */ + public UnaryCallSettings.Builder + listInstancesSettings() { + return listInstancesSettings; + } + + /** Returns the builder for the settings used for calls to updateInstance. */ + public UnaryCallSettings.Builder updateInstanceSettings() { + return updateInstanceSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings.Builder + partialUpdateInstanceSettings() { + return partialUpdateInstanceSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings() { + return partialUpdateInstanceOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteInstance. */ + public UnaryCallSettings.Builder deleteInstanceSettings() { + return deleteInstanceSettings; + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public UnaryCallSettings.Builder createClusterSettings() { + return createClusterSettings; + } + + /** Returns the builder for the settings used for calls to createCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createClusterOperationSettings() { + return createClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to getCluster. */ + public UnaryCallSettings.Builder getClusterSettings() { + return getClusterSettings; + } + + /** Returns the builder for the settings used for calls to listClusters. */ + public UnaryCallSettings.Builder + listClustersSettings() { + return listClustersSettings; + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public UnaryCallSettings.Builder updateClusterSettings() { + return updateClusterSettings; + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updateClusterOperationSettings() { + return updateClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings.Builder + partialUpdateClusterSettings() { + return partialUpdateClusterSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings() { + return partialUpdateClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteCluster. */ + public UnaryCallSettings.Builder deleteClusterSettings() { + return deleteClusterSettings; + } + + /** Returns the builder for the settings used for calls to createAppProfile. */ + public UnaryCallSettings.Builder + createAppProfileSettings() { + return createAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to getAppProfile. */ + public UnaryCallSettings.Builder getAppProfileSettings() { + return getAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to listAppProfiles. */ + public PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return listAppProfilesSettings; + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public UnaryCallSettings.Builder + updateAppProfileSettings() { + return updateAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings() { + return updateAppProfileOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings.Builder deleteAppProfileSettings() { + return deleteAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the builder for the settings used for calls to listHotTablets. */ + public PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return listHotTabletsSettings; + } + + @Override + public BigtableInstanceAdminStubSettings build() throws IOException { + return new BigtableInstanceAdminStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java new file mode 100644 index 0000000000..2db256265e --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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..9da7192c5f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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..b0f8d0468e --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the BigtableInstanceAdmin service API. + * + *

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

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

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableTableAdminCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java new file mode 100644 index 0000000000..d6b64db9a7 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.CreateBackupMetadata; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the BigtableTableAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { + private static final MethodDescriptor createTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateTable") + .setRequestMarshaller(ProtoUtils.marshaller(CreateTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createTableFromSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateTableFromSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listTablesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListTables") + .setRequestMarshaller(ProtoUtils.marshaller(ListTablesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ListTablesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetTable") + .setRequestMarshaller(ProtoUtils.marshaller(GetTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateTable") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + undeleteTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UndeleteTable") + .setRequestMarshaller( + ProtoUtils.marshaller(UndeleteTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + modifyColumnFamiliesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies") + .setRequestMarshaller( + ProtoUtils.marshaller(ModifyColumnFamiliesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor dropRowRangeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange") + .setRequestMarshaller(ProtoUtils.marshaller(DropRowRangeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateConsistencyTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(GenerateConsistencyTokenResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + checkConsistencyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckConsistencyRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckConsistencyResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + snapshotTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable") + .setRequestMarshaller( + ProtoUtils.marshaller(SnapshotTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot") + .setRequestMarshaller(ProtoUtils.marshaller(GetSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Snapshot.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listSnapshotsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots") + .setRequestMarshaller( + ProtoUtils.marshaller(ListSnapshotsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListSnapshotsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateBackup") + .setRequestMarshaller(ProtoUtils.marshaller(CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetBackup") + .setRequestMarshaller(ProtoUtils.marshaller(GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateBackup") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteBackup") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listBackupsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListBackups") + .setRequestMarshaller(ProtoUtils.marshaller(ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListBackupsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + restoreTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable") + .setRequestMarshaller(ProtoUtils.marshaller(RestoreTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor 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 -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings + createTableFromSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createTableFromSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings listTablesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listTablesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table.name", String.valueOf(request.getTable().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings undeleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(undeleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings modifyColumnFamiliesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(modifyColumnFamiliesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings dropRowRangeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(dropRowRangeMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + generateConsistencyTokenTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(generateConsistencyTokenMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + checkConsistencyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkConsistencyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings snapshotTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(snapshotTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listSnapshotsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listSnapshotsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("backup.name", String.valueOf(request.getBackup().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listBackupsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listBackupsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings restoreTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(restoreTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + + this.createTableCallable = + callableFactory.createUnaryCallable( + createTableTransportSettings, settings.createTableSettings(), clientContext); + this.createTableFromSnapshotCallable = + callableFactory.createUnaryCallable( + createTableFromSnapshotTransportSettings, + settings.createTableFromSnapshotSettings(), + clientContext); + this.createTableFromSnapshotOperationCallable = + callableFactory.createOperationCallable( + createTableFromSnapshotTransportSettings, + settings.createTableFromSnapshotOperationSettings(), + clientContext, + operationsStub); + this.listTablesCallable = + callableFactory.createUnaryCallable( + listTablesTransportSettings, settings.listTablesSettings(), clientContext); + this.listTablesPagedCallable = + callableFactory.createPagedCallable( + listTablesTransportSettings, settings.listTablesSettings(), clientContext); + this.getTableCallable = + callableFactory.createUnaryCallable( + getTableTransportSettings, settings.getTableSettings(), clientContext); + this.updateTableCallable = + callableFactory.createUnaryCallable( + updateTableTransportSettings, settings.updateTableSettings(), clientContext); + this.updateTableOperationCallable = + callableFactory.createOperationCallable( + updateTableTransportSettings, + settings.updateTableOperationSettings(), + clientContext, + operationsStub); + this.deleteTableCallable = + callableFactory.createUnaryCallable( + deleteTableTransportSettings, settings.deleteTableSettings(), clientContext); + this.undeleteTableCallable = + callableFactory.createUnaryCallable( + undeleteTableTransportSettings, settings.undeleteTableSettings(), clientContext); + this.undeleteTableOperationCallable = + callableFactory.createOperationCallable( + undeleteTableTransportSettings, + settings.undeleteTableOperationSettings(), + clientContext, + operationsStub); + this.modifyColumnFamiliesCallable = + callableFactory.createUnaryCallable( + modifyColumnFamiliesTransportSettings, + settings.modifyColumnFamiliesSettings(), + clientContext); + this.dropRowRangeCallable = + callableFactory.createUnaryCallable( + dropRowRangeTransportSettings, settings.dropRowRangeSettings(), clientContext); + this.generateConsistencyTokenCallable = + callableFactory.createUnaryCallable( + generateConsistencyTokenTransportSettings, + settings.generateConsistencyTokenSettings(), + clientContext); + this.checkConsistencyCallable = + callableFactory.createUnaryCallable( + checkConsistencyTransportSettings, settings.checkConsistencySettings(), clientContext); + this.snapshotTableCallable = + callableFactory.createUnaryCallable( + snapshotTableTransportSettings, settings.snapshotTableSettings(), clientContext); + this.snapshotTableOperationCallable = + callableFactory.createOperationCallable( + snapshotTableTransportSettings, + settings.snapshotTableOperationSettings(), + clientContext, + operationsStub); + this.getSnapshotCallable = + callableFactory.createUnaryCallable( + getSnapshotTransportSettings, settings.getSnapshotSettings(), clientContext); + this.listSnapshotsCallable = + callableFactory.createUnaryCallable( + listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); + this.listSnapshotsPagedCallable = + callableFactory.createPagedCallable( + listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); + this.deleteSnapshotCallable = + callableFactory.createUnaryCallable( + deleteSnapshotTransportSettings, settings.deleteSnapshotSettings(), clientContext); + this.createBackupCallable = + callableFactory.createUnaryCallable( + createBackupTransportSettings, settings.createBackupSettings(), clientContext); + this.createBackupOperationCallable = + callableFactory.createOperationCallable( + createBackupTransportSettings, + settings.createBackupOperationSettings(), + clientContext, + operationsStub); + this.getBackupCallable = + callableFactory.createUnaryCallable( + getBackupTransportSettings, settings.getBackupSettings(), clientContext); + this.updateBackupCallable = + callableFactory.createUnaryCallable( + updateBackupTransportSettings, settings.updateBackupSettings(), clientContext); + this.deleteBackupCallable = + callableFactory.createUnaryCallable( + deleteBackupTransportSettings, settings.deleteBackupSettings(), clientContext); + this.listBackupsCallable = + callableFactory.createUnaryCallable( + listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); + this.listBackupsPagedCallable = + callableFactory.createPagedCallable( + listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); + this.restoreTableCallable = + callableFactory.createUnaryCallable( + restoreTableTransportSettings, settings.restoreTableSettings(), clientContext); + this.restoreTableOperationCallable = + callableFactory.createOperationCallable( + restoreTableTransportSettings, + settings.restoreTableOperationSettings(), + clientContext, + operationsStub); + this.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..ce3cfa664d --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java @@ -0,0 +1,1376 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.InstanceName; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.Mutation; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadModifyWriteRule; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.RowFilter; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.bigtable.v2.TableName; +import com.google.cloud.bigtable.data.v2.stub.BigtableStub; +import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; +import com.google.protobuf.ByteString; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service for reading from and writing to existing Bigtable tables. + * + *

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+ *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+ *   ByteString rowKey = ByteString.EMPTY;
+ *   List mutations = new ArrayList<>();
+ *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+ * }
+ * }
+ * + *

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

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

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

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

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

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

To customize credentials: + * + *

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

To customize the endpoint: + * + *

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

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadRowsRequest request =
+   *       ReadRowsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRows(RowSet.newBuilder().build())
+   *           .setFilter(RowFilter.newBuilder().build())
+   *           .setRowsLimit(-944199211)
+   *           .setReversed(true)
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.readRowsCallable().call(request);
+   *   for (ReadRowsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable readRowsCallable() { + return stub.readRowsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a sample of row keys in the table. The returned row keys will delimit contiguous + * sections of the table of approximately equal size, which can be used to break up the data for + * distributed tasks like mapreduces. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   SampleRowKeysRequest request =
+   *       SampleRowKeysRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.sampleRowKeysCallable().call(request);
+   *   for (SampleRowKeysResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable + sampleRowKeysCallable() { + return stub.sampleRowKeysCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + TableName tableName, ByteString rowKey, List mutations) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllMutations(mutations) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + String tableName, ByteString rowKey, List mutations) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllMutations(mutations) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   MutateRowResponse response =
+   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + TableName tableName, ByteString rowKey, List mutations, String appProfileId) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllMutations(mutations) + .setAppProfileId(appProfileId) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   MutateRowResponse response =
+   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + String tableName, ByteString rowKey, List mutations, String appProfileId) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllMutations(mutations) + .setAppProfileId(appProfileId) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowRequest request =
+   *       MutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllMutations(new ArrayList())
+   *           .build();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow(MutateRowRequest request) { + return mutateRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowRequest request =
+   *       MutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllMutations(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.mutateRowCallable().futureCall(request);
+   *   // Do something.
+   *   MutateRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable mutateRowCallable() { + return stub.mutateRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, + * but the entire batch is not executed atomically. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowsRequest request =
+   *       MutateRowsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .addAllEntries(new ArrayList())
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.mutateRowsCallable().call(request);
+   *   for (MutateRowsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable mutateRowsCallable() { + return stub.mutateRowsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the conditional mutation + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter The filter to be applied to the contents of the specified row. Depending + * on whether or not any results are yielded, either `true_mutations` or `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + TableName tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the conditional mutation + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter The filter to be applied to the contents of the specified row. Depending + * on whether or not any results are yielded, either `true_mutations` or `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + String tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

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

Sample code: + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   CheckAndMutateRowRequest request =
+   *       CheckAndMutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .setPredicateFilter(RowFilter.newBuilder().build())
+   *           .addAllTrueMutations(new ArrayList())
+   *           .addAllFalseMutations(new ArrayList())
+   *           .build();
+   *   CheckAndMutateRowResponse response = baseBigtableDataClient.checkAndMutateRow(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow(CheckAndMutateRowRequest request) { + return checkAndMutateRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   CheckAndMutateRowRequest request =
+   *       CheckAndMutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .setPredicateFilter(RowFilter.newBuilder().build())
+   *           .addAllTrueMutations(new ArrayList())
+   *           .addAllFalseMutations(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.checkAndMutateRowCallable().futureCall(request);
+   *   // Do something.
+   *   CheckAndMutateRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkAndMutateRowCallable() { + return stub.checkAndMutateRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(InstanceName name) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(String name) { + PingAndWarmRequest request = PingAndWarmRequest.newBuilder().setName(name).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String appProfileId = "appProfileId704923523";
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(InstanceName name, String appProfileId) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setAppProfileId(appProfileId) + .build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String appProfileId = "appProfileId704923523";
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(String name, String appProfileId) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder().setName(name).setAppProfileId(appProfileId).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   PingAndWarmRequest request =
+   *       PingAndWarmRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(PingAndWarmRequest request) { + return pingAndWarmCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   PingAndWarmRequest request =
+   *       PingAndWarmRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.pingAndWarmCallable().futureCall(request);
+   *   // Do something.
+   *   PingAndWarmResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable pingAndWarmCallable() { + return stub.pingAndWarmCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + TableName tableName, ByteString rowKey, List rules) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllRules(rules) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + String tableName, ByteString rowKey, List rules) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllRules(rules) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

Sample code: + * + *

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

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + String tableName, ByteString rowKey, List rules, String appProfileId) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllRules(rules) + .setAppProfileId(appProfileId) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadModifyWriteRowRequest request =
+   *       ReadModifyWriteRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllRules(new ArrayList())
+   *           .build();
+   *   ReadModifyWriteRowResponse response = baseBigtableDataClient.readModifyWriteRow(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow(ReadModifyWriteRowRequest request) { + return readModifyWriteRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadModifyWriteRowRequest request =
+   *       ReadModifyWriteRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllRules(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.readModifyWriteRowCallable().futureCall(request);
+   *   // Do something.
+   *   ReadModifyWriteRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + readModifyWriteRowCallable() { + return stub.readModifyWriteRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * NOTE: This API is intended to be used by Apache Beam BigtableIO. Returns the current list of + * partitions that make up the table's change stream. The union of partitions will cover the + * entire keyspace. Partitions can be read with `ReadChangeStream`. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   GenerateInitialChangeStreamPartitionsRequest request =
+   *       GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.generateInitialChangeStreamPartitionsCallable().call(request);
+   *   for (GenerateInitialChangeStreamPartitionsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + return stub.generateInitialChangeStreamPartitionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * NOTE: This API is intended to be used by Apache Beam BigtableIO. Reads changes from a table's + * change stream. Changes will reflect both user-initiated mutations and mutations that are caused + * by garbage collection. + * + *

Sample code: + * + *

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

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

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

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

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BaseBigtableDataSettings.Builder baseBigtableDataSettingsBuilder =
+ *     BaseBigtableDataSettings.newBuilder();
+ * baseBigtableDataSettingsBuilder
+ *     .mutateRowSettings()
+ *     .setRetrySettings(
+ *         baseBigtableDataSettingsBuilder
+ *             .mutateRowSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BaseBigtableDataSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableDataSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return ((BigtableStubSettings) getStubSettings()).readRowsSettings(); + } + + /** Returns the object with the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings + sampleRowKeysSettings() { + return ((BigtableStubSettings) getStubSettings()).sampleRowKeysSettings(); + } + + /** Returns the object with the settings used for calls to mutateRow. */ + public UnaryCallSettings mutateRowSettings() { + return ((BigtableStubSettings) getStubSettings()).mutateRowSettings(); + } + + /** Returns the object with the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings mutateRowsSettings() { + return ((BigtableStubSettings) getStubSettings()).mutateRowsSettings(); + } + + /** Returns the object with the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings + checkAndMutateRowSettings() { + return ((BigtableStubSettings) getStubSettings()).checkAndMutateRowSettings(); + } + + /** Returns the object with the settings used for calls to pingAndWarm. */ + public UnaryCallSettings pingAndWarmSettings() { + return ((BigtableStubSettings) getStubSettings()).pingAndWarmSettings(); + } + + /** Returns the object with the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings + readModifyWriteRowSettings() { + return ((BigtableStubSettings) getStubSettings()).readModifyWriteRowSettings(); + } + + /** + * Returns the object with the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return ((BigtableStubSettings) getStubSettings()) + .generateInitialChangeStreamPartitionsSettings(); + } + + /** Returns the object with the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings + readChangeStreamSettings() { + return ((BigtableStubSettings) getStubSettings()).readChangeStreamSettings(); + } + + public static final BaseBigtableDataSettings create(BigtableStubSettings stub) + throws IOException { + return new BaseBigtableDataSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableDataSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableDataSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableDataSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableStubSettings.newBuilder()); + } + + public BigtableStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

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

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

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

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

Sample for BaseBigtableDataClient: + * + *

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

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

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

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

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

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

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

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

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

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableStub extends BigtableStub { + private static final MethodDescriptor + readRowsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadRows") + .setRequestMarshaller(ProtoUtils.marshaller(ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ReadRowsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + sampleRowKeysMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/SampleRowKeys") + .setRequestMarshaller( + ProtoUtils.marshaller(SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(SampleRowKeysResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + mutateRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/MutateRow") + .setRequestMarshaller(ProtoUtils.marshaller(MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MutateRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + mutateRowsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/MutateRows") + .setRequestMarshaller(ProtoUtils.marshaller(MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MutateRowsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + checkAndMutateRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/CheckAndMutateRow") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckAndMutateRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + pingAndWarmMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/PingAndWarm") + .setRequestMarshaller(ProtoUtils.marshaller(PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(PingAndWarmResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readModifyWriteRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadModifyWriteRow") + .setRequestMarshaller( + ProtoUtils.marshaller(ReadModifyWriteRowRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ReadModifyWriteRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + "google.bigtable.v2.Bigtable/GenerateInitialChangeStreamPartitions") + .setRequestMarshaller( + ProtoUtils.marshaller( + GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readChangeStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadChangeStream") + .setRequestMarshaller( + ProtoUtils.marshaller(ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ReadChangeStreamResponse.getDefaultInstance())) + .build(); + + private final ServerStreamingCallable readRowsCallable; + private final ServerStreamingCallable + sampleRowKeysCallable; + private final UnaryCallable mutateRowCallable; + private final ServerStreamingCallable mutateRowsCallable; + private final UnaryCallable + checkAndMutateRowCallable; + private final UnaryCallable pingAndWarmCallable; + private final UnaryCallable + readModifyWriteRowCallable; + private final ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable; + private final ServerStreamingCallable + readChangeStreamCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + private static final PathTemplate READ_ROWS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate READ_ROWS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate SAMPLE_ROW_KEYS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate SAMPLE_ROW_KEYS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate MUTATE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate MUTATE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate MUTATE_ROWS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate MUTATE_ROWS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate PING_AND_WARM_0_PATH_TEMPLATE = + PathTemplate.create("{name=projects/*/instances/*}"); + private static final PathTemplate PING_AND_WARM_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + + public static final GrpcBigtableStub create(BigtableStubSettings settings) throws IOException { + return new GrpcBigtableStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableStub create(ClientContext clientContext) throws IOException { + return new GrpcBigtableStub(BigtableStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableStub( + BigtableStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcBigtableStub(BigtableStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcBigtableCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcBigtableStub( + BigtableStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings readRowsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readRowsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", READ_ROWS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", READ_ROWS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings sampleRowKeysTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(sampleRowKeysMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), "table_name", SAMPLE_ROW_KEYS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", SAMPLE_ROW_KEYS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings mutateRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(mutateRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", MUTATE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", MUTATE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings mutateRowsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(mutateRowsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", MUTATE_ROWS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", MUTATE_ROWS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings + checkAndMutateRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkAndMutateRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "table_name", + CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), + "app_profile_id", + CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings pingAndWarmTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(pingAndWarmMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getName(), "name", PING_AND_WARM_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", PING_AND_WARM_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings + readModifyWriteRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readModifyWriteRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "table_name", + READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), + "app_profile_id", + READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(generateInitialChangeStreamPartitionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + readChangeStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readChangeStreamMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + + this.readRowsCallable = + callableFactory.createServerStreamingCallable( + readRowsTransportSettings, settings.readRowsSettings(), clientContext); + this.sampleRowKeysCallable = + callableFactory.createServerStreamingCallable( + sampleRowKeysTransportSettings, settings.sampleRowKeysSettings(), clientContext); + this.mutateRowCallable = + callableFactory.createUnaryCallable( + mutateRowTransportSettings, settings.mutateRowSettings(), clientContext); + this.mutateRowsCallable = + callableFactory.createServerStreamingCallable( + mutateRowsTransportSettings, settings.mutateRowsSettings(), clientContext); + this.checkAndMutateRowCallable = + callableFactory.createUnaryCallable( + checkAndMutateRowTransportSettings, + settings.checkAndMutateRowSettings(), + clientContext); + this.pingAndWarmCallable = + callableFactory.createUnaryCallable( + pingAndWarmTransportSettings, settings.pingAndWarmSettings(), clientContext); + this.readModifyWriteRowCallable = + callableFactory.createUnaryCallable( + readModifyWriteRowTransportSettings, + settings.readModifyWriteRowSettings(), + clientContext); + this.generateInitialChangeStreamPartitionsCallable = + callableFactory.createServerStreamingCallable( + generateInitialChangeStreamPartitionsTransportSettings, + settings.generateInitialChangeStreamPartitionsSettings(), + clientContext); + this.readChangeStreamCallable = + callableFactory.createServerStreamingCallable( + readChangeStreamTransportSettings, settings.readChangeStreamSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public ServerStreamingCallable readRowsCallable() { + return readRowsCallable; + } + + @Override + public ServerStreamingCallable + sampleRowKeysCallable() { + return sampleRowKeysCallable; + } + + @Override + public UnaryCallable mutateRowCallable() { + return mutateRowCallable; + } + + @Override + public ServerStreamingCallable mutateRowsCallable() { + return mutateRowsCallable; + } + + @Override + public UnaryCallable + checkAndMutateRowCallable() { + return checkAndMutateRowCallable; + } + + @Override + public UnaryCallable pingAndWarmCallable() { + return pingAndWarmCallable; + } + + @Override + public UnaryCallable + readModifyWriteRowCallable() { + return readModifyWriteRowCallable; + } + + @Override + public ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + return generateInitialChangeStreamPartitionsCallable; + } + + @Override + public ServerStreamingCallable + readChangeStreamCallable() { + return readChangeStreamCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java new file mode 100644 index 0000000000..8cf0894d4b --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java @@ -0,0 +1,1782 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.AppProfileName; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.LocationName; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.ProjectName; +import com.google.bigtable.admin.v2.StorageType; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminClientTest { + private static MockBigtableInstanceAdmin mockBigtableInstanceAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableInstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtableInstanceAdmin = new MockBigtableInstanceAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList(mockBigtableInstanceAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableInstanceAdminSettings settings = + BaseBigtableInstanceAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableInstanceAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + + Instance actualResponse = + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(clusters, actualRequest.getClustersMap()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + + Instance actualResponse = + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(clusters, actualRequest.getClustersMap()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .addAllInstances(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesResponse actualResponse = client.listInstances(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest2() throws Exception { + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .addAllInstances(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancesResponse actualResponse = client.listInstances(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + Instance request = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + + Instance actualResponse = client.updateInstance(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + Instance actualRequest = ((Instance) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getDisplayName(), actualRequest.getDisplayName()); + Assert.assertEquals(request.getState(), actualRequest.getState()); + Assert.assertEquals(request.getType(), actualRequest.getType()); + Assert.assertEquals(request.getLabelsMap(), actualRequest.getLabelsMap()); + Assert.assertEquals(request.getCreateTime(), actualRequest.getCreateTime()); + Assert.assertEquals(request.getSatisfiesPzs(), actualRequest.getSatisfiesPzs()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Instance request = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + client.updateInstance(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partialUpdateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("partialUpdateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Instance instance = Instance.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.partialUpdateInstanceAsync(instance, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartialUpdateInstanceRequest actualRequest = + ((PartialUpdateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partialUpdateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Instance instance = Instance.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.partialUpdateInstanceAsync(instance, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteInstanceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstance(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + + Cluster actualResponse = client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateClusterRequest actualRequest = ((CreateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + + Cluster actualResponse = client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateClusterRequest actualRequest = ((CreateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + Cluster actualResponse = client.getCluster(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetClusterRequest actualRequest = ((GetClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.getCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Cluster actualResponse = client.getCluster(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetClusterRequest actualRequest = ((GetClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listClustersTest() throws Exception { + ListClustersResponse expectedResponse = + ListClustersResponse.newBuilder() + .addAllClusters(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListClustersResponse actualResponse = client.listClusters(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = ((ListClustersRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listClustersExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listClustersTest2() throws Exception { + ListClustersResponse expectedResponse = + ListClustersResponse.newBuilder() + .addAllClusters(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListClustersResponse actualResponse = client.listClusters(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = ((ListClustersRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listClustersExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Cluster request = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + + Cluster actualResponse = client.updateClusterAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + Cluster actualRequest = ((Cluster) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getLocation(), actualRequest.getLocation()); + Assert.assertEquals(request.getState(), actualRequest.getState()); + Assert.assertEquals(request.getServeNodes(), actualRequest.getServeNodes()); + Assert.assertEquals(request.getClusterConfig(), actualRequest.getClusterConfig()); + Assert.assertEquals(request.getDefaultStorageType(), actualRequest.getDefaultStorageType()); + Assert.assertEquals(request.getEncryptionConfig(), actualRequest.getEncryptionConfig()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Cluster request = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + client.updateClusterAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void partialUpdateClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("partialUpdateClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Cluster cluster = Cluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Cluster actualResponse = client.partialUpdateClusterAsync(cluster, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartialUpdateClusterRequest actualRequest = + ((PartialUpdateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partialUpdateClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Cluster cluster = Cluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.partialUpdateClusterAsync(cluster, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteClusterTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + client.deleteCluster(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = ((DeleteClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.deleteCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteClusterTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteCluster(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = ((DeleteClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + + AppProfile actualResponse = client.createAppProfile(parent, appProfileId, appProfile); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateAppProfileRequest actualRequest = ((CreateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + client.createAppProfile(parent, appProfileId, appProfile); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAppProfileTest2() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + + AppProfile actualResponse = client.createAppProfile(parent, appProfileId, appProfile); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateAppProfileRequest actualRequest = ((CreateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + client.createAppProfile(parent, appProfileId, appProfile); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + + AppProfile actualResponse = client.getAppProfile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAppProfileRequest actualRequest = ((GetAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + client.getAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAppProfileTest2() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + AppProfile actualResponse = client.getAppProfile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAppProfileRequest actualRequest = ((GetAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAppProfilesTest() throws Exception { + AppProfile responsesElement = AppProfile.newBuilder().build(); + ListAppProfilesResponse expectedResponse = + ListAppProfilesResponse.newBuilder() + .setNextPageToken("") + .addAllAppProfiles(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListAppProfilesPagedResponse pagedListResponse = client.listAppProfiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAppProfilesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListAppProfilesRequest actualRequest = ((ListAppProfilesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listAppProfilesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listAppProfiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAppProfilesTest2() throws Exception { + AppProfile responsesElement = AppProfile.newBuilder().build(); + ListAppProfilesResponse expectedResponse = + ListAppProfilesResponse.newBuilder() + .setNextPageToken("") + .addAllAppProfiles(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListAppProfilesPagedResponse pagedListResponse = client.listAppProfiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAppProfilesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListAppProfilesRequest actualRequest = ((ListAppProfilesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listAppProfilesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listAppProfiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAppProfileTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + AppProfile appProfile = AppProfile.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AppProfile actualResponse = client.updateAppProfileAsync(appProfile, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateAppProfileRequest actualRequest = ((UpdateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfile appProfile = AppProfile.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAppProfileAsync(appProfile, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteAppProfileTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + + client.deleteAppProfile(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteAppProfileRequest actualRequest = ((DeleteAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + client.deleteAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAppProfileTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteAppProfile(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteAppProfileRequest actualRequest = ((DeleteAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listHotTabletsTest() throws Exception { + HotTablet responsesElement = HotTablet.newBuilder().build(); + ListHotTabletsResponse expectedResponse = + ListHotTabletsResponse.newBuilder() + .setNextPageToken("") + .addAllHotTablets(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListHotTabletsPagedResponse pagedListResponse = client.listHotTablets(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getHotTabletsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListHotTabletsRequest actualRequest = ((ListHotTabletsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listHotTabletsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listHotTablets(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listHotTabletsTest2() throws Exception { + HotTablet responsesElement = HotTablet.newBuilder().build(); + ListHotTabletsResponse expectedResponse = + ListHotTabletsResponse.newBuilder() + .setNextPageToken("") + .addAllHotTablets(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListHotTabletsPagedResponse pagedListResponse = client.listHotTablets(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getHotTabletsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListHotTabletsRequest actualRequest = ((ListHotTabletsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listHotTabletsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listHotTablets(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java new file mode 100644 index 0000000000..3fd61b52d6 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java @@ -0,0 +1,2375 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.BackupName; +import com.google.bigtable.admin.v2.ChangeStreamConfig; +import com.google.bigtable.admin.v2.CheckConsistencyRequest; +import com.google.bigtable.admin.v2.CheckConsistencyResponse; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.ColumnFamily; +import com.google.bigtable.admin.v2.CreateBackupRequest; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.EncryptionInfo; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreInfo; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotName; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.TableName; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminClientTest { + private static MockBigtableTableAdmin mockBigtableTableAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableTableAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtableTableAdmin = new MockBigtableTableAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockBigtableTableAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableTableAdminSettings settings = + BaseBigtableTableAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableTableAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + + Table actualResponse = client.createTable(parent, tableId, table); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + client.createTable(parent, tableId, table); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + + Table actualResponse = client.createTable(parent, tableId, table); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + client.createTable(parent, tableId, table); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTableFromSnapshotTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createTableFromSnapshotTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createTableFromSnapshotTest3() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createTableFromSnapshotTest4() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void listTablesTest() throws Exception { + Table responsesElement = Table.newBuilder().build(); + ListTablesResponse expectedResponse = + ListTablesResponse.newBuilder() + .setNextPageToken("") + .addAllTables(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListTablesPagedResponse pagedListResponse = client.listTables(parent); + + List

resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listTablesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listTables(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTablesTest2() throws Exception { + Table responsesElement = Table.newBuilder().build(); + ListTablesResponse expectedResponse = + ListTablesResponse.newBuilder() + .setNextPageToken("") + .addAllTables(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListTablesPagedResponse pagedListResponse = client.listTables(parent); + + List
resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listTablesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listTables(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + Table actualResponse = client.getTable(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.getTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Table actualResponse = client.getTable(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + Table table = Table.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Table actualResponse = client.updateTableAsync(table, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateTableRequest actualRequest = ((UpdateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + Table table = Table.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateTableAsync(table, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteTableTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + client.deleteTable(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.deleteTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTableTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteTable(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void undeleteTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeleteTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + Table actualResponse = client.undeleteTableAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void undeleteTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.undeleteTableAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void undeleteTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeleteTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + + Table actualResponse = client.undeleteTableAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void undeleteTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.undeleteTableAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void modifyColumnFamiliesTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + List modifications = new ArrayList<>(); + + Table actualResponse = client.modifyColumnFamilies(name, modifications); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ModifyColumnFamiliesRequest actualRequest = + ((ModifyColumnFamiliesRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(modifications, actualRequest.getModificationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void modifyColumnFamiliesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + List modifications = new ArrayList<>(); + client.modifyColumnFamilies(name, modifications); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void modifyColumnFamiliesTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + List modifications = new ArrayList<>(); + + Table actualResponse = client.modifyColumnFamilies(name, modifications); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ModifyColumnFamiliesRequest actualRequest = + ((ModifyColumnFamiliesRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(modifications, actualRequest.getModificationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void modifyColumnFamiliesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + List modifications = new ArrayList<>(); + client.modifyColumnFamilies(name, modifications); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropRowRangeTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + DropRowRangeRequest request = + DropRowRangeRequest.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .build(); + + client.dropRowRange(request); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropRowRangeRequest actualRequest = ((DropRowRangeRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRowKeyPrefix(), actualRequest.getRowKeyPrefix()); + Assert.assertEquals( + request.getDeleteAllDataFromTable(), actualRequest.getDeleteAllDataFromTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropRowRangeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + DropRowRangeRequest request = + DropRowRangeRequest.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .build(); + client.dropRowRange(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateConsistencyTokenTest() throws Exception { + GenerateConsistencyTokenResponse expectedResponse = + GenerateConsistencyTokenResponse.newBuilder() + .setConsistencyToken("consistencyToken-1985152319") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateConsistencyTokenRequest actualRequest = + ((GenerateConsistencyTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateConsistencyTokenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.generateConsistencyToken(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateConsistencyTokenTest2() throws Exception { + GenerateConsistencyTokenResponse expectedResponse = + GenerateConsistencyTokenResponse.newBuilder() + .setConsistencyToken("consistencyToken-1985152319") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateConsistencyTokenRequest actualRequest = + ((GenerateConsistencyTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateConsistencyTokenExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.generateConsistencyToken(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkConsistencyTest() throws Exception { + CheckConsistencyResponse expectedResponse = + CheckConsistencyResponse.newBuilder().setConsistent(true).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String consistencyToken = "consistencyToken-1985152319"; + + CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkConsistencyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String consistencyToken = "consistencyToken-1985152319"; + client.checkConsistency(name, consistencyToken); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkConsistencyTest2() throws Exception { + CheckConsistencyResponse expectedResponse = + CheckConsistencyResponse.newBuilder().setConsistent(true).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + String consistencyToken = "consistencyToken-1985152319"; + + CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkConsistencyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + String consistencyToken = "consistencyToken-1985152319"; + client.checkConsistency(name, consistencyToken); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void snapshotTableTest() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void snapshotTableTest2() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void snapshotTableTest3() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void snapshotTableTest4() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getSnapshotTest() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Snapshot actualResponse = client.getSnapshot(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.getSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSnapshotTest2() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Snapshot actualResponse = client.getSnapshot(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSnapshotsTest() throws Exception { + Snapshot responsesElement = Snapshot.newBuilder().build(); + ListSnapshotsResponse expectedResponse = + ListSnapshotsResponse.newBuilder() + .setNextPageToken("") + .addAllSnapshots(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSnapshotsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listSnapshots(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSnapshotsTest2() throws Exception { + Snapshot responsesElement = Snapshot.newBuilder().build(); + ListSnapshotsResponse expectedResponse = + ListSnapshotsResponse.newBuilder() + .setNextPageToken("") + .addAllSnapshots(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSnapshotsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listSnapshots(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSnapshotTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + client.deleteSnapshot(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.deleteSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSnapshotTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteSnapshot(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) + .setSourceTable("sourceTable-95372173") + .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()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + RestoreTableRequest request = + RestoreTableRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setTableId("tableId-1552905847") + .build(); + + Table actualResponse = client.restoreTableAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreTableRequest actualRequest = ((RestoreTableRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getTableId(), actualRequest.getTableId()); + Assert.assertEquals(request.getBackup(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + RestoreTableRequest request = + RestoreTableRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setTableId("tableId-1552905847") + .build(); + client.restoreTableAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java new file mode 100644 index 0000000000..938277bdd8 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableInstanceAdmin implements MockGrpcService { + private final MockBigtableInstanceAdminImpl serviceImpl; + + public MockBigtableInstanceAdmin() { + serviceImpl = new MockBigtableInstanceAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java new file mode 100644 index 0000000000..16df574865 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java @@ -0,0 +1,525 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.BigtableInstanceAdminGrpc.BigtableInstanceAdminImplBase; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableInstanceAdminImpl extends BigtableInstanceAdminImplBase { + private List requests; + private Queue responses; + + public MockBigtableInstanceAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void createInstance( + CreateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstance(GetInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstances( + ListInstancesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstancesResponse) { + requests.add(request); + responseObserver.onNext(((ListInstancesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstances, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstancesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstance(Instance request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partialUpdateInstance( + PartialUpdateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartialUpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstance( + DeleteInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createCluster( + CreateClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getCluster(GetClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Cluster) { + requests.add(request); + responseObserver.onNext(((Cluster) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Cluster.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listClusters( + ListClustersRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListClustersResponse) { + requests.add(request); + responseObserver.onNext(((ListClustersResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListClusters, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListClustersResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateCluster(Cluster request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partialUpdateCluster( + PartialUpdateClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PartialUpdateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteCluster(DeleteClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createAppProfile( + CreateAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AppProfile) { + requests.add(request); + responseObserver.onNext(((AppProfile) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AppProfile.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getAppProfile( + GetAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AppProfile) { + requests.add(request); + responseObserver.onNext(((AppProfile) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AppProfile.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listAppProfiles( + ListAppProfilesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListAppProfilesResponse) { + requests.add(request); + responseObserver.onNext(((ListAppProfilesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListAppProfiles, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListAppProfilesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateAppProfile( + UpdateAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteAppProfile( + DeleteAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listHotTablets( + ListHotTabletsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListHotTabletsResponse) { + requests.add(request); + responseObserver.onNext(((ListHotTabletsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListHotTablets, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListHotTabletsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java new file mode 100644 index 0000000000..3fe7174e72 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableTableAdmin implements MockGrpcService { + private final MockBigtableTableAdminImpl serviceImpl; + + public MockBigtableTableAdmin() { + serviceImpl = new MockBigtableTableAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java new file mode 100644 index 0000000000..6d5cc98a1d --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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..8e82819deb --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -0,0 +1,1084 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.grpc.testing.MockStreamObserver; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StatusCode; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.InstanceName; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.Mutation; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.RateLimitInfo; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadModifyWriteRule; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.RequestStats; +import com.google.bigtable.v2.Row; +import com.google.bigtable.v2.RowFilter; +import com.google.bigtable.v2.RowSet; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.bigtable.v2.StreamPartition; +import com.google.bigtable.v2.TableName; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableDataClientTest { + private static MockBigtable mockBigtable; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableDataClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtable = new MockBigtable(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockBigtable)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableDataSettings settings = + BaseBigtableDataSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableDataClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void readRowsTest() throws Exception { + ReadRowsResponse expectedResponse = + ReadRowsResponse.newBuilder() + .addAllChunks(new ArrayList()) + .setLastScannedRowKey(ByteString.EMPTY) + .setRequestStats(RequestStats.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setRows(RowSet.newBuilder().build()) + .setFilter(RowFilter.newBuilder().build()) + .setRowsLimit(-944199211) + .setReversed(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.readRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void readRowsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setRows(RowSet.newBuilder().build()) + .setFilter(RowFilter.newBuilder().build()) + .setRowsLimit(-944199211) + .setReversed(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.readRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void sampleRowKeysTest() throws Exception { + SampleRowKeysResponse expectedResponse = + SampleRowKeysResponse.newBuilder() + .setRowKey(ByteString.EMPTY) + .setOffsetBytes(889884095) + .build(); + mockBigtable.addResponse(expectedResponse); + SampleRowKeysRequest request = + SampleRowKeysRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.sampleRowKeysCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void sampleRowKeysExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + SampleRowKeysRequest request = + SampleRowKeysRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.sampleRowKeysCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void mutateRowTest() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.mutateRow(tableName, rowKey, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest2() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.mutateRow(tableName, rowKey, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest3() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest4() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowsTest() throws Exception { + MutateRowsResponse expectedResponse = + MutateRowsResponse.newBuilder() + .addAllEntries(new ArrayList()) + .setRateLimitInfo(RateLimitInfo.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + MutateRowsRequest request = + MutateRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .addAllEntries(new ArrayList()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.mutateRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void mutateRowsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + MutateRowsRequest request = + MutateRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .addAllEntries(new ArrayList()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.mutateRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void checkAndMutateRowTest() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest2() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest3() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest4() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + PingAndWarmResponse actualResponse = client.pingAndWarm(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.pingAndWarm(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest2() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String name = "name3373707"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String name = "name3373707"; + client.pingAndWarm(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest3() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + client.pingAndWarm(name, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest4() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String name = "name3373707"; + String appProfileId = "appProfileId704923523"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String name = "name3373707"; + String appProfileId = "appProfileId704923523"; + client.pingAndWarm(name, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + + ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + client.readModifyWriteRow(tableName, rowKey, rules); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest2() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + + ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + client.readModifyWriteRow(tableName, rowKey, rules); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest3() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + ReadModifyWriteRowResponse actualResponse = + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest4() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + ReadModifyWriteRowResponse actualResponse = + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateInitialChangeStreamPartitionsTest() throws Exception { + GenerateInitialChangeStreamPartitionsResponse expectedResponse = + GenerateInitialChangeStreamPartitionsResponse.newBuilder() + .setPartition(StreamPartition.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + GenerateInitialChangeStreamPartitionsRequest request = + GenerateInitialChangeStreamPartitionsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = + new MockStreamObserver<>(); + + ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + callable = client.generateInitialChangeStreamPartitionsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = + responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void generateInitialChangeStreamPartitionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + GenerateInitialChangeStreamPartitionsRequest request = + GenerateInitialChangeStreamPartitionsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = + new MockStreamObserver<>(); + + ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + callable = client.generateInitialChangeStreamPartitionsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = + responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void readChangeStreamTest() throws Exception { + ReadChangeStreamResponse expectedResponse = ReadChangeStreamResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + ReadChangeStreamRequest request = + ReadChangeStreamRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setPartition(StreamPartition.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setHeartbeatDuration(Duration.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.readChangeStreamCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void readChangeStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + ReadChangeStreamRequest request = + ReadChangeStreamRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setPartition(StreamPartition.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setHeartbeatDuration(Duration.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.readChangeStreamCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java new file mode 100644 index 0000000000..24940b75bd --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtable implements MockGrpcService { + private final MockBigtableImpl serviceImpl; + + public MockBigtable() { + serviceImpl = new MockBigtableImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java new file mode 100644 index 0000000000..96b734953f --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java @@ -0,0 +1,269 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.v2.BigtableGrpc.BigtableImplBase; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableImpl extends BigtableImplBase { + private List requests; + private Queue responses; + + public MockBigtableImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void readRows(ReadRowsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadRowsResponse) { + requests.add(request); + responseObserver.onNext(((ReadRowsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadRows, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadRowsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void sampleRowKeys( + SampleRowKeysRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SampleRowKeysResponse) { + requests.add(request); + responseObserver.onNext(((SampleRowKeysResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SampleRowKeys, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SampleRowKeysResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void mutateRow( + MutateRowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MutateRowResponse) { + requests.add(request); + responseObserver.onNext(((MutateRowResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MutateRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MutateRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void mutateRows( + MutateRowsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MutateRowsResponse) { + requests.add(request); + responseObserver.onNext(((MutateRowsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MutateRows, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MutateRowsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void checkAndMutateRow( + CheckAndMutateRowRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CheckAndMutateRowResponse) { + requests.add(request); + responseObserver.onNext(((CheckAndMutateRowResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CheckAndMutateRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CheckAndMutateRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void pingAndWarm( + PingAndWarmRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PingAndWarmResponse) { + requests.add(request); + responseObserver.onNext(((PingAndWarmResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PingAndWarm, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PingAndWarmResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readModifyWriteRow( + ReadModifyWriteRowRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadModifyWriteRowResponse) { + requests.add(request); + responseObserver.onNext(((ReadModifyWriteRowResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadModifyWriteRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadModifyWriteRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void generateInitialChangeStreamPartitions( + GenerateInitialChangeStreamPartitionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateInitialChangeStreamPartitionsResponse) { + requests.add(request); + responseObserver.onNext(((GenerateInitialChangeStreamPartitionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GenerateInitialChangeStreamPartitions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateInitialChangeStreamPartitionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readChangeStream( + ReadChangeStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadChangeStreamResponse) { + requests.add(request); + responseObserver.onNext(((ReadChangeStreamResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadChangeStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadChangeStreamResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java new file mode 100644 index 0000000000..b16609dc04 --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java @@ -0,0 +1,2167 @@ +package com.google.bigtable.admin.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+ * Clusters. Provides access to the Instance and Cluster schemas only, not the
+ * tables' metadata or data stored in those tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/admin/v2/bigtable_instance_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableInstanceAdminGrpc { + + private BigtableInstanceAdminGrpc() {} + + public static final String SERVICE_NAME = "google.bigtable.admin.v2.BigtableInstanceAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.bigtable.admin.v2.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getCreateInstanceMethod = getCreateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.bigtable.admin.v2.GetInstanceRequest.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getGetInstanceMethod = getGetInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.bigtable.admin.v2.ListInstancesRequest.class, + responseType = com.google.bigtable.admin.v2.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + BigtableInstanceAdminGrpc.getListInstancesMethod = getListInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.bigtable.admin.v2.Instance.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartialUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateInstance", + requestType = com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartialUpdateInstanceMethod() { + io.grpc.MethodDescriptor getPartialUpdateInstanceMethod; + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod = getPartialUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartialUpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateInstance")) + .build(); + } + } + } + return getPartialUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.bigtable.admin.v2.DeleteInstanceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.bigtable.admin.v2.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.bigtable.admin.v2.GetClusterRequest.class, + responseType = com.google.bigtable.admin.v2.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + BigtableInstanceAdminGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.bigtable.admin.v2.ListClustersRequest.class, + responseType = com.google.bigtable.admin.v2.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + BigtableInstanceAdminGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.bigtable.admin.v2.Cluster.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartialUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateCluster", + requestType = com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartialUpdateClusterMethod() { + io.grpc.MethodDescriptor getPartialUpdateClusterMethod; + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod = getPartialUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartialUpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateCluster")) + .build(); + } + } + } + return getPartialUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.bigtable.admin.v2.DeleteClusterRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAppProfile", + requestType = com.google.bigtable.admin.v2.CreateAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAppProfileMethod() { + io.grpc.MethodDescriptor getCreateAppProfileMethod; + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getCreateAppProfileMethod = getCreateAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateAppProfile")) + .build(); + } + } + } + return getCreateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAppProfile", + requestType = com.google.bigtable.admin.v2.GetAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAppProfileMethod() { + io.grpc.MethodDescriptor getGetAppProfileMethod; + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getGetAppProfileMethod = getGetAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetAppProfile")) + .build(); + } + } + } + return getGetAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAppProfilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAppProfiles", + requestType = com.google.bigtable.admin.v2.ListAppProfilesRequest.class, + responseType = com.google.bigtable.admin.v2.ListAppProfilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAppProfilesMethod() { + io.grpc.MethodDescriptor getListAppProfilesMethod; + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + BigtableInstanceAdminGrpc.getListAppProfilesMethod = getListAppProfilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAppProfiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListAppProfiles")) + .build(); + } + } + } + return getListAppProfilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAppProfile", + requestType = com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAppProfileMethod() { + io.grpc.MethodDescriptor getUpdateAppProfileMethod; + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateAppProfileMethod = getUpdateAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateAppProfile")) + .build(); + } + } + } + return getUpdateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAppProfile", + requestType = com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAppProfileMethod() { + io.grpc.MethodDescriptor getDeleteAppProfileMethod; + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteAppProfileMethod = getDeleteAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteAppProfile")) + .build(); + } + } + } + return getDeleteAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) == null) { + BigtableInstanceAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListHotTabletsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListHotTablets", + requestType = com.google.bigtable.admin.v2.ListHotTabletsRequest.class, + responseType = com.google.bigtable.admin.v2.ListHotTabletsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListHotTabletsMethod() { + io.grpc.MethodDescriptor getListHotTabletsMethod; + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + BigtableInstanceAdminGrpc.getListHotTabletsMethod = getListHotTabletsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHotTablets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListHotTablets")) + .build(); + } + } + } + return getListHotTabletsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BigtableInstanceAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + }; + return BigtableInstanceAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableInstanceAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + }; + return BigtableInstanceAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BigtableInstanceAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + }; + return BigtableInstanceAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + default void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + default void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + default void updateInstance(com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + default void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + default void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + default void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + default void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + default void updateCluster(com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + default void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + default void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + default void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAppProfileMethod(), responseObserver); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + default void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAppProfileMethod(), responseObserver); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + default void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAppProfilesMethod(), responseObserver); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + default void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAppProfileMethod(), responseObserver); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + default void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAppProfileMethod(), responseObserver); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + default void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListHotTabletsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static abstract class BigtableInstanceAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableInstanceAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableInstanceAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public void updateInstance(com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public void updateCluster(com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableInstanceAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListInstancesResponse listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance updateInstance(com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.protobuf.Empty deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.bigtable.admin.v2.Cluster getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListClustersResponse listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster(com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAppProfilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.longrunning.Operation updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListHotTabletsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableInstanceAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partialUpdateInstance( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partialUpdateCluster( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAppProfile( + com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAppProfile( + com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAppProfiles( + com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAppProfile( + com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAppProfile( + com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listHotTablets( + com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_INSTANCE = 0; + private static final int METHODID_GET_INSTANCE = 1; + private static final int METHODID_LIST_INSTANCES = 2; + private static final int METHODID_UPDATE_INSTANCE = 3; + private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; + private static final int METHODID_DELETE_INSTANCE = 5; + private static final int METHODID_CREATE_CLUSTER = 6; + private static final int METHODID_GET_CLUSTER = 7; + private static final int METHODID_LIST_CLUSTERS = 8; + private static final int METHODID_UPDATE_CLUSTER = 9; + private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; + private static final int METHODID_DELETE_CLUSTER = 11; + private static final int METHODID_CREATE_APP_PROFILE = 12; + private static final int METHODID_GET_APP_PROFILE = 13; + private static final int METHODID_LIST_APP_PROFILES = 14; + private static final int METHODID_UPDATE_APP_PROFILE = 15; + private static final int METHODID_DELETE_APP_PROFILE = 16; + private static final int METHODID_GET_IAM_POLICY = 17; + private static final int METHODID_SET_IAM_POLICY = 18; + private static final int METHODID_TEST_IAM_PERMISSIONS = 19; + private static final int METHODID_LIST_HOT_TABLETS = 20; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.bigtable.admin.v2.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.bigtable.admin.v2.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.bigtable.admin.v2.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.bigtable.admin.v2.Instance) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_INSTANCE: + serviceImpl.partialUpdateInstance((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.bigtable.admin.v2.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.bigtable.admin.v2.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.bigtable.admin.v2.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.bigtable.admin.v2.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.bigtable.admin.v2.Cluster) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_CLUSTER: + serviceImpl.partialUpdateCluster((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.bigtable.admin.v2.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_APP_PROFILE: + serviceImpl.createAppProfile((com.google.bigtable.admin.v2.CreateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_APP_PROFILE: + serviceImpl.getAppProfile((com.google.bigtable.admin.v2.GetAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_APP_PROFILES: + serviceImpl.listAppProfiles((com.google.bigtable.admin.v2.ListAppProfilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_APP_PROFILE: + serviceImpl.updateAppProfile((com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_APP_PROFILE: + serviceImpl.deleteAppProfile((com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_HOT_TABLETS: + serviceImpl.listHotTablets((com.google.bigtable.admin.v2.ListHotTabletsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetInstanceRequest, + com.google.bigtable.admin.v2.Instance>( + service, METHODID_GET_INSTANCE))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getPartialUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_PARTIAL_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteInstanceRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CLUSTER))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetClusterRequest, + com.google.bigtable.admin.v2.Cluster>( + service, METHODID_GET_CLUSTER))) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Cluster, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getPartialUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_PARTIAL_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteClusterRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getCreateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + service, METHODID_CREATE_APP_PROFILE))) + .addMethod( + getGetAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + service, METHODID_GET_APP_PROFILE))) + .addMethod( + getListAppProfilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse>( + service, METHODID_LIST_APP_PROFILES))) + .addMethod( + getUpdateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_APP_PROFILE))) + .addMethod( + getDeleteAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_APP_PROFILE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getListHotTabletsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse>( + service, METHODID_LIST_HOT_TABLETS))) + .build(); + } + + private static abstract class BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableInstanceAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); + } + } + + private static final class BigtableInstanceAdminFileDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier { + BigtableInstanceAdminFileDescriptorSupplier() {} + } + + private static final class BigtableInstanceAdminMethodDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final 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/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java similarity index 50% rename from grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java rename to owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java index 35aefa6d88..d612113d29 100644 --- a/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 @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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
@@ -37,1104 +20,795 @@ 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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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) {
+  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();
+        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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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) {
+  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();
+        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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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) {
+  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();
+        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;
+  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<
-          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;
+  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();
+        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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  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<
-          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;
+  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();
+          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;
+  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
-      getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getGetIamPolicyMethod =
-              getGetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
-                      .build();
+          BigtableTableAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
+              .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
-      getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor
-        getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getSetIamPolicyMethod =
-              getSetIamPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.iam.v1.Policy.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
-                      .build();
+          BigtableTableAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
+              .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod;
+  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
-      getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.iam.v1.TestIamPermissionsRequest,
-            com.google.iam.v1.TestIamPermissionsResponse>
-        getTestIamPermissionsMethod;
-    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
-        == null) {
+  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();
+        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
+          BigtableTableAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
+              .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static BigtableTableAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigtableTableAdminStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigtableTableAdminStub(channel, callOptions);
-          }
-        };
+      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) {
+  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);
-          }
-        };
+      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) {
+  /**
+   * 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);
-          }
-        };
+      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
@@ -1144,24 +818,18 @@ public BigtableTableAdminFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - default void createTable( - com.google.bigtable.admin.v2.CreateTableRequest request, + default void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTableMethod(), 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.
@@ -1172,85 +840,62 @@ default void createTable(
      * policy.
      * 
*/ - default void createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + default void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTableFromSnapshotMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableFromSnapshotMethod(), responseObserver); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - default void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - default void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, + default void getTable(com.google.bigtable.admin.v2.GetTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); } /** - * - * *
      * Updates a specified table.
      * 
*/ - default void updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request, + default void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTableMethod(), responseObserver); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - default void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, + default void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTableMethod(), responseObserver); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - default void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, + default void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeleteTableMethod(), 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
@@ -1258,32 +903,24 @@ default void undeleteTable(
      * where only some modifications have taken effect.
      * 
*/ - default void modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + default void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getModifyColumnFamiliesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyColumnFamiliesMethod(), responseObserver); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - default void dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request, + default void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDropRowRangeMethod(), 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
@@ -1291,34 +928,24 @@ default void dropRowRange(
      * for 90 days.
      * 
*/ - default void generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateConsistencyTokenMethod(), responseObserver); + default void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConsistencyTokenMethod(), responseObserver); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - default void checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckConsistencyMethod(), responseObserver); + default void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckConsistencyMethod(), responseObserver); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1329,16 +956,12 @@ default void checkConsistency(
      * policy.
      * 
*/ - default void snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request, + default void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSnapshotTableMethod(), 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
@@ -1348,16 +971,12 @@ default void snapshotTable(
      * policy.
      * 
*/ - default void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, + default void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSnapshotMethod(), 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
@@ -1367,17 +986,12 @@ default void getSnapshot(
      * policy.
      * 
*/ - default void listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSnapshotsMethod(), responseObserver); + default void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSnapshotsMethod(), responseObserver); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1387,16 +1001,12 @@ default void listSnapshots(
      * policy.
      * 
*/ - default void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + default void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSnapshotMethod(), 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
@@ -1408,73 +1018,53 @@ default void deleteSnapshot(
      * creation and delete the backup.
      * 
*/ - default void createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request, + default void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - default void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, + default void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - default void updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request, + default void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - default void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, + default void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - default void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); + default void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); } /** - * - * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1486,81 +1076,63 @@ default void listBackups(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - default void restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request, + default void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreTableMethod(), 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.
      * 
*/ - default void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - default void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public abstract static class BigtableTableAdminImplBase + public static abstract class BigtableTableAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BigtableTableAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -1569,7 +1141,8 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class BigtableTableAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigtableTableAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigtableTableAdminStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1580,26 +1153,19 @@ protected BigtableTableAdminStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public void createTable( - com.google.bigtable.admin.v2.CreateTableRequest request, + public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1610,95 +1176,68 @@ public void createTable(
      * policy.
      * 
*/ - public void createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + public void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - public void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - public void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, + 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, + public void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, + public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, + public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1706,36 +1245,26 @@ public void undeleteTable(
      * where only some modifications have taken effect.
      * 
*/ - public void modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + public void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public void dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request, + public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1743,38 +1272,26 @@ public void dropRowRange(
      * for 90 days.
      * 
*/ - public void generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public void checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1785,18 +1302,13 @@ public void checkConsistency(
      * policy.
      * 
*/ - public void snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request, + public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1806,18 +1318,13 @@ public void snapshotTable(
      * policy.
      * 
*/ - public void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, + public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1827,19 +1334,13 @@ public void getSnapshot(
      * policy.
      * 
*/ - public void listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1849,18 +1350,13 @@ public void listSnapshots(
      * policy.
      * 
*/ - public void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1872,82 +1368,58 @@ public void deleteSnapshot(
      * creation and delete the backup.
      * 
*/ - public void createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request, + public void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, + 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, + public void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, + public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1959,71 +1431,51 @@ public void listBackups(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public void restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request, + 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); + 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, + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -2044,23 +1496,18 @@ protected BigtableTableAdminBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.bigtable.admin.v2.Table createTable( - com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.bigtable.admin.v2.Table createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -2071,80 +1518,62 @@ public com.google.bigtable.admin.v2.Table createTable(
      * policy.
      * 
*/ - public com.google.longrunning.Operation createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { + public com.google.longrunning.Operation createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableFromSnapshotMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.bigtable.admin.v2.ListTablesResponse listTables( - com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.bigtable.admin.v2.ListTablesResponse listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTablesMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.bigtable.admin.v2.Table getTable( - com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.bigtable.admin.v2.Table getTable(com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTableMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a specified table.
      * 
*/ - public com.google.longrunning.Operation updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.longrunning.Operation updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTableMethod(), getCallOptions(), request); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.protobuf.Empty deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.protobuf.Empty deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTableMethod(), getCallOptions(), request); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.longrunning.Operation undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.longrunning.Operation undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUndeleteTableMethod(), getCallOptions(), request); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -2152,30 +1581,24 @@ public com.google.longrunning.Operation undeleteTable(
      * where only some modifications have taken effect.
      * 
*/ - public com.google.bigtable.admin.v2.Table modifyColumnFamilies( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { + public com.google.bigtable.admin.v2.Table modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyColumnFamiliesMethod(), getCallOptions(), request); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.protobuf.Empty dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.protobuf.Empty dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropRowRangeMethod(), getCallOptions(), request); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -2183,30 +1606,24 @@ public com.google.protobuf.Empty dropRowRange(
      * for 90 days.
      * 
*/ - public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { + public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGenerateConsistencyTokenMethod(), getCallOptions(), request); } /** - * - * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCheckConsistencyMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -2217,15 +1634,12 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(
      * policy.
      * 
*/ - public com.google.longrunning.Operation snapshotTable( - com.google.bigtable.admin.v2.SnapshotTableRequest request) { + public com.google.longrunning.Operation snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSnapshotTableMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2235,15 +1649,12 @@ public com.google.longrunning.Operation snapshotTable(
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.Snapshot getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request) { + public com.google.bigtable.admin.v2.Snapshot getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSnapshotMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2253,15 +1664,12 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshot(
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots( - com.google.bigtable.admin.v2.ListSnapshotsRequest request) { + public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSnapshotsMethod(), getCallOptions(), request); } /** - * - * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2271,15 +1679,12 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(
      * policy.
      * 
*/ - public com.google.protobuf.Empty deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { + public com.google.protobuf.Empty deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSnapshotMethod(), getCallOptions(), request); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -2291,68 +1696,53 @@ public com.google.protobuf.Empty deleteSnapshot(
      * creation and delete the backup.
      * 
*/ - public com.google.longrunning.Operation createBackup( - com.google.bigtable.admin.v2.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.bigtable.admin.v2.Backup getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.bigtable.admin.v2.Backup updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.protobuf.Empty deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.bigtable.admin.v2.ListBackupsResponse listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** - * - * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -2364,15 +1754,12 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public com.google.longrunning.Operation restoreTable( - com.google.bigtable.admin.v2.RestoreTableRequest request) { + public com.google.longrunning.Operation restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreTableMethod(), getCallOptions(), request); } /** - * - * *
      * 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
@@ -2385,8 +1772,6 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
@@ -2398,14 +1783,11 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
-     *
-     *
      * 
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } @@ -2413,7 +1795,6 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableTableAdmin. - * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -2422,7 +1803,8 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
    */
   public static final class BigtableTableAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigtableTableAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigtableTableAdminFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -2433,23 +1815,19 @@ protected BigtableTableAdminFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTable( + com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -2460,82 +1838,68 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createTableFromSnapshot( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { + public com.google.common.util.concurrent.ListenableFuture createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListTablesResponse> - listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { + 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) { + public com.google.common.util.concurrent.ListenableFuture getTable( + com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTableMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request); } /** - * - * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request); } /** - * - * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request); } /** - * - * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -2543,30 +1907,26 @@ protected BigtableTableAdminFutureStub build(
      * where only some modifications have taken effect.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { + public com.google.common.util.concurrent.ListenableFuture modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request); } /** - * - * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.common.util.concurrent.ListenableFuture dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request); } /** - * - * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -2574,33 +1934,26 @@ protected BigtableTableAdminFutureStub build(
      * for 90 days.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse> - generateConsistencyToken( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { + 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< - com.google.bigtable.admin.v2.CheckConsistencyResponse> - checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest 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.
@@ -2611,15 +1964,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2629,15 +1980,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) { + public com.google.common.util.concurrent.ListenableFuture getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2647,16 +1996,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListSnapshotsResponse> - listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) { + 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
@@ -2666,15 +2012,13 @@ protected BigtableTableAdminFutureStub build(
      * policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request); } /** - * - * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -2686,69 +2030,58 @@ protected BigtableTableAdminFutureStub build(
      * creation and delete the backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** - * - * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListBackupsResponse> - listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { + 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
@@ -2760,51 +2093,44 @@ protected BigtableTableAdminFutureStub build(
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRestoreTableMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } @@ -2835,11 +2161,11 @@ protected BigtableTableAdminFutureStub build( 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 static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -2853,132 +2179,100 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_TABLE: - serviceImpl.createTable( - (com.google.bigtable.admin.v2.CreateTableRequest) request, + serviceImpl.createTable((com.google.bigtable.admin.v2.CreateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_TABLE_FROM_SNAPSHOT: - serviceImpl.createTableFromSnapshot( - (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, + serviceImpl.createTableFromSnapshot((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TABLES: - serviceImpl.listTables( - (com.google.bigtable.admin.v2.ListTablesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listTables((com.google.bigtable.admin.v2.ListTablesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TABLE: - serviceImpl.getTable( - (com.google.bigtable.admin.v2.GetTableRequest) request, + serviceImpl.getTable((com.google.bigtable.admin.v2.GetTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_TABLE: - serviceImpl.updateTable( - (com.google.bigtable.admin.v2.UpdateTableRequest) request, + serviceImpl.updateTable((com.google.bigtable.admin.v2.UpdateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_TABLE: - serviceImpl.deleteTable( - (com.google.bigtable.admin.v2.DeleteTableRequest) request, + serviceImpl.deleteTable((com.google.bigtable.admin.v2.DeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNDELETE_TABLE: - serviceImpl.undeleteTable( - (com.google.bigtable.admin.v2.UndeleteTableRequest) request, + serviceImpl.undeleteTable((com.google.bigtable.admin.v2.UndeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_COLUMN_FAMILIES: - serviceImpl.modifyColumnFamilies( - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, + serviceImpl.modifyColumnFamilies((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_ROW_RANGE: - serviceImpl.dropRowRange( - (com.google.bigtable.admin.v2.DropRowRangeRequest) request, + serviceImpl.dropRowRange((com.google.bigtable.admin.v2.DropRowRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GENERATE_CONSISTENCY_TOKEN: - serviceImpl.generateConsistencyToken( - (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, - (io.grpc.stub.StreamObserver< - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>) - responseObserver); + 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); + serviceImpl.checkConsistency((com.google.bigtable.admin.v2.CheckConsistencyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SNAPSHOT_TABLE: - serviceImpl.snapshotTable( - (com.google.bigtable.admin.v2.SnapshotTableRequest) request, + serviceImpl.snapshotTable((com.google.bigtable.admin.v2.SnapshotTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SNAPSHOT: - serviceImpl.getSnapshot( - (com.google.bigtable.admin.v2.GetSnapshotRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getSnapshot((com.google.bigtable.admin.v2.GetSnapshotRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SNAPSHOTS: - serviceImpl.listSnapshots( - (com.google.bigtable.admin.v2.ListSnapshotsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listSnapshots((com.google.bigtable.admin.v2.ListSnapshotsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_SNAPSHOT: - serviceImpl.deleteSnapshot( - (com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, + serviceImpl.deleteSnapshot((com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.bigtable.admin.v2.CreateBackupRequest) request, + serviceImpl.createBackup((com.google.bigtable.admin.v2.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.bigtable.admin.v2.GetBackupRequest) request, + serviceImpl.getBackup((com.google.bigtable.admin.v2.GetBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.bigtable.admin.v2.UpdateBackupRequest) request, + serviceImpl.updateBackup((com.google.bigtable.admin.v2.UpdateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.bigtable.admin.v2.DeleteBackupRequest) request, + serviceImpl.deleteBackup((com.google.bigtable.admin.v2.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.bigtable.admin.v2.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listBackups((com.google.bigtable.admin.v2.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESTORE_TABLE: - serviceImpl.restoreTable( - (com.google.bigtable.admin.v2.RestoreTableRequest) request, + serviceImpl.restoreTable((com.google.bigtable.admin.v2.RestoreTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -2999,160 +2293,178 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_CREATE_TABLE))) + getCreateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_CREATE_TABLE))) .addMethod( - getCreateTableFromSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) + getCreateTableFromSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) .addMethod( - getListTablesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListTablesRequest, - com.google.bigtable.admin.v2.ListTablesResponse>( - service, METHODID_LIST_TABLES))) + getListTablesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListTablesRequest, + com.google.bigtable.admin.v2.ListTablesResponse>( + service, METHODID_LIST_TABLES))) .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_GET_TABLE))) + getGetTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetTableRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_GET_TABLE))) .addMethod( - getUpdateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_TABLE))) + getUpdateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateTableRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_TABLE))) .addMethod( - getDeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_TABLE))) + getDeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteTableRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TABLE))) .addMethod( - getUndeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>(service, METHODID_UNDELETE_TABLE))) + getUndeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UndeleteTableRequest, + com.google.longrunning.Operation>( + service, METHODID_UNDELETE_TABLE))) .addMethod( - getModifyColumnFamiliesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_MODIFY_COLUMN_FAMILIES))) + getModifyColumnFamiliesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_MODIFY_COLUMN_FAMILIES))) .addMethod( - getDropRowRangeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( - service, METHODID_DROP_ROW_RANGE))) + getDropRowRangeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DropRowRangeRequest, + com.google.protobuf.Empty>( + service, METHODID_DROP_ROW_RANGE))) .addMethod( - getGenerateConsistencyTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( - service, METHODID_GENERATE_CONSISTENCY_TOKEN))) + getGenerateConsistencyTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( + service, METHODID_GENERATE_CONSISTENCY_TOKEN))) .addMethod( - getCheckConsistencyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CheckConsistencyRequest, - com.google.bigtable.admin.v2.CheckConsistencyResponse>( - service, METHODID_CHECK_CONSISTENCY))) + getCheckConsistencyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CheckConsistencyRequest, + com.google.bigtable.admin.v2.CheckConsistencyResponse>( + service, METHODID_CHECK_CONSISTENCY))) .addMethod( - getSnapshotTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>(service, METHODID_SNAPSHOT_TABLE))) + getSnapshotTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.SnapshotTableRequest, + com.google.longrunning.Operation>( + service, METHODID_SNAPSHOT_TABLE))) .addMethod( - getGetSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>(service, METHODID_GET_SNAPSHOT))) + getGetSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetSnapshotRequest, + com.google.bigtable.admin.v2.Snapshot>( + service, METHODID_GET_SNAPSHOT))) .addMethod( - getListSnapshotsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListSnapshotsRequest, - com.google.bigtable.admin.v2.ListSnapshotsResponse>( - service, METHODID_LIST_SNAPSHOTS))) + getListSnapshotsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListSnapshotsRequest, + com.google.bigtable.admin.v2.ListSnapshotsResponse>( + service, METHODID_LIST_SNAPSHOTS))) .addMethod( - getDeleteSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_SNAPSHOT))) + getDeleteSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteSnapshotRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_SNAPSHOT))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>(service, METHODID_GET_BACKUP))) + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetBackupRequest, + com.google.bigtable.admin.v2.Backup>( + service, METHODID_GET_BACKUP))) .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>(service, METHODID_UPDATE_BACKUP))) + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateBackupRequest, + com.google.bigtable.admin.v2.Backup>( + service, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteBackupRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_BACKUP))) .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListBackupsRequest, - com.google.bigtable.admin.v2.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListBackupsRequest, + com.google.bigtable.admin.v2.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_TABLE))) + getRestoreTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.RestoreTableRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_TABLE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .build(); } - private abstract static class BigtableTableAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BigtableTableAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigtableTableAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -3194,35 +2506,33 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BigtableTableAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) - .addMethod(getCreateTableMethod()) - .addMethod(getCreateTableFromSnapshotMethod()) - .addMethod(getListTablesMethod()) - .addMethod(getGetTableMethod()) - .addMethod(getUpdateTableMethod()) - .addMethod(getDeleteTableMethod()) - .addMethod(getUndeleteTableMethod()) - .addMethod(getModifyColumnFamiliesMethod()) - .addMethod(getDropRowRangeMethod()) - .addMethod(getGenerateConsistencyTokenMethod()) - .addMethod(getCheckConsistencyMethod()) - .addMethod(getSnapshotTableMethod()) - .addMethod(getGetSnapshotMethod()) - .addMethod(getListSnapshotsMethod()) - .addMethod(getDeleteSnapshotMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreTableMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) + .addMethod(getCreateTableMethod()) + .addMethod(getCreateTableFromSnapshotMethod()) + .addMethod(getListTablesMethod()) + .addMethod(getGetTableMethod()) + .addMethod(getUpdateTableMethod()) + .addMethod(getDeleteTableMethod()) + .addMethod(getUndeleteTableMethod()) + .addMethod(getModifyColumnFamiliesMethod()) + .addMethod(getDropRowRangeMethod()) + .addMethod(getGenerateConsistencyTokenMethod()) + .addMethod(getCheckConsistencyMethod()) + .addMethod(getSnapshotTableMethod()) + .addMethod(getGetSnapshotMethod()) + .addMethod(getListSnapshotsMethod()) + .addMethod(getDeleteSnapshotMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreTableMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); } } } diff --git a/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..ef7d12bf84 --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java @@ -0,0 +1,1030 @@ +package com.google.bigtable.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service for reading from and writing to existing Bigtable tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/v2/bigtable.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableGrpc { + + private BigtableGrpc() {} + + public static final String SERVICE_NAME = "google.bigtable.v2.Bigtable"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getReadRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadRows", + requestType = com.google.bigtable.v2.ReadRowsRequest.class, + responseType = com.google.bigtable.v2.ReadRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadRowsMethod() { + io.grpc.MethodDescriptor getReadRowsMethod; + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + BigtableGrpc.getReadRowsMethod = getReadRowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadRows")) + .build(); + } + } + } + return getReadRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSampleRowKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SampleRowKeys", + requestType = com.google.bigtable.v2.SampleRowKeysRequest.class, + responseType = com.google.bigtable.v2.SampleRowKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getSampleRowKeysMethod() { + io.grpc.MethodDescriptor getSampleRowKeysMethod; + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + BigtableGrpc.getSampleRowKeysMethod = getSampleRowKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SampleRowKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("SampleRowKeys")) + .build(); + } + } + } + return getSampleRowKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRow", + requestType = com.google.bigtable.v2.MutateRowRequest.class, + responseType = com.google.bigtable.v2.MutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMutateRowMethod() { + io.grpc.MethodDescriptor getMutateRowMethod; + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + BigtableGrpc.getMutateRowMethod = getMutateRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRow")) + .build(); + } + } + } + return getMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getMutateRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRows", + requestType = com.google.bigtable.v2.MutateRowsRequest.class, + responseType = com.google.bigtable.v2.MutateRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getMutateRowsMethod() { + io.grpc.MethodDescriptor getMutateRowsMethod; + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + BigtableGrpc.getMutateRowsMethod = getMutateRowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRows")) + .build(); + } + } + } + return getMutateRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckAndMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckAndMutateRow", + requestType = com.google.bigtable.v2.CheckAndMutateRowRequest.class, + responseType = com.google.bigtable.v2.CheckAndMutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckAndMutateRowMethod() { + io.grpc.MethodDescriptor getCheckAndMutateRowMethod; + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + BigtableGrpc.getCheckAndMutateRowMethod = getCheckAndMutateRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckAndMutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("CheckAndMutateRow")) + .build(); + } + } + } + return getCheckAndMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getPingAndWarmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PingAndWarm", + requestType = com.google.bigtable.v2.PingAndWarmRequest.class, + responseType = com.google.bigtable.v2.PingAndWarmResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPingAndWarmMethod() { + io.grpc.MethodDescriptor getPingAndWarmMethod; + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + BigtableGrpc.getPingAndWarmMethod = getPingAndWarmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PingAndWarm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("PingAndWarm")) + .build(); + } + } + } + return getPingAndWarmMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadModifyWriteRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadModifyWriteRow", + requestType = com.google.bigtable.v2.ReadModifyWriteRowRequest.class, + responseType = com.google.bigtable.v2.ReadModifyWriteRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReadModifyWriteRowMethod() { + io.grpc.MethodDescriptor getReadModifyWriteRowMethod; + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + BigtableGrpc.getReadModifyWriteRowMethod = getReadModifyWriteRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadModifyWriteRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadModifyWriteRow")) + .build(); + } + } + } + return getReadModifyWriteRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", + requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, + responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod() { + io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; + if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { + BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = getGenerateInitialChangeStreamPartitionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("GenerateInitialChangeStreamPartitions")) + .build(); + } + } + } + return getGenerateInitialChangeStreamPartitionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadChangeStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", + requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, + responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadChangeStreamMethod() { + io.grpc.MethodDescriptor getReadChangeStreamMethod; + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + BigtableGrpc.getReadChangeStreamMethod = getReadChangeStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) + .build(); + } + } + } + return getReadChangeStreamMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BigtableStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + }; + return BigtableStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + }; + return BigtableBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BigtableFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + }; + return BigtableFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + default void readRows(com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); + } + + /** + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + default void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSampleRowKeysMethod(), responseObserver); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + default void mutateRow(com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + default void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + default void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckAndMutateRowMethod(), responseObserver); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + default void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPingAndWarmMethod(), responseObserver); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + default void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadModifyWriteRowMethod(), responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + default void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + default void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadChangeStreamMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static abstract class BigtableImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + + /** + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public void readRows(com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + public void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public void mutateRow(com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + + /** + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public java.util.Iterator readRows( + com.google.bigtable.v2.ReadRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadRowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + public java.util.Iterator sampleRowKeys( + com.google.bigtable.v2.SampleRowKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.bigtable.v2.MutateRowResponse mutateRow(com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMutateRowMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public java.util.Iterator mutateRows( + com.google.bigtable.v2.MutateRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getMutateRowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPingAndWarmMethod(), getCallOptions(), request); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public java.util.Iterator generateInitialChangeStreamPartitions( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions(), request); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public java.util.Iterator readChangeStream( + com.google.bigtable.v2.ReadChangeStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture mutateRow( + com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture checkAndMutateRow( + com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pingAndWarm( + com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_READ_ROWS = 0; + private static final int METHODID_SAMPLE_ROW_KEYS = 1; + private static final int METHODID_MUTATE_ROW = 2; + private static final int METHODID_MUTATE_ROWS = 3; + private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; + private static final int METHODID_PING_AND_WARM = 5; + private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; + private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; + private static final int METHODID_READ_CHANGE_STREAM = 8; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_READ_ROWS: + serviceImpl.readRows((com.google.bigtable.v2.ReadRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SAMPLE_ROW_KEYS: + serviceImpl.sampleRowKeys((com.google.bigtable.v2.SampleRowKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MUTATE_ROW: + serviceImpl.mutateRow((com.google.bigtable.v2.MutateRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MUTATE_ROWS: + serviceImpl.mutateRows((com.google.bigtable.v2.MutateRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_AND_MUTATE_ROW: + serviceImpl.checkAndMutateRow((com.google.bigtable.v2.CheckAndMutateRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PING_AND_WARM: + serviceImpl.pingAndWarm((com.google.bigtable.v2.PingAndWarmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_MODIFY_WRITE_ROW: + serviceImpl.readModifyWriteRow((com.google.bigtable.v2.ReadModifyWriteRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: + serviceImpl.generateInitialChangeStreamPartitions((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_CHANGE_STREAM: + serviceImpl.readChangeStream((com.google.bigtable.v2.ReadChangeStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadRowsRequest, + com.google.bigtable.v2.ReadRowsResponse>( + service, METHODID_READ_ROWS))) + .addMethod( + getSampleRowKeysMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse>( + service, METHODID_SAMPLE_ROW_KEYS))) + .addMethod( + getMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowRequest, + com.google.bigtable.v2.MutateRowResponse>( + service, METHODID_MUTATE_ROW))) + .addMethod( + getMutateRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowsRequest, + com.google.bigtable.v2.MutateRowsResponse>( + service, METHODID_MUTATE_ROWS))) + .addMethod( + getCheckAndMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse>( + service, METHODID_CHECK_AND_MUTATE_ROW))) + .addMethod( + getPingAndWarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.PingAndWarmRequest, + com.google.bigtable.v2.PingAndWarmResponse>( + service, METHODID_PING_AND_WARM))) + .addMethod( + getReadModifyWriteRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse>( + service, METHODID_READ_MODIFY_WRITE_ROW))) + .addMethod( + getGenerateInitialChangeStreamPartitionsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( + service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) + .addMethod( + getReadChangeStreamMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse>( + service, METHODID_READ_CHANGE_STREAM))) + .build(); + } + + private static abstract class BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.v2.BigtableProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Bigtable"); + } + } + + private static final class BigtableFileDescriptorSupplier + extends BigtableBaseDescriptorSupplier { + BigtableFileDescriptorSupplier() {} + } + + private static final class BigtableMethodDescriptorSupplier + extends BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + BigtableMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) + .addMethod(getReadRowsMethod()) + .addMethod(getSampleRowKeysMethod()) + .addMethod(getMutateRowMethod()) + .addMethod(getMutateRowsMethod()) + .addMethod(getCheckAndMutateRowMethod()) + .addMethod(getPingAndWarmMethod()) + .addMethod(getReadModifyWriteRowMethod()) + .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) + .addMethod(getReadChangeStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/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 2467d54025..fc0c2b9ef7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A configuration object describing how Cloud Bigtable should treat traffic
  * from a particular end user application.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.AppProfile}
  */
-public final class AppProfile extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppProfile extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile)
     AppProfileOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppProfile.newBuilder() to construct.
   private AppProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppProfile() {
     name_ = "";
     etag_ = "";
@@ -46,88 +28,74 @@ private AppProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppProfile();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.AppProfile.class,
-            com.google.bigtable.admin.v2.AppProfile.Builder.class);
+            com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
   }
 
-  public interface MultiClusterRoutingUseAnyOrBuilder
-      extends
+  public interface MultiClusterRoutingUseAnyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - java.util.List getClusterIdsList(); + java.util.List + getClusterIdsList(); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ int getClusterIdsCount(); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ java.lang.String getClusterIds(int index); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - com.google.protobuf.ByteString getClusterIdsBytes(int index); + com.google.protobuf.ByteString + getClusterIdsBytes(int index); } /** - * - * *
    * Read/write requests are routed to the nearest cluster in the instance, and
    * will fail over to the nearest cluster that is available in the event of
@@ -138,86 +106,76 @@ public interface MultiClusterRoutingUseAnyOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny}
    */
-  public static final class MultiClusterRoutingUseAny extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MultiClusterRoutingUseAny extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
       MultiClusterRoutingUseAnyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MultiClusterRoutingUseAny.newBuilder() to construct.
     private MultiClusterRoutingUseAny(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MultiClusterRoutingUseAny() {
-      clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      clusterIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MultiClusterRoutingUseAny();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
     }
 
     public static final int CLUSTER_IDS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList clusterIds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
-     *
-     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList getClusterIdsList() { + public com.google.protobuf.ProtocolStringList + getClusterIdsList() { return clusterIds_; } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -225,24 +183,21 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString + getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +209,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusterIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterIds_.getRaw(i)); } @@ -283,15 +239,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other = - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) obj; + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other = (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) obj; - if (!getClusterIdsList().equals(other.getClusterIdsList())) return false; + if (!getClusterIdsList() + .equals(other.getClusterIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,95 +269,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -411,8 +361,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Read/write requests are routed to the nearest cluster in the instance, and
      * will fail over to the nearest cluster that is available in the event of
@@ -423,53 +371,51 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
         com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
-                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
       }
 
-      // Construct using
-      // com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder()
-      private Builder() {}
+      // Construct using com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        clusterIds_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-          getDefaultInstanceForType() {
-        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-            .getDefaultInstance();
+      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() {
+        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -483,17 +429,13 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny build()
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result =
-            new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
+      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           clusterIds_.makeImmutable();
@@ -505,53 +447,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) {
-          return mergeFrom(
-              (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other) {
-        if (other
-            == com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other) {
+        if (other == com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance()) return this;
         if (!other.clusterIds_.isEmpty()) {
           if (clusterIds_.isEmpty()) {
             clusterIds_ = other.clusterIds_;
@@ -588,20 +523,18 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureClusterIdsIsMutable();
-                  clusterIds_.add(s);
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClusterIdsIsMutable();
+                clusterIds_.add(s);
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -611,12 +544,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList clusterIds_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
-
       private void ensureClusterIdsIsMutable() {
         if (!clusterIds_.isModifiable()) {
           clusterIds_ = new com.google.protobuf.LazyStringArrayList(clusterIds_);
@@ -624,46 +555,38 @@ private void ensureClusterIdsIsMutable() {
         bitField0_ |= 0x00000001;
       }
       /**
-       *
-       *
        * 
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList getClusterIdsList() { + public com.google.protobuf.ProtocolStringList + getClusterIdsList() { clusterIds_.makeImmutable(); return clusterIds_; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -671,39 +594,33 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString + getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index to set the value at. * @param value The clusterIds to set. * @return This builder for chaining. */ - public Builder setClusterIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureClusterIdsIsMutable(); clusterIds_.set(index, value); bitField0_ |= 0x00000001; @@ -711,22 +628,18 @@ public Builder setClusterIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param value The clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addClusterIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureClusterIdsIsMutable(); clusterIds_.add(value); bitField0_ |= 0x00000001; @@ -734,61 +647,53 @@ public Builder addClusterIds(java.lang.String value) { return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param values The clusterIds to add. * @return This builder for chaining. */ - public Builder addAllClusterIds(java.lang.Iterable values) { + public Builder addAllClusterIds( + java.lang.Iterable values) { ensureClusterIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return This builder for chaining. */ public Builder clearClusterIds() { - clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + clusterIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param value The bytes of the clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addClusterIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureClusterIdsIsMutable(); clusterIds_.add(value); @@ -796,7 +701,6 @@ public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -809,44 +713,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) - private static final com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getDefaultInstance() { + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MultiClusterRoutingUseAny parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiClusterRoutingUseAny parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,45 +759,37 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SingleClusterRoutingOrBuilder - extends + public interface SingleClusterRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -904,14 +797,11 @@ public interface SingleClusterRoutingOrBuilder
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ boolean getAllowTransactionalWrites(); } /** - * - * *
    * Unconditionally routes all read/write requests to a specific cluster.
    * This option preserves read-your-writes consistency but does not improve
@@ -920,54 +810,48 @@ public interface SingleClusterRoutingOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.SingleClusterRouting}
    */
-  public static final class SingleClusterRouting extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SingleClusterRouting extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.SingleClusterRouting)
       SingleClusterRoutingOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SingleClusterRouting.newBuilder() to construct.
     private SingleClusterRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SingleClusterRouting() {
       clusterId_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SingleClusterRouting();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
     }
 
     public static final int CLUSTER_ID_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object clusterId_ = "";
     /**
-     *
-     *
      * 
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The clusterId. */ @java.lang.Override @@ -976,29 +860,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,8 +893,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER = 2; private boolean allowTransactionalWrites_ = false; /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -1018,7 +900,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1027,7 +908,6 @@ public boolean getAllowTransactionalWrites() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1039,7 +919,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterId_); } @@ -1059,7 +940,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterId_); } if (allowTransactionalWrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowTransactionalWrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowTransactionalWrites_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1069,16 +951,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other = - (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) obj; + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other = (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) obj; - if (!getClusterId().equals(other.getClusterId())) return false; - if (getAllowTransactionalWrites() != other.getAllowTransactionalWrites()) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (getAllowTransactionalWrites() + != other.getAllowTransactionalWrites()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1093,101 +976,97 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowTransactionalWrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowTransactionalWrites()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1197,8 +1076,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Unconditionally routes all read/write requests to a specific cluster.
      * This option preserves read-your-writes consistency but does not improve
@@ -1207,33 +1084,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.SingleClusterRouting}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.SingleClusterRouting)
         com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
-                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1244,14 +1121,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting
-          getDefaultInstanceForType() {
+      public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() {
         return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
       }
 
@@ -1266,17 +1142,13 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result =
-            new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
+      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.clusterId_ = clusterId_;
@@ -1290,41 +1162,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) {
-          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1332,9 +1201,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other) {
-        if (other
-            == com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance()) return this;
         if (!other.getClusterId().isEmpty()) {
           clusterId_ = other.clusterId_;
           bitField0_ |= 0x00000001;
@@ -1369,25 +1236,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  clusterId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  allowTransactionalWrites_ = input.readBool();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                clusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                allowTransactionalWrites_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1397,25 +1261,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object clusterId_ = "";
       /**
-       *
-       *
        * 
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1424,21 +1285,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1446,35 +1306,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1484,21 +1337,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000001; @@ -1506,10 +1355,8 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allowTransactionalWrites_; + private boolean allowTransactionalWrites_ ; /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1517,7 +1364,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1525,8 +1371,6 @@ public boolean getAllowTransactionalWrites() { return allowTransactionalWrites_; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1534,7 +1378,6 @@ public boolean getAllowTransactionalWrites() {
        * 
* * bool allow_transactional_writes = 2; - * * @param value The allowTransactionalWrites to set. * @return This builder for chaining. */ @@ -1546,8 +1389,6 @@ public Builder setAllowTransactionalWrites(boolean value) { return this; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1555,7 +1396,6 @@ public Builder setAllowTransactionalWrites(boolean value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return This builder for chaining. */ public Builder clearAllowTransactionalWrites() { @@ -1564,7 +1404,6 @@ public Builder clearAllowTransactionalWrites() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1577,44 +1416,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) - private static final com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - getDefaultInstance() { + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SingleClusterRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SingleClusterRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1626,26 +1462,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int routingPolicyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object routingPolicy_; - public enum RoutingPolicyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MULTI_CLUSTER_ROUTING_USE_ANY(5), SINGLE_CLUSTER_ROUTING(6), ROUTINGPOLICY_NOT_SET(0); private final int value; - private RoutingPolicyCase(int value) { this.value = value; } @@ -1661,40 +1493,33 @@ public static RoutingPolicyCase valueOf(int value) { public static RoutingPolicyCase forNumber(int value) { switch (value) { - case 5: - return MULTI_CLUSTER_ROUTING_USE_ANY; - case 6: - return SINGLE_CLUSTER_ROUTING; - case 0: - return ROUTINGPOLICY_NOT_SET; - default: - return null; + case 5: return MULTI_CLUSTER_ROUTING_USE_ANY; + case 6: return SINGLE_CLUSTER_ROUTING; + case 0: return ROUTINGPOLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RoutingPolicyCase getRoutingPolicyCase() { - return RoutingPolicyCase.forNumber(routingPolicyCase_); + public RoutingPolicyCase + getRoutingPolicyCase() { + return RoutingPolicyCase.forNumber( + routingPolicyCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1703,30 +1528,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1735,12 +1560,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1753,7 +1575,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -1762,15 +1583,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1783,15 +1603,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1800,18 +1621,14 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1820,29 +1637,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1852,16 +1669,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER = 5; /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ @java.lang.Override @@ -1869,57 +1681,42 @@ public boolean hasMultiClusterRoutingUseAny() { return routingPolicyCase_ == 5; } /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getMultiClusterRoutingUseAny() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny() { if (routingPolicyCase_ == 5) { - return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder() { if (routingPolicyCase_ == 5) { - return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER = 6; /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ @java.lang.Override @@ -1927,45 +1724,36 @@ public boolean hasSingleClusterRouting() { return routingPolicyCase_ == 6; } /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() { if (routingPolicyCase_ == 6) { - return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder() { if (routingPolicyCase_ == 6) { - return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1977,7 +1765,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1988,12 +1777,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (routingPolicyCase_ == 5) { - output.writeMessage( - 5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); + output.writeMessage(5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); } if (routingPolicyCase_ == 6) { - output.writeMessage( - 6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); + output.writeMessage(6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); } getUnknownFields().writeTo(output); } @@ -2014,15 +1801,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (routingPolicyCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); } if (routingPolicyCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2032,24 +1816,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile)) { return super.equals(obj); } com.google.bigtable.admin.v2.AppProfile other = (com.google.bigtable.admin.v2.AppProfile) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getRoutingPolicyCase().equals(other.getRoutingPolicyCase())) return false; switch (routingPolicyCase_) { case 5: - if (!getMultiClusterRoutingUseAny().equals(other.getMultiClusterRoutingUseAny())) - return false; + if (!getMultiClusterRoutingUseAny() + .equals(other.getMultiClusterRoutingUseAny())) return false; break; case 6: - if (!getSingleClusterRouting().equals(other.getSingleClusterRouting())) return false; + if (!getSingleClusterRouting() + .equals(other.getSingleClusterRouting())) return false; break; case 0: default: @@ -2088,104 +1876,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AppProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AppProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A configuration object describing how Cloud Bigtable should treat traffic
    * from a particular end user application.
@@ -2193,32 +1976,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile)
       com.google.bigtable.admin.v2.AppProfileOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.class,
-              com.google.bigtable.admin.v2.AppProfile.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.AppProfile.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2238,9 +2022,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
     }
 
     @java.lang.Override
@@ -2259,11 +2043,8 @@ public com.google.bigtable.admin.v2.AppProfile build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.AppProfile buildPartial() {
-      com.google.bigtable.admin.v2.AppProfile result =
-          new com.google.bigtable.admin.v2.AppProfile(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.AppProfile result = new com.google.bigtable.admin.v2.AppProfile(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2285,10 +2066,12 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile result) {
     private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result) {
       result.routingPolicyCase_ = routingPolicyCase_;
       result.routingPolicy_ = this.routingPolicy_;
-      if (routingPolicyCase_ == 5 && multiClusterRoutingUseAnyBuilder_ != null) {
+      if (routingPolicyCase_ == 5 &&
+          multiClusterRoutingUseAnyBuilder_ != null) {
         result.routingPolicy_ = multiClusterRoutingUseAnyBuilder_.build();
       }
-      if (routingPolicyCase_ == 6 && singleClusterRoutingBuilder_ != null) {
+      if (routingPolicyCase_ == 6 &&
+          singleClusterRoutingBuilder_ != null) {
         result.routingPolicy_ = singleClusterRoutingBuilder_.build();
       }
     }
@@ -2297,39 +2080,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.AppProfile) {
-        return mergeFrom((com.google.bigtable.admin.v2.AppProfile) other);
+        return mergeFrom((com.google.bigtable.admin.v2.AppProfile)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2354,20 +2136,17 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile other) {
         onChanged();
       }
       switch (other.getRoutingPolicyCase()) {
-        case MULTI_CLUSTER_ROUTING_USE_ANY:
-          {
-            mergeMultiClusterRoutingUseAny(other.getMultiClusterRoutingUseAny());
-            break;
-          }
-        case SINGLE_CLUSTER_ROUTING:
-          {
-            mergeSingleClusterRouting(other.getSingleClusterRouting());
-            break;
-          }
-        case ROUTINGPOLICY_NOT_SET:
-          {
-            break;
-          }
+        case MULTI_CLUSTER_ROUTING_USE_ANY: {
+          mergeMultiClusterRoutingUseAny(other.getMultiClusterRoutingUseAny());
+          break;
+        }
+        case SINGLE_CLUSTER_ROUTING: {
+          mergeSingleClusterRouting(other.getSingleClusterRouting());
+          break;
+        }
+        case ROUTINGPOLICY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2395,45 +2174,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 42:
-              {
-                input.readMessage(
-                    getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(), extensionRegistry);
-                routingPolicyCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getSingleClusterRoutingFieldBuilder().getBuilder(), extensionRegistry);
-                routingPolicyCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 42: {
+              input.readMessage(
+                  getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              routingPolicyCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getSingleClusterRoutingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              routingPolicyCase_ = 6;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2443,12 +2218,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int routingPolicyCase_ = 0;
     private java.lang.Object routingPolicy_;
-
-    public RoutingPolicyCase getRoutingPolicyCase() {
-      return RoutingPolicyCase.forNumber(routingPolicyCase_);
+    public RoutingPolicyCase
+        getRoutingPolicyCase() {
+      return RoutingPolicyCase.forNumber(
+          routingPolicyCase_);
     }
 
     public Builder clearRoutingPolicy() {
@@ -2462,21 +2237,19 @@ public Builder clearRoutingPolicy() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2485,22 +2258,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2508,37 +2280,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2548,22 +2313,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2573,8 +2334,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2587,13 +2346,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 2; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2602,8 +2361,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2616,14 +2373,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2631,8 +2389,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2645,22 +2401,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 2; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2673,7 +2425,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2683,8 +2434,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2697,14 +2446,12 @@ public Builder clearEtag() {
      * 
* * string etag = 2; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; @@ -2714,20 +2461,18 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2736,21 +2481,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2758,35 +2502,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2796,21 +2533,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2819,21 +2552,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> - multiClusterRoutingUseAnyBuilder_; + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> multiClusterRoutingUseAnyBuilder_; /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ @java.lang.Override @@ -2841,48 +2566,35 @@ public boolean hasMultiClusterRoutingUseAny() { return routingPolicyCase_ == 5; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getMultiClusterRoutingUseAny() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny() { if (multiClusterRoutingUseAnyBuilder_ == null) { if (routingPolicyCase_ == 5) { return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } else { if (routingPolicyCase_ == 5) { return multiClusterRoutingUseAnyBuilder_.getMessage(); } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public Builder setMultiClusterRoutingUseAny( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { + public Builder setMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { if (multiClusterRoutingUseAnyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2896,15 +2608,11 @@ public Builder setMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ public Builder setMultiClusterRoutingUseAny( com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder builderForValue) { @@ -2918,29 +2626,18 @@ public Builder setMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public Builder mergeMultiClusterRoutingUseAny( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { + public Builder mergeMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { if (multiClusterRoutingUseAnyBuilder_ == null) { - if (routingPolicyCase_ == 5 - && routingPolicy_ - != com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance()) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder( - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) - routingPolicy_) - .mergeFrom(value) - .buildPartial(); + if (routingPolicyCase_ == 5 && + routingPolicy_ != com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance()) { + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder((com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_) + .mergeFrom(value).buildPartial(); } else { routingPolicy_ = value; } @@ -2956,15 +2653,11 @@ public Builder mergeMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ public Builder clearMultiClusterRoutingUseAny() { if (multiClusterRoutingUseAnyBuilder_ == null) { @@ -2983,71 +2676,49 @@ public Builder clearMultiClusterRoutingUseAny() { return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder - getMultiClusterRoutingUseAnyBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder getMultiClusterRoutingUseAnyBuilder() { return getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(); } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder() { if ((routingPolicyCase_ == 5) && (multiClusterRoutingUseAnyBuilder_ != null)) { return multiClusterRoutingUseAnyBuilder_.getMessageOrBuilder(); } else { if (routingPolicyCase_ == 5) { return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> getMultiClusterRoutingUseAnyFieldBuilder() { if (multiClusterRoutingUseAnyBuilder_ == null) { if (!(routingPolicyCase_ == 5)) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } - multiClusterRoutingUseAnyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder>( + multiClusterRoutingUseAnyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder>( (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_, getParentForChildren(), isClean()); @@ -3059,20 +2730,13 @@ public Builder clearMultiClusterRoutingUseAny() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> - singleClusterRoutingBuilder_; + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> singleClusterRoutingBuilder_; /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ @java.lang.Override @@ -3080,15 +2744,11 @@ public boolean hasSingleClusterRouting() { return routingPolicyCase_ == 6; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ @java.lang.Override @@ -3106,17 +2766,13 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu } } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public Builder setSingleClusterRouting( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { + public Builder setSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { if (singleClusterRoutingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3130,14 +2786,11 @@ public Builder setSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ public Builder setSingleClusterRouting( com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder builderForValue) { @@ -3151,27 +2804,18 @@ public Builder setSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public Builder mergeSingleClusterRouting( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { + public Builder mergeSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { if (singleClusterRoutingBuilder_ == null) { - if (routingPolicyCase_ == 6 - && routingPolicy_ - != com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - .getDefaultInstance()) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder( - (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_) - .mergeFrom(value) - .buildPartial(); + if (routingPolicyCase_ == 6 && + routingPolicy_ != com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance()) { + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_) + .mergeFrom(value).buildPartial(); } else { routingPolicy_ = value; } @@ -3187,14 +2831,11 @@ public Builder mergeSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ public Builder clearSingleClusterRouting() { if (singleClusterRoutingBuilder_ == null) { @@ -3213,32 +2854,24 @@ public Builder clearSingleClusterRouting() { return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder - getSingleClusterRoutingBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder getSingleClusterRoutingBuilder() { return getSingleClusterRoutingFieldBuilder().getBuilder(); } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder() { if ((routingPolicyCase_ == 6) && (singleClusterRoutingBuilder_ != null)) { return singleClusterRoutingBuilder_.getMessageOrBuilder(); } else { @@ -3249,30 +2882,21 @@ public Builder clearSingleClusterRouting() { } } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> getSingleClusterRoutingFieldBuilder() { if (singleClusterRoutingBuilder_ == null) { if (!(routingPolicyCase_ == 6)) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } - singleClusterRoutingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder>( + singleClusterRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder>( (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_, getParentForChildren(), isClean()); @@ -3282,9 +2906,9 @@ public Builder clearSingleClusterRouting() { onChanged(); return singleClusterRoutingBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3294,12 +2918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile) private static final com.google.bigtable.admin.v2.AppProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile(); } @@ -3308,27 +2932,27 @@ public static com.google.bigtable.admin.v2.AppProfile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3343,4 +2967,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AppProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java index a46667c391..3b4819e668 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; -public interface AppProfileOrBuilder - extends +public interface AppProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -65,13 +42,10 @@ public interface AppProfileOrBuilder
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -84,116 +58,84 @@ public interface AppProfileOrBuilder
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ boolean hasMultiClusterRoutingUseAny(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder(); + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ boolean hasSingleClusterRouting(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder(); + com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder(); com.google.bigtable.admin.v2.AppProfile.RoutingPolicyCase getRoutingPolicyCase(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java index c41a724ec1..3e6e619dab 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Limits for the number of nodes a Cluster can autoscale up/down to.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ -public final class AutoscalingLimits extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingLimits extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingLimits) AutoscalingLimitsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingLimits.newBuilder() to construct. private AutoscalingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingLimits() {} + private AutoscalingLimits() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingLimits(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } public static final int MIN_SERVE_NODES_FIELD_NUMBER = 1; private int minServeNodes_ = 0; /** - * - * *
    * Required. Minimum number of nodes to scale down to.
    * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ @java.lang.Override @@ -81,14 +60,11 @@ public int getMinServeNodes() { public static final int MAX_SERVE_NODES_FIELD_NUMBER = 2; private int maxServeNodes_ = 0; /** - * - * *
    * Required. Maximum number of nodes to scale up to.
    * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ @java.lang.Override @@ -97,7 +73,6 @@ public int getMaxServeNodes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,7 +84,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minServeNodes_ != 0) { output.writeInt32(1, minServeNodes_); } @@ -126,10 +102,12 @@ public int getSerializedSize() { size = 0; if (minServeNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minServeNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, minServeNodes_); } if (maxServeNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxServeNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxServeNodes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -139,16 +117,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AutoscalingLimits)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AutoscalingLimits other = - (com.google.bigtable.admin.v2.AutoscalingLimits) obj; + com.google.bigtable.admin.v2.AutoscalingLimits other = (com.google.bigtable.admin.v2.AutoscalingLimits) obj; - if (getMinServeNodes() != other.getMinServeNodes()) return false; - if (getMaxServeNodes() != other.getMaxServeNodes()) return false; + if (getMinServeNodes() + != other.getMinServeNodes()) return false; + if (getMaxServeNodes() + != other.getMaxServeNodes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,136 +148,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AutoscalingLimits prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Limits for the number of nodes a Cluster can autoscale up/down to.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AutoscalingLimits) com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } // Construct using com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -309,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override @@ -330,11 +305,8 @@ public com.google.bigtable.admin.v2.AutoscalingLimits build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits buildPartial() { - com.google.bigtable.admin.v2.AutoscalingLimits result = - new com.google.bigtable.admin.v2.AutoscalingLimits(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.AutoscalingLimits result = new com.google.bigtable.admin.v2.AutoscalingLimits(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -353,39 +325,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingLimits result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingLimits) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits) other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits)other); } else { super.mergeFrom(other); return this; @@ -426,25 +397,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - minServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - maxServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + minServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + maxServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -454,19 +422,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int minServeNodes_; + private int minServeNodes_ ; /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ @java.lang.Override @@ -474,14 +438,11 @@ public int getMinServeNodes() { return minServeNodes_; } /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The minServeNodes to set. * @return This builder for chaining. */ @@ -493,14 +454,11 @@ public Builder setMinServeNodes(int value) { return this; } /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMinServeNodes() { @@ -510,16 +468,13 @@ public Builder clearMinServeNodes() { return this; } - private int maxServeNodes_; + private int maxServeNodes_ ; /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ @java.lang.Override @@ -527,14 +482,11 @@ public int getMaxServeNodes() { return maxServeNodes_; } /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The maxServeNodes to set. * @return This builder for chaining. */ @@ -546,14 +498,11 @@ public Builder setMaxServeNodes(int value) { return this; } /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMaxServeNodes() { @@ -562,9 +511,9 @@ public Builder clearMaxServeNodes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -574,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AutoscalingLimits) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AutoscalingLimits) private static final com.google.bigtable.admin.v2.AutoscalingLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AutoscalingLimits(); } @@ -588,27 +537,27 @@ public static com.google.bigtable.admin.v2.AutoscalingLimits getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -623,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java similarity index 53% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java index 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 3ffe9857da..b84b4c1b75 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java @@ -1,70 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The Autoscaling targets for a Cluster. These determine the recommended nodes.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ -public final class AutoscalingTargets extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingTargets extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingTargets) AutoscalingTargetsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingTargets.newBuilder() to construct. private AutoscalingTargets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingTargets() {} + private AutoscalingTargets() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingTargets(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } public static final int CPU_UTILIZATION_PERCENT_FIELD_NUMBER = 2; private int cpuUtilizationPercent_ = 0; /** - * - * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -73,7 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -84,8 +63,6 @@ public int getCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3; private int storageUtilizationGibPerNode_ = 0; /** - * - * *
    * The storage utilization that the Autoscaler should be trying to achieve.
    * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -96,7 +73,6 @@ public int getCpuUtilizationPercent() {
    * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -105,7 +81,6 @@ public int getStorageUtilizationGibPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cpuUtilizationPercent_ != 0) { output.writeInt32(2, cpuUtilizationPercent_); } @@ -134,11 +110,12 @@ public int getSerializedSize() { size = 0; if (cpuUtilizationPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, cpuUtilizationPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, cpuUtilizationPercent_); } if (storageUtilizationGibPerNode_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(3, storageUtilizationGibPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, storageUtilizationGibPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -148,16 +125,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AutoscalingTargets)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AutoscalingTargets other = - (com.google.bigtable.admin.v2.AutoscalingTargets) obj; + com.google.bigtable.admin.v2.AutoscalingTargets other = (com.google.bigtable.admin.v2.AutoscalingTargets) obj; - if (getCpuUtilizationPercent() != other.getCpuUtilizationPercent()) return false; - if (getStorageUtilizationGibPerNode() != other.getStorageUtilizationGibPerNode()) return false; + if (getCpuUtilizationPercent() + != other.getCpuUtilizationPercent()) return false; + if (getStorageUtilizationGibPerNode() + != other.getStorageUtilizationGibPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AutoscalingTargets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Autoscaling targets for a Cluster. These determine the recommended nodes.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AutoscalingTargets) com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } // Construct using com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override @@ -339,11 +313,8 @@ public com.google.bigtable.admin.v2.AutoscalingTargets build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets buildPartial() { - com.google.bigtable.admin.v2.AutoscalingTargets result = - new com.google.bigtable.admin.v2.AutoscalingTargets(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.AutoscalingTargets result = new com.google.bigtable.admin.v2.AutoscalingTargets(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingTargets resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingTargets) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets) other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets)other); } else { super.mergeFrom(other); return this; @@ -402,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.AutoscalingTargets other) { - if (other == com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) return this; if (other.getCpuUtilizationPercent() != 0) { setCpuUtilizationPercent(other.getCpuUtilizationPercent()); } @@ -436,25 +405,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - cpuUtilizationPercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - storageUtilizationGibPerNode_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + cpuUtilizationPercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + storageUtilizationGibPerNode_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,13 +430,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int cpuUtilizationPercent_; + private int cpuUtilizationPercent_ ; /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -479,7 +442,6 @@ public Builder mergeFrom(
      * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -487,8 +449,6 @@ public int getCpuUtilizationPercent() { return cpuUtilizationPercent_; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -497,7 +457,6 @@ public int getCpuUtilizationPercent() {
      * 
* * int32 cpu_utilization_percent = 2; - * * @param value The cpuUtilizationPercent to set. * @return This builder for chaining. */ @@ -509,8 +468,6 @@ public Builder setCpuUtilizationPercent(int value) { return this; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -519,7 +476,6 @@ public Builder setCpuUtilizationPercent(int value) {
      * 
* * int32 cpu_utilization_percent = 2; - * * @return This builder for chaining. */ public Builder clearCpuUtilizationPercent() { @@ -529,10 +485,8 @@ public Builder clearCpuUtilizationPercent() { return this; } - private int storageUtilizationGibPerNode_; + private int storageUtilizationGibPerNode_ ; /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -543,7 +497,6 @@ public Builder clearCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -551,8 +504,6 @@ public int getStorageUtilizationGibPerNode() { return storageUtilizationGibPerNode_; } /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -563,7 +514,6 @@ public int getStorageUtilizationGibPerNode() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @param value The storageUtilizationGibPerNode to set. * @return This builder for chaining. */ @@ -575,8 +525,6 @@ public Builder setStorageUtilizationGibPerNode(int value) { return this; } /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -587,7 +535,6 @@ public Builder setStorageUtilizationGibPerNode(int value) {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return This builder for chaining. */ public Builder clearStorageUtilizationGibPerNode() { @@ -596,9 +543,9 @@ public Builder clearStorageUtilizationGibPerNode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -608,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AutoscalingTargets) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AutoscalingTargets) private static final com.google.bigtable.admin.v2.AutoscalingTargets DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AutoscalingTargets(); } @@ -622,27 +569,27 @@ public static com.google.bigtable.admin.v2.AutoscalingTargets getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingTargets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingTargets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingTargets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java index 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 71% 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 47a5232d86..eb28613990 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,38 +27,34 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, - com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); } /** - * - * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -85,8 +63,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.
@@ -96,8 +72,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -109,8 +83,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not specified.
      * 
@@ -119,8 +91,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.
@@ -130,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -140,6 +108,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( @@ -164,49 +133,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; @@ -224,12 +193,9 @@ private State(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -244,7 +210,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -253,15 +218,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
@@ -276,15 +240,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 { @@ -293,22 +258,16 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created. This needs
    * to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ @java.lang.Override @@ -317,33 +276,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 { @@ -354,8 +311,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
@@ -364,9 +319,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 @@ -374,8 +327,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
@@ -384,9 +335,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 @@ -394,8 +343,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
@@ -404,8 +351,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() { @@ -415,8 +361,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
@@ -424,9 +368,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 @@ -434,8 +376,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
@@ -443,9 +383,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 @@ -453,8 +391,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
@@ -462,8 +398,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() { @@ -473,16 +408,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 @@ -490,16 +421,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 @@ -507,15 +434,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() { @@ -525,14 +449,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 6; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -543,55 +464,37 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 9; private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -599,44 +502,30 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -648,7 +537,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -689,22 +579,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; @@ -714,32 +610,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; @@ -769,7 +672,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()) { @@ -781,135 +685,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Backup parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Backup parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Backup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Backup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Backup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A backup of a Cloud Bigtable table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Backup} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Backup) com.google.bigtable.admin.v2.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, - com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); } // Construct using com.google.bigtable.admin.v2.Backup.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -942,9 +843,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 @@ -964,9 +865,7 @@ public com.google.bigtable.admin.v2.Backup build() { @java.lang.Override public com.google.bigtable.admin.v2.Backup buildPartial() { com.google.bigtable.admin.v2.Backup result = new com.google.bigtable.admin.v2.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -980,13 +879,19 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.sourceTable_ = sourceTable_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -995,8 +900,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.state_ = state_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); } } @@ -1004,39 +910,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Backup) { - return mergeFrom((com.google.bigtable.admin.v2.Backup) other); + return mergeFrom((com.google.bigtable.admin.v2.Backup)other); } else { super.mergeFrom(other); return this; @@ -1099,61 +1004,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 74: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 74: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + 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) { @@ -1163,13 +1067,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1184,13 +1085,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; @@ -1199,8 +1100,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1215,14 +1114,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 { @@ -1230,8 +1130,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1246,22 +1144,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1276,7 +1170,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1286,8 +1179,6 @@ public Builder clearName() { return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1302,14 +1193,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1319,24 +1208,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; @@ -1345,25 +1230,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 { @@ -1371,43 +1253,32 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created. This needs
      * to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created. This needs
      * to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1417,25 +1288,19 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created. This needs
      * to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -1445,13 +1310,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
@@ -1460,17 +1320,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1479,23 +1335,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
@@ -1504,8 +1354,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) { @@ -1521,8 +1370,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
@@ -1531,10 +1378,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1545,8 +1392,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
@@ -1555,14 +1400,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1575,8 +1419,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
@@ -1585,8 +1427,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1599,8 +1440,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
@@ -1609,8 +1448,7 @@ public Builder clearExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; @@ -1618,8 +1456,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1628,21 +1464,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
@@ -1651,21 +1483,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_; @@ -1673,13 +1501,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
@@ -1687,17 +1510,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1705,9 +1524,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() { @@ -1718,8 +1535,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
@@ -1727,8 +1542,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) { @@ -1744,8 +1558,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
@@ -1753,10 +1565,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(); } else { @@ -1767,8 +1579,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
@@ -1776,14 +1586,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 (((bitField0_ & 0x00000008) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1796,8 +1605,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
@@ -1805,8 +1612,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1819,8 +1625,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1828,8 +1632,7 @@ 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() { bitField0_ |= 0x00000008; @@ -1837,8 +1640,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1846,19 +1647,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
@@ -1866,21 +1665,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_; @@ -1888,37 +1683,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1929,15 +1713,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) { @@ -1953,17 +1734,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1974,21 +1753,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2001,15 +1777,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2022,15 +1795,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000010; @@ -2038,61 +1808,50 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2100,14 +1859,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -2119,14 +1875,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -2138,33 +1891,22 @@ public Builder clearSizeBytes() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2175,35 +1917,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2217,16 +1948,11 @@ public Builder setState(com.google.bigtable.admin.v2.Backup.State value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2238,58 +1964,39 @@ public Builder clearState() { private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2305,15 +2012,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) { @@ -2327,22 +2030,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -2355,15 +2053,11 @@ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo v return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2376,15 +2070,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000080; @@ -2392,55 +2082,43 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2450,12 +2128,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(); } @@ -2464,27 +2142,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; @@ -2499,4 +2177,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 70% 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 5167b1b6b3..6fab618192 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,38 +26,33 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, - com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ @java.lang.Override @@ -84,29 +61,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 { @@ -117,16 +94,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 @@ -134,16 +107,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 @@ -151,15 +120,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() { @@ -169,16 +135,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 @@ -186,16 +148,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 @@ -203,15 +161,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() { @@ -219,18 +174,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ @java.lang.Override @@ -239,29 +190,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 { @@ -270,7 +221,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +232,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -308,10 +259,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_); @@ -324,23 +277,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; } @@ -369,136 +326,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.BackupInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.BackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a backup.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.BackupInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.BackupInfo) com.google.bigtable.admin.v2.BackupInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, - com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); } // Construct using com.google.bigtable.admin.v2.BackupInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +472,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 @@ -540,11 +493,8 @@ public com.google.bigtable.admin.v2.BackupInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo buildPartial() { - com.google.bigtable.admin.v2.BackupInfo result = - new com.google.bigtable.admin.v2.BackupInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.BackupInfo result = new com.google.bigtable.admin.v2.BackupInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -555,10 +505,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { result.backup_ = backup_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceTable_ = sourceTable_; @@ -569,39 +523,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.BackupInfo) { - return mergeFrom((com.google.bigtable.admin.v2.BackupInfo) other); + return mergeFrom((com.google.bigtable.admin.v2.BackupInfo)other); } else { super.mergeFrom(other); return this; @@ -652,37 +605,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -692,25 +644,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backup_ = ""; /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ public java.lang.String getBackup() { java.lang.Object ref = backup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; @@ -719,21 +668,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 { @@ -741,35 +689,28 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -779,21 +720,17 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backup_ = value; bitField0_ |= 0x00000001; @@ -803,37 +740,26 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -844,15 +770,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) { @@ -868,17 +791,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -889,21 +810,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -916,15 +834,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -937,15 +852,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -953,46 +865,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1000,37 +904,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1041,15 +934,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) { @@ -1065,17 +955,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1086,21 +974,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1113,15 +998,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1134,15 +1016,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1150,46 +1029,38 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1197,20 +1068,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; @@ -1219,21 +1088,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 { @@ -1241,35 +1109,28 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1279,30 +1140,26 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1312,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(); } @@ -1326,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; @@ -1361,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 0665660dd7..3f79e8010b 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
@@ -40,13 +22,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -61,47 +40,36 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created. This needs
    * to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created. This needs
    * to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + com.google.protobuf.ByteString + getSourceTableBytes(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 30 days
@@ -110,15 +78,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
@@ -127,15 +91,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
@@ -144,14 +104,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
@@ -159,15 +116,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
@@ -175,15 +128,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
@@ -191,132 +140,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..364f9f7e5e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -0,0 +1,618 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public final class BigtableInstanceAdminProto { + private BigtableInstanceAdminProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/bigtable/admin/v2/bigtable_inst" + + "ance_admin.proto\022\030google.bigtable.admin." + + "v2\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032\'g" + + "oogle/bigtable/admin/v2/instance.proto\032\036" + + "google/iam/v1/iam_policy.proto\032\032google/i" + + "am/v1/policy.proto\032#google/longrunning/o" + + "perations.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\"\337\002\n\025Crea" + + "teInstanceRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372" + + "A-\n+cloudresourcemanager.googleapis.com/" + + "Project\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022:\n\010in" + + "stance\030\003 \001(\0132\".google.bigtable.admin.v2." + + "InstanceB\004\342A\001\002\022U\n\010clusters\030\004 \003(\0132=.googl" + + "e.bigtable.admin.v2.CreateInstanceReques" + + "t.ClustersEntryB\004\342A\001\002\032R\n\rClustersEntry\022\013" + + "\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigt" + + "able.admin.v2.Cluster:\0028\001\"R\n\022GetInstance" + + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" + + "admin.googleapis.com/Instance\"p\n\024ListIns" + + "tancesRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "cloudresourcemanager.googleapis.com/Proj" + + "ect\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\025ListInstance" + + "sResponse\0225\n\tinstances\030\001 \003(\0132\".google.bi" + + "gtable.admin.v2.Instance\022\030\n\020failed_locat" + + "ions\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\221\001\n\034" + + "PartialUpdateInstanceRequest\022:\n\010instance" + + "\030\001 \001(\0132\".google.bigtable.admin.v2.Instan" + + "ceB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"U\n\025DeleteInstanc" + + "eRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtabl" + + "eadmin.googleapis.com/Instance\"\252\001\n\024Creat" + + "eClusterRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" + + "\n%bigtableadmin.googleapis.com/Instance\022" + + "\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0228\n\007cluster\030\003 \001" + + "(\0132!.google.bigtable.admin.v2.ClusterB\004\342" + + "A\001\002\"P\n\021GetClusterRequest\022;\n\004name\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + + "uster\"i\n\023ListClustersRequest\022>\n\006parent\030\001" + + " \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis." + + "com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024List" + + "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" + + "gle.bigtable.admin.v2.Cluster\022\030\n\020failed_" + + "locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t" + + "\"S\n\024DeleteClusterRequest\022;\n\004name\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + + "uster\"\306\001\n\026CreateInstanceMetadata\022I\n\020orig" + + "inal_request\030\001 \001(\0132/.google.bigtable.adm" + + "in.v2.CreateInstanceRequest\0220\n\014request_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013finish_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020ori" + + "ginal_request\030\001 \001(\01326.google.bigtable.ad" + + "min.v2.PartialUpdateInstanceRequest\0220\n\014r" + + "equest_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022/\n\013finish_time\030\003 \001(\0132\032.google.prot" + + "obuf.Timestamp\"\373\004\n\025CreateClusterMetadata" + + "\022H\n\020original_request\030\001 \001(\0132..google.bigt" + + "able.admin.v2.CreateClusterRequest\0220\n\014re" + + "quest_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tamp\022/\n\013finish_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022K\n\006tables\030\004 \003(\0132;.google.b" + + "igtable.admin.v2.CreateClusterMetadata.T" + + "ablesEntry\032\371\001\n\rTableProgress\022\034\n\024estimate" + + "d_size_bytes\030\002 \001(\003\022\036\n\026estimated_copied_b" + + "ytes\030\003 \001(\003\022R\n\005state\030\004 \001(\0162C.google.bigta" + + "ble.admin.v2.CreateClusterMetadata.Table" + + "Progress.State\"V\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMP" + + "LETED\020\003\022\r\n\tCANCELLED\020\004\032l\n\013TablesEntry\022\013\n" + + "\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google.bigta" + + "ble.admin.v2.CreateClusterMetadata.Table" + + "Progress:\0028\001\"\267\001\n\025UpdateClusterMetadata\022;" + + "\n\020original_request\030\001 \001(\0132!.google.bigtab" + + "le.admin.v2.Cluster\0220\n\014request_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\322" + + "\001\n\034PartialUpdateClusterMetadata\0220\n\014reque" + + "st_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013finish_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022O\n\020original_request\030\003 \001(\01325.g" + + "oogle.bigtable.admin.v2.PartialUpdateClu" + + "sterRequest\"\216\001\n\033PartialUpdateClusterRequ" + + "est\0228\n\007cluster\030\001 \001(\0132!.google.bigtable.a" + + "dmin.v2.ClusterB\004\342A\001\002\0225\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\321\001\n" + + "\027CreateAppProfileRequest\022>\n\006parent\030\001 \001(\t" + + "B.\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/" + + "Instance\022\034\n\016app_profile_id\030\002 \001(\tB\004\342A\001\002\022?" + + "\n\013app_profile\030\003 \001(\0132$.google.bigtable.ad" + + "min.v2.AppProfileB\004\342A\001\002\022\027\n\017ignore_warnin" + + "gs\030\004 \001(\010\"V\n\024GetAppProfileRequest\022>\n\004name" + + "\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadmin.googleapi" + + "s.com/AppProfile\"\177\n\026ListAppProfilesReque" + + "st\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadm" + + "in.googleapis.com/Instance\022\021\n\tpage_size\030" + + "\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListAppPro" + + "filesResponse\022:\n\014app_profiles\030\001 \003(\0132$.go" + + "ogle.bigtable.admin.v2.AppProfile\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\022\030\n\020failed_locations\030\003" + + " \003(\t\"\252\001\n\027UpdateAppProfileRequest\022?\n\013app_" + + "profile\030\001 \001(\0132$.google.bigtable.admin.v2" + + ".AppProfileB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\002\022\027\n\017igno" + + "re_warnings\030\003 \001(\010\"x\n\027DeleteAppProfileReq" + + "uest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadm" + + "in.googleapis.com/AppProfile\022\035\n\017ignore_w" + + "arnings\030\002 \001(\010B\004\342A\001\002\"\032\n\030UpdateAppProfileM" + + "etadata\"\333\001\n\025ListHotTabletsRequest\022=\n\006par" + + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + + "apis.com/Cluster\022.\n\nstart_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022\021\n\tpage_s" + + "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"k\n\026ListHot" + + "TabletsResponse\0228\n\013hot_tablets\030\001 \003(\0132#.g" + + "oogle.bigtable.admin.v2.HotTablet\022\027\n\017nex" + + "t_page_token\030\002 \001(\t2\313!\n\025BigtableInstanceA" + + "dmin\022\332\001\n\016CreateInstance\022/.google.bigtabl" + + "e.admin.v2.CreateInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"x\312A\"\n\010Instance\022\026" + + "CreateInstanceMetadata\332A$parent,instance" + + "_id,instance,clusters\202\323\344\223\002&\"!/v2/{parent" + + "=projects/*}/instances:\001*\022\221\001\n\013GetInstanc" + + "e\022,.google.bigtable.admin.v2.GetInstance" + + "Request\032\".google.bigtable.admin.v2.Insta" + + "nce\"0\332A\004name\202\323\344\223\002#\022!/v2/{name=projects/*" + + "/instances/*}\022\244\001\n\rListInstances\022..google" + + ".bigtable.admin.v2.ListInstancesRequest\032" + + "/.google.bigtable.admin.v2.ListInstances" + + "Response\"2\332A\006parent\202\323\344\223\002#\022!/v2/{parent=p" + + "rojects/*}/instances\022\206\001\n\016UpdateInstance\022" + + "\".google.bigtable.admin.v2.Instance\032\".go" + + "ogle.bigtable.admin.v2.Instance\",\202\323\344\223\002&\032" + + "!/v2/{name=projects/*/instances/*}:\001*\022\350\001" + + "\n\025PartialUpdateInstance\0226.google.bigtabl" + + "e.admin.v2.PartialUpdateInstanceRequest\032" + + "\035.google.longrunning.Operation\"x\312A\"\n\010Ins" + + "tance\022\026UpdateInstanceMetadata\332A\024instance" + + ",update_mask\202\323\344\223\00262*/v2/{instance.name=p" + + "rojects/*/instances/*}:\010instance\022\213\001\n\016Del" + + "eteInstance\022/.google.bigtable.admin.v2.D" + + "eleteInstanceRequest\032\026.google.protobuf.E" + + "mpty\"0\332A\004name\202\323\344\223\002#*!/v2/{name=projects/" + + "*/instances/*}\022\334\001\n\rCreateCluster\022..googl" + + "e.bigtable.admin.v2.CreateClusterRequest" + + "\032\035.google.longrunning.Operation\"|\312A \n\007Cl" + + "uster\022\025CreateClusterMetadata\332A\031parent,cl" + + "uster_id,cluster\202\323\344\223\0027\",/v2/{parent=proj" + + "ects/*/instances/*}/clusters:\007cluster\022\231\001" + + "\n\nGetCluster\022+.google.bigtable.admin.v2." + + "GetClusterRequest\032!.google.bigtable.admi" + + "n.v2.Cluster\";\332A\004name\202\323\344\223\002.\022,/v2/{name=p" + + "rojects/*/instances/*/clusters/*}\022\254\001\n\014Li" + + "stClusters\022-.google.bigtable.admin.v2.Li" + + "stClustersRequest\032..google.bigtable.admi" + + "n.v2.ListClustersResponse\"=\332A\006parent\202\323\344\223" + + "\002.\022,/v2/{parent=projects/*/instances/*}/" + + "clusters\022\255\001\n\rUpdateCluster\022!.google.bigt" + + "able.admin.v2.Cluster\032\035.google.longrunni" + + "ng.Operation\"Z\312A \n\007Cluster\022\025UpdateCluste" + + "rMetadata\202\323\344\223\0021\032,/v2/{name=projects/*/in" + + "stances/*/clusters/*}:\001*\022\364\001\n\024PartialUpda" + + "teCluster\0225.google.bigtable.admin.v2.Par" + + "tialUpdateClusterRequest\032\035.google.longru" + + "nning.Operation\"\205\001\312A\'\n\007Cluster\022\034PartialU" + + "pdateClusterMetadata\332A\023cluster,update_ma" + + "sk\202\323\344\223\002?24/v2/{cluster.name=projects/*/i" + + "nstances/*/clusters/*}:\007cluster\022\224\001\n\rDele" + + "teCluster\022..google.bigtable.admin.v2.Del" + + "eteClusterRequest\032\026.google.protobuf.Empt" + + "y\";\332A\004name\202\323\344\223\002.*,/v2/{name=projects/*/i" + + "nstances/*/clusters/*}\022\325\001\n\020CreateAppProf" + + "ile\0221.google.bigtable.admin.v2.CreateApp" + + "ProfileRequest\032$.google.bigtable.admin.v" + + "2.AppProfile\"h\332A!parent,app_profile_id,a" + + "pp_profile\202\323\344\223\002>\"//v2/{parent=projects/*" + + "/instances/*}/appProfiles:\013app_profile\022\245" + + "\001\n\rGetAppProfile\022..google.bigtable.admin" + + ".v2.GetAppProfileRequest\032$.google.bigtab" + + "le.admin.v2.AppProfile\">\332A\004name\202\323\344\223\0021\022//" + + "v2/{name=projects/*/instances/*/appProfi" + + "les/*}\022\270\001\n\017ListAppProfiles\0220.google.bigt" + + "able.admin.v2.ListAppProfilesRequest\0321.g" + + "oogle.bigtable.admin.v2.ListAppProfilesR" + + "esponse\"@\332A\006parent\202\323\344\223\0021\022//v2/{parent=pr" + + "ojects/*/instances/*}/appProfiles\022\372\001\n\020Up" + + "dateAppProfile\0221.google.bigtable.admin.v" + + "2.UpdateAppProfileRequest\032\035.google.longr" + + "unning.Operation\"\223\001\312A&\n\nAppProfile\022\030Upda" + + "teAppProfileMetadata\332A\027app_profile,updat" + + "e_mask\202\323\344\223\002J2;/v2/{app_profile.name=proj" + + "ects/*/instances/*/appProfiles/*}:\013app_p" + + "rofile\022\235\001\n\020DeleteAppProfile\0221.google.big" + + "table.admin.v2.DeleteAppProfileRequest\032\026" + + ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" + + "v2/{name=projects/*/instances/*/appProfi" + + "les/*}\022\223\001\n\014GetIamPolicy\022\".google.iam.v1." + + "GetIamPolicyRequest\032\025.google.iam.v1.Poli" + + "cy\"H\332A\010resource\202\323\344\223\0027\"2/v2/{resource=pro" + + "jects/*/instances/*}:getIamPolicy:\001*\022\232\001\n" + + "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" + + "cyRequest\032\025.google.iam.v1.Policy\"O\332A\017res" + + "ource,policy\202\323\344\223\0027\"2/v2/{resource=projec" + + "ts/*/instances/*}:setIamPolicy:\001*\022\305\001\n\022Te" + + "stIamPermissions\022(.google.iam.v1.TestIam" + + "PermissionsRequest\032).google.iam.v1.TestI" + + "amPermissionsResponse\"Z\332A\024resource,permi" + + "ssions\202\323\344\223\002=\"8/v2/{resource=projects/*/i" + + "nstances/*}:testIamPermissions:\001*\022\277\001\n\016Li" + + "stHotTablets\022/.google.bigtable.admin.v2." + + "ListHotTabletsRequest\0320.google.bigtable." + + "admin.v2.ListHotTabletsResponse\"J\332A\006pare" + + "nt\202\323\344\223\002;\0229/v2/{parent=projects/*/instanc" + + "es/*/clusters/*}/hotTablets\032\232\003\312A\034bigtabl" + + "eadmin.googleapis.com\322A\367\002https://www.goo" + + "gleapis.com/auth/bigtable.admin,https://" + + "www.googleapis.com/auth/bigtable.admin.c" + + "luster,https://www.googleapis.com/auth/b" + + "igtable.admin.instance,https://www.googl" + + "eapis.com/auth/cloud-bigtable.admin,http" + + "s://www.googleapis.com/auth/cloud-bigtab" + + "le.admin.cluster,https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\342\001\n\034com.google.bigtable.admin.v2B\032Bigta" + + "bleInstanceAdminProtoP\001Z=google.golang.o" + + "rg/genproto/googleapis/bigtable/admin/v2" + + ";admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312" + + "\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Googl" + + "e::Cloud::Bigtable::Admin::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.InstanceProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "Clusters", }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "FailedLocations", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, + new java.lang.String[] { "Instance", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", }); + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, + new java.lang.String[] { "Clusters", "FailedLocations", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", "Tables", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, + new java.lang.String[] { "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, + new java.lang.String[] { "RequestTime", "FinishTime", "OriginalRequest", }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, + new java.lang.String[] { "Cluster", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, + new java.lang.String[] { "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, + new java.lang.String[] { "AppProfiles", "NextPageToken", "FailedLocations", }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, + new java.lang.String[] { "AppProfile", "UpdateMask", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, + new java.lang.String[] { "Name", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, + new java.lang.String[] { "Parent", "StartTime", "EndTime", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, + new java.lang.String[] { "HotTablets", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java new file mode 100644 index 0000000000..09250497af --- /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,723 @@ +// 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\"\263\001\n\023RestoreTableRequest" + + "\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin" + + ".googleapis.com/Instance\022\026\n\010table_id\030\002 \001" + + "(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtablea" + + "dmin.googleapis.com/BackupH\000B\010\n\006source\"\230" + + "\002\n\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013source_type\030\002 \001(\0162+.google.bigtable.adm" + + "in.v2.RestoreSourceType\022;\n\013backup_info\030\003" + + " \001(\0132$.google.bigtable.admin.v2.BackupIn" + + "foH\000\022%\n\035optimize_table_operation_name\030\004 " + + "\001(\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable." + + "admin.v2.OperationProgressB\r\n\013source_inf" + + "o\"l\n\035OptimizeRestoredTableMetadata\022\014\n\004na" + + "me\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigt" + + "able.admin.v2.OperationProgress\"\204\002\n\022Crea" + + "teTableRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" + + "%bigtableadmin.googleapis.com/Instance\022\026" + + "\n\010table_id\030\002 \001(\tB\004\342A\001\002\0224\n\005table\030\003 \001(\0132\037." + + "google.bigtable.admin.v2.TableB\004\342A\001\002\022J\n\016" + + "initial_splits\030\004 \003(\01322.google.bigtable.a" + + "dmin.v2.CreateTableRequest.Split\032\024\n\005Spli" + + "t\022\013\n\003key\030\001 \001(\014\"\301\001\n\036CreateTableFromSnapsh" + + "otRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigt" + + "ableadmin.googleapis.com/Instance\022\026\n\010tab" + + "le_id\030\002 \001(\tB\004\342A\001\002\022G\n\017source_snapshot\030\003 \001" + + "(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.co" + + "m/Snapshot\"\232\001\n\023DropRowRangeRequest\0229\n\004na" + + "me\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googlea" + + "pis.com/Table\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022" + + "$\n\032delete_all_data_from_table\030\003 \001(\010H\000B\010\n" + + "\006target\"\256\001\n\021ListTablesRequest\022>\n\006parent\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Instance\0222\n\004view\030\002 \001(\0162$.google.big" + + "table.admin.v2.Table.View\022\021\n\tpage_size\030\004" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRe" + + "sponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable" + + ".admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\200\001\n\017GetTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + + "\372A$\n\"bigtableadmin.googleapis.com/Table\022" + + "2\n\004view\030\002 \001(\0162$.google.bigtable.admin.v2" + + ".Table.View\"\201\001\n\022UpdateTableRequest\0224\n\005ta" + + "ble\030\001 \001(\0132\037.google.bigtable.admin.v2.Tab" + + "leB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"\201\001\n\023UpdateTableM" + + "etadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"O\n\022D" + + "eleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$" + + "\n\"bigtableadmin.googleapis.com/Table\"Q\n\024" + + "UndeleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + + "\372A$\n\"bigtableadmin.googleapis.com/Table\"" + + "\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001(\t\022" + + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\"\341\002\n\033ModifyColumnFamiliesRe" + + "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022_\n\rmodification" + + "s\030\002 \003(\0132B.google.bigtable.admin.v2.Modif" + + "yColumnFamiliesRequest.ModificationB\004\342A\001" + + "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create" + + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + + "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab" + + "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010" + + "H\000B\005\n\003mod\"\\\n\037GenerateConsistencyTokenReq" + + "uest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadm" + + "in.googleapis.com/Table\"=\n GenerateConsi" + + "stencyTokenResponse\022\031\n\021consistency_token" + + "\030\001 \001(\t\"u\n\027CheckConsistencyRequest\0229\n\004nam" + + "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" + + "is.com/Table\022\037\n\021consistency_token\030\002 \001(\tB" + + "\004\342A\001\002\".\n\030CheckConsistencyResponse\022\022\n\ncon" + + "sistent\030\001 \001(\010\"\351\001\n\024SnapshotTableRequest\0229" + + "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goo" + + "gleapis.com/Table\022>\n\007cluster\030\002 \001(\tB-\342A\001\002" + + "\372A&\n$bigtableadmin.googleapis.com/Cluste" + + "r\022\031\n\013snapshot_id\030\003 \001(\tB\004\342A\001\002\022&\n\003ttl\030\004 \001(" + + "\0132\031.google.protobuf.Duration\022\023\n\013descript" + + "ion\030\005 \001(\t\"R\n\022GetSnapshotRequest\022<\n\004name\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Snapshot\"|\n\024ListSnapshotsRequest\022=\n" + + "\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.go" + + "ogleapis.com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsResp" + + "onse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigtabl" + + "e.admin.v2.Snapshot\022\027\n\017next_page_token\030\002" + + " \001(\t\"U\n\025DeleteSnapshotRequest\022<\n\004name\030\001 " + + "\001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.c" + + "om/Snapshot\"\304\001\n\025SnapshotTableMetadata\022H\n" + + "\020original_request\030\001 \001(\0132..google.bigtabl" + + "e.admin.v2.SnapshotTableRequest\0220\n\014reque" + + "st_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf" + + ".Timestamp\"\330\001\n\037CreateTableFromSnapshotMe" + + "tadata\022R\n\020original_request\030\001 \001(\01328.googl" + + "e.bigtable.admin.v2.CreateTableFromSnaps" + + "hotRequest\0220\n\014request_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022/\n\013finish_time\030\003 \001(" + + "\0132\032.google.protobuf.Timestamp\"\245\001\n\023Create" + + "BackupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$" + + "bigtableadmin.googleapis.com/Cluster\022\027\n\t" + + "backup_id\030\002 \001(\tB\004\342A\001\002\0226\n\006backup\030\003 \001(\0132 ." + + "google.bigtable.admin.v2.BackupB\004\342A\001\002\"\230\001" + + "\n\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014" + + "source_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\004" + + " \001(\0132\032.google.protobuf.Timestamp\"\204\001\n\023Upd" + + "ateBackupRequest\0226\n\006backup\030\001 \001(\0132 .googl" + + "e.bigtable.admin.v2.BackupB\004\342A\001\002\0225\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\004\342A\001\002\"N\n\020GetBackupRequest\022:\n\004name\030\001 \001(" + + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" + + "/Backup\"Q\n\023DeleteBackupRequest\022:\n\004name\030\001" + + " \001(\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis." + + "com/Backup\"\234\001\n\022ListBackupsRequest\022=\n\006par" + + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + + "apis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" + + "r_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_to" + + "ken\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007back" + + "ups\030\001 \003(\0132 .google.bigtable.admin.v2.Bac" + + "kup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Bigtabl" + + "eTableAdmin\022\253\001\n\013CreateTable\022,.google.big" + + "table.admin.v2.CreateTableRequest\032\037.goog" + + "le.bigtable.admin.v2.Table\"M\332A\025parent,ta" + + "ble_id,table\202\323\344\223\002/\"*/v2/{parent=projects" + + "/*/instances/*}/tables:\001*\022\212\002\n\027CreateTabl" + + "eFromSnapshot\0228.google.bigtable.admin.v2" + + ".CreateTableFromSnapshotRequest\032\035.google" + + ".longrunning.Operation\"\225\001\312A(\n\005Table\022\037Cre" + + "ateTableFromSnapshotMetadata\332A\037parent,ta" + + "ble_id,source_snapshot\202\323\344\223\002B\"=/v2/{paren" + + "t=projects/*/instances/*}/tables:createF" + + "romSnapshot:\001*\022\244\001\n\nListTables\022+.google.b" + + "igtable.admin.v2.ListTablesRequest\032,.goo" + + "gle.bigtable.admin.v2.ListTablesResponse" + + "\";\332A\006parent\202\323\344\223\002,\022*/v2/{parent=projects/" + + "*/instances/*}/tables\022\221\001\n\010GetTable\022).goo" + + "gle.bigtable.admin.v2.GetTableRequest\032\037." + + "google.bigtable.admin.v2.Table\"9\332A\004name\202" + + "\323\344\223\002,\022*/v2/{name=projects/*/instances/*/" + + "tables/*}\022\316\001\n\013UpdateTable\022,.google.bigta" + + "ble.admin.v2.UpdateTableRequest\032\035.google" + + ".longrunning.Operation\"r\312A\034\n\005Table\022\023Upda" + + "teTableMetadata\332A\021table,update_mask\202\323\344\223\002" + + "920/v2/{table.name=projects/*/instances/" + + "*/tables/*}:\005table\022\216\001\n\013DeleteTable\022,.goo" + + "gle.bigtable.admin.v2.DeleteTableRequest" + + "\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223\002,*" + + "*/v2/{name=projects/*/instances/*/tables" + + "/*}\022\306\001\n\rUndeleteTable\022..google.bigtable." + + "admin.v2.UndeleteTableRequest\032\035.google.l" + + "ongrunning.Operation\"f\312A\036\n\005Table\022\025Undele" + + "teTableMetadata\332A\004name\202\323\344\223\0028\"3/v2/{name=" + + "projects/*/instances/*/tables/*}:undelet" + + "e:\001*\022\317\001\n\024ModifyColumnFamilies\0225.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest\032\037.google.bigtable.admin.v2.Table\"_\332" + + "A\022name,modifications\202\323\344\223\002D\"?/v2/{name=pr" + + "ojects/*/instances/*/tables/*}:modifyCol" + + "umnFamilies:\001*\022\231\001\n\014DropRowRange\022-.google" + + ".bigtable.admin.v2.DropRowRangeRequest\032\026" + + ".google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{nam" + + "e=projects/*/instances/*/tables/*}:dropR" + + "owRange:\001*\022\350\001\n\030GenerateConsistencyToken\022" + + "9.google.bigtable.admin.v2.GenerateConsi" + + "stencyTokenRequest\032:.google.bigtable.adm" + + "in.v2.GenerateConsistencyTokenResponse\"U" + + "\332A\004name\202\323\344\223\002H\"C/v2/{name=projects/*/inst" + + "ances/*/tables/*}:generateConsistencyTok" + + "en:\001*\022\332\001\n\020CheckConsistency\0221.google.bigt" + + "able.admin.v2.CheckConsistencyRequest\0322." + + "google.bigtable.admin.v2.CheckConsistenc" + + "yResponse\"_\332A\026name,consistency_token\202\323\344\223" + + "\002@\";/v2/{name=projects/*/instances/*/tab" + + "les/*}:checkConsistency:\001*\022\352\001\n\rSnapshotT" + + "able\022..google.bigtable.admin.v2.Snapshot" + + "TableRequest\032\035.google.longrunning.Operat" + + "ion\"\211\001\312A!\n\010Snapshot\022\025SnapshotTableMetada" + + "ta\332A$name,cluster,snapshot_id,descriptio" + + "n\202\323\344\223\0028\"3/v2/{name=projects/*/instances/" + + "*/tables/*}:snapshot:\001*\022\250\001\n\013GetSnapshot\022" + + ",.google.bigtable.admin.v2.GetSnapshotRe" + + "quest\032\".google.bigtable.admin.v2.Snapsho" + + "t\"G\332A\004name\202\323\344\223\002:\0228/v2/{name=projects/*/i" + + "nstances/*/clusters/*/snapshots/*}\022\273\001\n\rL" + + "istSnapshots\022..google.bigtable.admin.v2." + + "ListSnapshotsRequest\032/.google.bigtable.a" + + "dmin.v2.ListSnapshotsResponse\"I\332A\006parent" + + "\202\323\344\223\002:\0228/v2/{parent=projects/*/instances" + + "/*/clusters/*}/snapshots\022\242\001\n\016DeleteSnaps" + + "hot\022/.google.bigtable.admin.v2.DeleteSna" + + "pshotRequest\032\026.google.protobuf.Empty\"G\332A" + + "\004name\202\323\344\223\002:*8/v2/{name=projects/*/instan" + + "ces/*/clusters/*/snapshots/*}\022\340\001\n\014Create" + + "Backup\022-.google.bigtable.admin.v2.Create" + + "BackupRequest\032\035.google.longrunning.Opera" + + "tion\"\201\001\312A\036\n\006Backup\022\024CreateBackupMetadata" + + "\332A\027parent,backup_id,backup\202\323\344\223\002@\"6/v2/{p" + + "arent=projects/*/instances/*/clusters/*}" + + "/backups:\006backup\022\240\001\n\tGetBackup\022*.google." + + "bigtable.admin.v2.GetBackupRequest\032 .goo" + + "gle.bigtable.admin.v2.Backup\"E\332A\004name\202\323\344" + + "\223\0028\0226/v2/{name=projects/*/instances/*/cl" + + "usters/*/backups/*}\022\303\001\n\014UpdateBackup\022-.g" + + "oogle.bigtable.admin.v2.UpdateBackupRequ" + + "est\032 .google.bigtable.admin.v2.Backup\"b\332" + + "A\022backup,update_mask\202\323\344\223\002G2=/v2/{backup." + + "name=projects/*/instances/*/clusters/*/b" + + "ackups/*}:\006backup\022\234\001\n\014DeleteBackup\022-.goo" + + "gle.bigtable.admin.v2.DeleteBackupReques" + + "t\032\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223\0028" + + "*6/v2/{name=projects/*/instances/*/clust" + + "ers/*/backups/*}\022\263\001\n\013ListBackups\022,.googl" + + "e.bigtable.admin.v2.ListBackupsRequest\032-" + + ".google.bigtable.admin.v2.ListBackupsRes" + + "ponse\"G\332A\006parent\202\323\344\223\0028\0226/v2/{parent=proj" + + "ects/*/instances/*/clusters/*}/backups\022\273" + + "\001\n\014RestoreTable\022-.google.bigtable.admin." + + "v2.RestoreTableRequest\032\035.google.longrunn" + + "ing.Operation\"]\312A\035\n\005Table\022\024RestoreTableM" + + "etadata\202\323\344\223\0027\"2/v2/{parent=projects/*/in" + + "stances/*}/tables:restore:\001*\022\354\001\n\014GetIamP" + + "olicy\022\".google.iam.v1.GetIamPolicyReques" + + "t\032\025.google.iam.v1.Policy\"\240\001\332A\010resource\202\323" + + "\344\223\002\216\001\";/v2/{resource=projects/*/instance" + + "s/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/{re" + + "source=projects/*/instances/*/clusters/*" + + "/backups/*}:getIamPolicy:\001*\022\363\001\n\014SetIamPo" + + "licy\022\".google.iam.v1.SetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"\247\001\332A\017resource,po" + + "licy\202\323\344\223\002\216\001\";/v2/{resource=projects/*/in" + + "stances/*/tables/*}:setIamPolicy:\001*ZL\"G/" + + "v2/{resource=projects/*/instances/*/clus" + + "ters/*/backups/*}:setIamPolicy:\001*\022\244\002\n\022Te" + + "stIamPermissions\022(.google.iam.v1.TestIam" + + "PermissionsRequest\032).google.iam.v1.TestI" + + "amPermissionsResponse\"\270\001\332A\024resource,perm" + + "issions\202\323\344\223\002\232\001\"A/v2/{resource=projects/*" + + "/instances/*/tables/*}:testIamPermission" + + "s:\001*ZR\"M/v2/{resource=projects/*/instanc" + + "es/*/clusters/*/backups/*}:testIamPermis" + + "sions:\001*\032\336\002\312A\034bigtableadmin.googleapis.c" + + "om\322A\273\002https://www.googleapis.com/auth/bi" + + "gtable.admin,https://www.googleapis.com/" + + "auth/bigtable.admin.table,https://www.go" + + "ogleapis.com/auth/cloud-bigtable.admin,h" + + "ttps://www.googleapis.com/auth/cloud-big" + + "table.admin.table,https://www.googleapis" + + ".com/auth/cloud-platform,https://www.goo" + + "gleapis.com/auth/cloud-platform.read-onl" + + "yB\337\001\n\034com.google.bigtable.admin.v2B\027Bigt" + + "ableTableAdminProtoP\001Z=google.golang.org" + + "/genproto/googleapis/bigtable/admin/v2;a" + + "dmin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036" + + "Google\\Cloud\\Bigtable\\Admin\\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.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/ChangeStreamConfig.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java index bb2148cf36..f2814becd4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java @@ -1,70 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Change stream configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ -public final class ChangeStreamConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeStreamConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ChangeStreamConfig) ChangeStreamConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeStreamConfig.newBuilder() to construct. private ChangeStreamConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ChangeStreamConfig() {} + private ChangeStreamConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeStreamConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } public static final int RETENTION_PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration retentionPeriod_; /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -74,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -82,8 +61,6 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -93,18 +70,13 @@ public boolean hasRetentionPeriod() {
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -117,13 +89,10 @@ public com.google.protobuf.Duration getRetentionPeriod() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
-    return retentionPeriod_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : retentionPeriod_;
+    return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -135,7 +104,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (retentionPeriod_ != null) {
       output.writeMessage(1, getRetentionPeriod());
     }
@@ -149,7 +119,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (retentionPeriod_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRetentionPeriod());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -159,17 +130,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ChangeStreamConfig)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ChangeStreamConfig other =
-        (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
+    com.google.bigtable.admin.v2.ChangeStreamConfig other = (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
 
     if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false;
     if (hasRetentionPeriod()) {
-      if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false;
+      if (!getRetentionPeriod()
+          .equals(other.getRetentionPeriod())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -191,136 +162,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.ChangeStreamConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Change stream configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ChangeStreamConfig) com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.ChangeStreamConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -334,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override @@ -355,11 +322,8 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { - com.google.bigtable.admin.v2.ChangeStreamConfig result = - new com.google.bigtable.admin.v2.ChangeStreamConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ChangeStreamConfig result = new com.google.bigtable.admin.v2.ChangeStreamConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,8 +331,9 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.retentionPeriod_ = - retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build(); + result.retentionPeriod_ = retentionPeriodBuilder_ == null + ? retentionPeriod_ + : retentionPeriodBuilder_.build(); } } @@ -376,39 +341,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ChangeStreamConfig) { - return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig)other); } else { super.mergeFrom(other); return this; @@ -416,8 +380,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ChangeStreamConfig other) { - if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) return this; if (other.hasRetentionPeriod()) { mergeRetentionPeriod(other.getRetentionPeriod()); } @@ -447,19 +410,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRetentionPeriodFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,18 +432,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration retentionPeriod_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - retentionPeriodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_; /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -490,15 +447,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -508,21 +462,16 @@ public boolean hasRetentionPeriod() {
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -547,8 +496,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -559,7 +506,8 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration retention_period = 1;
      */
-    public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setRetentionPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (retentionPeriodBuilder_ == null) {
         retentionPeriod_ = builderForValue.build();
       } else {
@@ -570,8 +518,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -584,9 +530,9 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo
      */
     public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       if (retentionPeriodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && retentionPeriod_ != null
-            && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          retentionPeriod_ != null &&
+          retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getRetentionPeriodBuilder().mergeFrom(value);
         } else {
           retentionPeriod_ = value;
@@ -599,8 +545,6 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -622,8 +566,6 @@ public Builder clearRetentionPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -640,8 +582,6 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() {
       return getRetentionPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -656,14 +596,11 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
       if (retentionPeriodBuilder_ != null) {
         return retentionPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return retentionPeriod_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : retentionPeriod_;
+        return retentionPeriod_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
       }
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -675,24 +612,21 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
      * .google.protobuf.Duration retention_period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getRetentionPeriodFieldBuilder() {
       if (retentionPeriodBuilder_ == null) {
-        retentionPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getRetentionPeriod(), getParentForChildren(), isClean());
+        retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getRetentionPeriod(),
+                getParentForChildren(),
+                isClean());
         retentionPeriod_ = null;
       }
       return retentionPeriodBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -702,12 +636,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   private static final com.google.bigtable.admin.v2.ChangeStreamConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ChangeStreamConfig();
   }
@@ -716,27 +650,27 @@ public static com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ChangeStreamConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ChangeStreamConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -751,4 +685,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
index 41e39d051b..dbaf06f99d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface ChangeStreamConfigOrBuilder
-    extends
+public interface ChangeStreamConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ChangeStreamConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -35,13 +17,10 @@ public interface ChangeStreamConfigOrBuilder
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -51,13 +30,10 @@ public interface ChangeStreamConfigOrBuilder
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
similarity index 67%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
index 7f6a9637f4..b59e1ae55d 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,42 +27,35 @@ private CheckConsistencyRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,18 +97,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object consistencyToken_ = ""; /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ @java.lang.Override @@ -144,29 +113,29 @@ public java.lang.String getConsistencyToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; } } /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ @java.lang.Override - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -175,7 +144,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -217,16 +186,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CheckConsistencyRequest other = - (com.google.bigtable.admin.v2.CheckConsistencyRequest) obj; + com.google.bigtable.admin.v2.CheckConsistencyRequest other = (com.google.bigtable.admin.v2.CheckConsistencyRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getConsistencyToken().equals(other.getConsistencyToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getConsistencyToken() + .equals(other.getConsistencyToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,103 +218,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CheckConsistencyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -352,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CheckConsistencyRequest)
       com.google.bigtable.admin.v2.CheckConsistencyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
-              com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+              com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CheckConsistencyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +354,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -409,11 +375,8 @@ public com.google.bigtable.admin.v2.CheckConsistencyRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyRequest buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyRequest result =
-          new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CheckConsistencyRequest result = new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -472,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CheckConsistencyRequest other) {
-      if (other == com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -510,25 +471,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              consistencyToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,29 +496,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -569,25 +522,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -595,43 +545,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -641,25 +580,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -669,20 +602,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object consistencyToken_ = ""; /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -691,21 +622,20 @@ public java.lang.String getConsistencyToken() { } } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -713,35 +643,28 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -751,30 +674,26 @@ public Builder clearConsistencyToken() { return this; } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -784,12 +703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CheckConsistencyRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CheckConsistencyRequest) private static final com.google.bigtable.admin.v2.CheckConsistencyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CheckConsistencyRequest(); } @@ -798,27 +717,27 @@ public static com.google.bigtable.admin.v2.CheckConsistencyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckConsistencyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckConsistencyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,4 +752,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java index 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 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java index cd6419cbe3..91685123bc 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
  */
-public final class CheckConsistencyResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckConsistencyResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
     CheckConsistencyResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckConsistencyResponse.newBuilder() to construct.
   private CheckConsistencyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CheckConsistencyResponse() {}
+  private CheckConsistencyResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
   }
 
   public static final int CONSISTENT_FIELD_NUMBER = 1;
   private boolean consistent_ = false;
   /**
-   *
-   *
    * 
    * True only if the token is consistent. A token is consistent if replication
    * has caught up with the restrictions specified in the request.
    * 
* * bool consistent = 1; - * * @return The consistent. */ @java.lang.Override @@ -81,7 +60,6 @@ public boolean getConsistent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (consistent_ != false) { output.writeBool(1, consistent_); } @@ -107,7 +86,8 @@ public int getSerializedSize() { size = 0; if (consistent_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, consistent_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, consistent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CheckConsistencyResponse other = - (com.google.bigtable.admin.v2.CheckConsistencyResponse) obj; + com.google.bigtable.admin.v2.CheckConsistencyResponse other = (com.google.bigtable.admin.v2.CheckConsistencyResponse) obj; - if (getConsistent() != other.getConsistent()) return false; + if (getConsistent() + != other.getConsistent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -138,111 +118,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CONSISTENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConsistent()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getConsistent()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CheckConsistencyResponse prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CheckConsistencyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -250,32 +225,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
       com.google.bigtable.admin.v2.CheckConsistencyResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
-              com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+              com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CheckConsistencyResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -285,9 +261,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
     }
 
     @java.lang.Override
@@ -306,11 +282,8 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyResponse buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyResponse result =
-          new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CheckConsistencyResponse result = new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -326,39 +299,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -366,8 +338,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CheckConsistencyResponse other) {
-      if (other == com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance()) return this;
       if (other.getConsistent() != false) {
         setConsistent(other.getConsistent());
       }
@@ -397,19 +368,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                consistent_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              consistent_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,20 +388,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean consistent_;
+    private boolean consistent_ ;
     /**
-     *
-     *
      * 
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @return The consistent. */ @java.lang.Override @@ -440,15 +405,12 @@ public boolean getConsistent() { return consistent_; } /** - * - * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @param value The consistent to set. * @return This builder for chaining. */ @@ -460,15 +422,12 @@ public Builder setConsistent(boolean value) { return this; } /** - * - * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @return This builder for chaining. */ public Builder clearConsistent() { @@ -477,9 +436,9 @@ public Builder clearConsistent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -489,12 +448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CheckConsistencyResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CheckConsistencyResponse) private static final com.google.bigtable.admin.v2.CheckConsistencyResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CheckConsistencyResponse(); } @@ -503,27 +462,27 @@ public static com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckConsistencyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckConsistencyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -538,4 +497,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java new file mode 100644 index 0000000000..b2ae3cc51b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface CheckConsistencyResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * True only if the token is consistent. A token is consistent if replication
+   * has caught up with the restrictions specified in the request.
+   * 
+ * + * bool consistent = 1; + * @return The consistent. + */ + boolean getConsistent(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index e2bb1f618a..fdf153c273 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A resizable group of nodes in a particular cloud location, capable
  * of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Cluster}
  */
-public final class Cluster extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cluster extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster)
     ClusterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cluster() {
     name_ = "";
     location_ = "";
@@ -48,38 +30,34 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Cluster.class,
-            com.google.bigtable.admin.v2.Cluster.Builder.class);
+            com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a cluster.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Cluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the cluster could not be determined.
      * 
@@ -88,8 +66,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -98,8 +74,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(2),
     /**
-     *
-     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -124,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RESIZING(3),
     /**
-     *
-     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -138,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the cluster could not be determined.
      * 
@@ -148,8 +116,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -158,8 +124,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -170,8 +134,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -184,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RESIZING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -195,6 +155,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -219,53 +180,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        case 3:
-          return RESIZING;
-        case 4:
-          return DISABLED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        case 3: return RESIZING;
+        case 4: return DISABLED;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,148 +241,111 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Cluster.State)
   }
 
-  public interface ClusterAutoscalingConfigOrBuilder
-      extends
+  public interface ClusterAutoscalingConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ boolean hasAutoscalingLimits(); /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits(); /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ boolean hasAutoscalingTargets(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder(); } /** - * - * *
    * Autoscaling config for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class ClusterAutoscalingConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterAutoscalingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) ClusterAutoscalingConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterAutoscalingConfig.newBuilder() to construct. private ClusterAutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClusterAutoscalingConfig() {} + private ClusterAutoscalingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterAutoscalingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } public static final int AUTOSCALING_LIMITS_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ @java.lang.Override @@ -431,55 +353,37 @@ public boolean hasAutoscalingLimits() { return autoscalingLimits_ != null; } /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } public static final int AUTOSCALING_TARGETS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ @java.lang.Override @@ -487,45 +391,30 @@ public boolean hasAutoscalingTargets() { return autoscalingTargets_ != null; } /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,7 +426,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (autoscalingLimits_ != null) { output.writeMessage(1, getAutoscalingLimits()); } @@ -554,11 +444,12 @@ public int getSerializedSize() { size = 0; if (autoscalingLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAutoscalingLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAutoscalingLimits()); } if (autoscalingTargets_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAutoscalingTargets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAutoscalingTargets()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -568,21 +459,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other = - (com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) obj; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other = (com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) obj; if (hasAutoscalingLimits() != other.hasAutoscalingLimits()) return false; if (hasAutoscalingLimits()) { - if (!getAutoscalingLimits().equals(other.getAutoscalingLimits())) return false; + if (!getAutoscalingLimits() + .equals(other.getAutoscalingLimits())) return false; } if (hasAutoscalingTargets() != other.hasAutoscalingTargets()) return false; if (hasAutoscalingTargets()) { - if (!getAutoscalingTargets().equals(other.getAutoscalingTargets())) return false; + if (!getAutoscalingTargets() + .equals(other.getAutoscalingTargets())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -609,94 +501,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -706,41 +593,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Autoscaling config for a cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -759,14 +644,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { return com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance(); } @@ -781,29 +665,23 @@ public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = - new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { + private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.autoscalingLimits_ = - autoscalingLimitsBuilder_ == null - ? autoscalingLimits_ - : autoscalingLimitsBuilder_.build(); + result.autoscalingLimits_ = autoscalingLimitsBuilder_ == null + ? autoscalingLimits_ + : autoscalingLimitsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.autoscalingTargets_ = - autoscalingTargetsBuilder_ == null - ? autoscalingTargets_ - : autoscalingTargetsBuilder_.build(); + result.autoscalingTargets_ = autoscalingTargetsBuilder_ == null + ? autoscalingTargets_ + : autoscalingTargetsBuilder_.build(); } } @@ -811,52 +689,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other) { - if (other - == com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other) { + if (other == com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) return this; if (other.hasAutoscalingLimits()) { mergeAutoscalingLimits(other.getAutoscalingLimits()); } @@ -889,27 +761,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAutoscalingLimitsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -919,63 +790,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> - autoscalingLimitsBuilder_; + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> autoscalingLimitsBuilder_; /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { if (autoscalingLimitsBuilder_ == null) { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } else { return autoscalingLimitsBuilder_.getMessage(); } } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { @@ -991,15 +842,11 @@ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimi return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits( com.google.bigtable.admin.v2.AutoscalingLimits.Builder builderForValue) { @@ -1013,22 +860,17 @@ public Builder setAutoscalingLimits( return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && autoscalingLimits_ != null - && autoscalingLimits_ - != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + autoscalingLimits_ != null && + autoscalingLimits_ != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { getAutoscalingLimitsBuilder().mergeFrom(value); } else { autoscalingLimits_ = value; @@ -1041,15 +883,11 @@ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLi return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingLimits() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1062,15 +900,11 @@ public Builder clearAutoscalingLimits() { return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimitsBuilder() { bitField0_ |= 0x00000001; @@ -1078,49 +912,36 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi return getAutoscalingLimitsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder - getAutoscalingLimitsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { if (autoscalingLimitsBuilder_ != null) { return autoscalingLimitsBuilder_.getMessageOrBuilder(); } else { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? + com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> getAutoscalingLimitsFieldBuilder() { if (autoscalingLimitsBuilder_ == null) { - autoscalingLimitsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( - getAutoscalingLimits(), getParentForChildren(), isClean()); + autoscalingLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( + getAutoscalingLimits(), + getParentForChildren(), + isClean()); autoscalingLimits_ = null; } return autoscalingLimitsBuilder_; @@ -1128,58 +949,39 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> - autoscalingTargetsBuilder_; + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> autoscalingTargetsBuilder_; /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ public boolean hasAutoscalingTargets() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { if (autoscalingTargetsBuilder_ == null) { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } else { return autoscalingTargetsBuilder_.getMessage(); } } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { @@ -1195,15 +997,11 @@ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTar return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets( com.google.bigtable.admin.v2.AutoscalingTargets.Builder builderForValue) { @@ -1217,23 +1015,17 @@ public Builder setAutoscalingTargets( return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscalingTargets( - com.google.bigtable.admin.v2.AutoscalingTargets value) { + public Builder mergeAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && autoscalingTargets_ != null - && autoscalingTargets_ - != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + autoscalingTargets_ != null && + autoscalingTargets_ != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { getAutoscalingTargetsBuilder().mergeFrom(value); } else { autoscalingTargets_ = value; @@ -1246,15 +1038,11 @@ public Builder mergeAutoscalingTargets( return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingTargets() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1267,71 +1055,52 @@ public Builder clearAutoscalingTargets() { return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingTargets.Builder - getAutoscalingTargetsBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargets.Builder getAutoscalingTargetsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAutoscalingTargetsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { if (autoscalingTargetsBuilder_ != null) { return autoscalingTargetsBuilder_.getMessageOrBuilder(); } else { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? + com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> getAutoscalingTargetsFieldBuilder() { if (autoscalingTargetsBuilder_ == null) { - autoscalingTargetsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( - getAutoscalingTargets(), getParentForChildren(), isClean()); + autoscalingTargetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( + getAutoscalingTargets(), + getParentForChildren(), + isClean()); autoscalingTargets_ = null; } return autoscalingTargetsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1344,44 +1113,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) - private static final com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstance() { + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscalingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscalingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1393,114 +1159,90 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClusterConfigOrBuilder - extends + public interface ClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ boolean hasClusterAutoscalingConfig(); /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig(); /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder(); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder(); } /** - * - * *
    * Configuration for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class ClusterConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) ClusterConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterConfig.newBuilder() to construct. private ClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClusterConfig() {} + private ClusterConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } public static final int CLUSTER_AUTOSCALING_CONFIG_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ @java.lang.Override @@ -1508,46 +1250,30 @@ public boolean hasClusterAutoscalingConfig() { return clusterAutoscalingConfig_ != null; } /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getClusterAutoscalingConfig() { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder() { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1559,7 +1285,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (clusterAutoscalingConfig_ != null) { output.writeMessage(1, getClusterAutoscalingConfig()); } @@ -1573,9 +1300,8 @@ public int getSerializedSize() { size = 0; if (clusterAutoscalingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getClusterAutoscalingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getClusterAutoscalingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1585,18 +1311,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.ClusterConfig other = - (com.google.bigtable.admin.v2.Cluster.ClusterConfig) obj; + com.google.bigtable.admin.v2.Cluster.ClusterConfig other = (com.google.bigtable.admin.v2.Cluster.ClusterConfig) obj; if (hasClusterAutoscalingConfig() != other.hasClusterAutoscalingConfig()) return false; if (hasClusterAutoscalingConfig()) { - if (!getClusterAutoscalingConfig().equals(other.getClusterAutoscalingConfig())) - return false; + if (!getClusterAutoscalingConfig() + .equals(other.getClusterAutoscalingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1619,93 +1344,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.ClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1715,41 +1436,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for a cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1763,9 +1482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override @@ -1784,11 +1503,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterConfig result = - new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.Cluster.ClusterConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1796,10 +1512,9 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.clusterAutoscalingConfig_ = - clusterAutoscalingConfigBuilder_ == null - ? clusterAutoscalingConfig_ - : clusterAutoscalingConfigBuilder_.build(); + result.clusterAutoscalingConfig_ = clusterAutoscalingConfigBuilder_ == null + ? clusterAutoscalingConfig_ + : clusterAutoscalingConfigBuilder_.build(); } } @@ -1807,41 +1522,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig)other); } else { super.mergeFrom(other); return this; @@ -1849,8 +1561,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.ClusterConfig other) { - if (other == com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) return this; if (other.hasClusterAutoscalingConfig()) { mergeClusterAutoscalingConfig(other.getClusterAutoscalingConfig()); } @@ -1880,20 +1591,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getClusterAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getClusterAutoscalingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1903,68 +1613,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - clusterAutoscalingConfig_; + private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> - clusterAutoscalingConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> clusterAutoscalingConfigBuilder_; /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ public boolean hasClusterAutoscalingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getClusterAutoscalingConfig() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { if (clusterAutoscalingConfigBuilder_ == null) { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } else { return clusterAutoscalingConfigBuilder_.getMessage(); } } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public Builder setClusterAutoscalingConfig( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder setClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1978,15 +1665,11 @@ public Builder setClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ public Builder setClusterAutoscalingConfig( com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder builderForValue) { @@ -2000,24 +1683,17 @@ public Builder setClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public Builder mergeClusterAutoscalingConfig( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder mergeClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && clusterAutoscalingConfig_ != null - && clusterAutoscalingConfig_ - != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + clusterAutoscalingConfig_ != null && + clusterAutoscalingConfig_ != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) { getClusterAutoscalingConfigBuilder().mergeFrom(value); } else { clusterAutoscalingConfig_ = value; @@ -2030,15 +1706,11 @@ public Builder mergeClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ public Builder clearClusterAutoscalingConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2051,71 +1723,52 @@ public Builder clearClusterAutoscalingConfig() { return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder - getClusterAutoscalingConfigBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder getClusterAutoscalingConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getClusterAutoscalingConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { if (clusterAutoscalingConfigBuilder_ != null) { return clusterAutoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null ? + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> getClusterAutoscalingConfigFieldBuilder() { if (clusterAutoscalingConfigBuilder_ == null) { - clusterAutoscalingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( - getClusterAutoscalingConfig(), getParentForChildren(), isClean()); + clusterAutoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( + getClusterAutoscalingConfig(), + getParentForChildren(), + isClean()); clusterAutoscalingConfig_ = null; } return clusterAutoscalingConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2128,12 +1781,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.ClusterConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.ClusterConfig) private static final com.google.bigtable.admin.v2.Cluster.ClusterConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(); } @@ -2142,28 +1795,27 @@ public static com.google.bigtable.admin.v2.Cluster.ClusterConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2178,16 +1830,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.ClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EncryptionConfigOrBuilder - extends + public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2202,13 +1852,10 @@ public interface EncryptionConfigOrBuilder
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2223,14 +1870,12 @@ public interface EncryptionConfigOrBuilder
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } /** - * - * *
    * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
    * cluster.
@@ -2238,48 +1883,43 @@ public interface EncryptionConfigOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.Cluster.EncryptionConfig}
    */
-  public static final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class EncryptionConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.EncryptionConfig)
       EncryptionConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use EncryptionConfig.newBuilder() to construct.
     private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private EncryptionConfig() {
       kmsKeyName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new EncryptionConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
     }
 
     public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object kmsKeyName_ = "";
     /**
-     *
-     *
      * 
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2294,7 +1934,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ @java.lang.Override @@ -2303,15 +1942,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2326,15 +1964,16 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -2343,7 +1982,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2355,7 +1993,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -2379,15 +2018,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.EncryptionConfig other = - (com.google.bigtable.admin.v2.Cluster.EncryptionConfig) obj; + com.google.bigtable.admin.v2.Cluster.EncryptionConfig other = (com.google.bigtable.admin.v2.Cluster.EncryptionConfig) obj; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2407,94 +2046,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2504,8 +2138,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
      * cluster.
@@ -2513,33 +2145,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.Cluster.EncryptionConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.EncryptionConfig)
         com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
-                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2549,9 +2181,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2570,11 +2202,8 @@ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.Cluster.EncryptionConfig buildPartial() {
-        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result =
-            new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2590,41 +2219,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.EncryptionConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig) {
-          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig) other);
+          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2632,8 +2258,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.EncryptionConfig other) {
-        if (other == com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) return this;
         if (!other.getKmsKeyName().isEmpty()) {
           kmsKeyName_ = other.kmsKeyName_;
           bitField0_ |= 0x00000001;
@@ -2665,19 +2290,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  kmsKeyName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                kmsKeyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2687,13 +2310,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object kmsKeyName_ = "";
       /**
-       *
-       *
        * 
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2708,13 +2328,13 @@ public Builder mergeFrom(
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -2723,8 +2343,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2739,14 +2357,15 @@ public java.lang.String getKmsKeyName() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -2754,8 +2373,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2770,22 +2387,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2800,7 +2413,6 @@ public Builder setKmsKeyName(java.lang.String value) {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -2810,8 +2422,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2826,21 +2436,18 @@ public Builder clearKmsKeyName() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2853,12 +2460,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.EncryptionConfig) private static final com.google.bigtable.admin.v2.Cluster.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(); } @@ -2867,28 +2474,27 @@ public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2903,21 +2509,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int configCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object config_; - public enum ConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLUSTER_CONFIG(7), CONFIG_NOT_SET(0); private final int value; - private ConfigCase(int value) { this.value = value; } @@ -2933,38 +2536,32 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 7: - return CLUSTER_CONFIG; - case 0: - return CONFIG_NOT_SET; - default: - return null; + case 7: return CLUSTER_CONFIG; + case 0: return CONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2973,30 +2570,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3005,12 +2602,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LOCATION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -3018,10 +2612,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -3030,15 +2621,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -3046,18 +2636,17 @@ public java.lang.String getLocation() {
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3068,54 +2657,38 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } public static final int SERVE_NODES_FIELD_NUMBER = 4; private int serveNodes_ = 0; /** - * - * *
    * The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ @java.lang.Override @@ -3125,14 +2698,11 @@ public int getServeNodes() { public static final int CLUSTER_CONFIG_FIELD_NUMBER = 7; /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -3140,26 +2710,21 @@ public boolean hasClusterConfig() { return configCase_ == 7; } /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { if (configCase_ == 7) { - return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; + return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; } return com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } /** - * - * *
    * Configuration for this cluster.
    * 
@@ -3169,7 +2734,7 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder() { if (configCase_ == 7) { - return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; + return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; } return com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } @@ -3177,57 +2742,39 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER = 5; private int defaultStorageType_ = 0; /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override - public int getDefaultStorageTypeValue() { + @java.lang.Override public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3235,45 +2782,30 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3285,7 +2817,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3298,8 +2831,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (serveNodes_ != 0) { output.writeInt32(4, serveNodes_); } - if (defaultStorageType_ - != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { + if (defaultStorageType_ != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, defaultStorageType_); } if (encryptionConfig_ != null) { @@ -3324,22 +2856,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_); } if (state_ != com.google.bigtable.admin.v2.Cluster.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (serveNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, serveNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, serveNodes_); } - if (defaultStorageType_ - != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, defaultStorageType_); + if (defaultStorageType_ != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, defaultStorageType_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEncryptionConfig()); } if (configCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3349,26 +2883,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster)) { return super.equals(obj); } com.google.bigtable.admin.v2.Cluster other = (com.google.bigtable.admin.v2.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (state_ != other.state_) return false; - if (getServeNodes() != other.getServeNodes()) return false; + if (getServeNodes() + != other.getServeNodes()) return false; if (defaultStorageType_ != other.defaultStorageType_) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 7: - if (!getClusterConfig().equals(other.getClusterConfig())) return false; + if (!getClusterConfig() + .equals(other.getClusterConfig())) return false; break; case 0: default: @@ -3411,103 +2950,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Cluster parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resizable group of nodes in a particular cloud location, capable
    * of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
@@ -3516,32 +3051,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Cluster}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster)
       com.google.bigtable.admin.v2.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.class,
-              com.google.bigtable.admin.v2.Cluster.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Cluster.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3565,9 +3101,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -3587,9 +3123,7 @@ public com.google.bigtable.admin.v2.Cluster build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Cluster buildPartial() {
       com.google.bigtable.admin.v2.Cluster result = new com.google.bigtable.admin.v2.Cluster(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3613,15 +3147,17 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster result) {
         result.defaultStorageType_ = defaultStorageType_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
       result.configCase_ = configCase_;
       result.config_ = this.config_;
-      if (configCase_ == 7 && clusterConfigBuilder_ != null) {
+      if (configCase_ == 7 &&
+          clusterConfigBuilder_ != null) {
         result.config_ = clusterConfigBuilder_.build();
       }
     }
@@ -3630,39 +3166,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Cluster) {
-        return mergeFrom((com.google.bigtable.admin.v2.Cluster) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Cluster)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3694,15 +3229,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster other) {
         mergeEncryptionConfig(other.getEncryptionConfig());
       }
       switch (other.getConfigCase()) {
-        case CLUSTER_CONFIG:
-          {
-            mergeClusterConfig(other.getClusterConfig());
-            break;
-          }
-        case CONFIG_NOT_SET:
-          {
-            break;
-          }
+        case CLUSTER_CONFIG: {
+          mergeClusterConfig(other.getClusterConfig());
+          break;
+        }
+        case CONFIG_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3730,56 +3263,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                serveNodes_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                defaultStorageType_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
-                configCase_ = 7;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              serveNodes_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              defaultStorageType_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getClusterConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              configCase_ = 7;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3789,12 +3317,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int configCase_ = 0;
     private java.lang.Object config_;
-
-    public ConfigCase getConfigCase() {
-      return ConfigCase.forNumber(configCase_);
+    public ConfigCase
+        getConfigCase() {
+      return ConfigCase.forNumber(
+          configCase_);
     }
 
     public Builder clearConfig() {
@@ -3808,21 +3336,19 @@ public Builder clearConfig() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3831,22 +3357,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3854,37 +3379,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3894,22 +3412,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3919,8 +3433,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3928,16 +3440,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -3946,8 +3456,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3955,17 +3463,16 @@ public java.lang.String getLocation() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3973,8 +3480,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3982,25 +3487,19 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -4008,10 +3507,7 @@ public Builder setLocation(java.lang.String value) {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { @@ -4021,8 +3517,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -4030,17 +3524,13 @@ public Builder clearLocation() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000002; @@ -4050,33 +3540,22 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4087,35 +3566,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4129,16 +3597,11 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4148,17 +3611,14 @@ public Builder clearState() { return this; } - private int serveNodes_; + private int serveNodes_ ; /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ @java.lang.Override @@ -4166,15 +3626,12 @@ public int getServeNodes() { return serveNodes_; } /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @param value The serveNodes to set. * @return This builder for chaining. */ @@ -4186,15 +3643,12 @@ public Builder setServeNodes(int value) { return this; } /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @return This builder for chaining. */ public Builder clearServeNodes() { @@ -4205,19 +3659,13 @@ public Builder clearServeNodes() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> - clusterConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> clusterConfigBuilder_; /** - * - * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -4225,14 +3673,11 @@ public boolean hasClusterConfig() { return configCase_ == 7; } /** - * - * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ @java.lang.Override @@ -4250,8 +3695,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4272,8 +3715,6 @@ public Builder setClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConf return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4292,8 +3733,6 @@ public Builder setClusterConfig( return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4302,13 +3741,10 @@ public Builder setClusterConfig( */ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConfig value) { if (clusterConfigBuilder_ == null) { - if (configCase_ == 7 - && config_ != com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) { - config_ = - com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder( - (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_) - .mergeFrom(value) - .buildPartial(); + if (configCase_ == 7 && + config_ != com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) { + config_ = com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder((com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_) + .mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -4324,8 +3760,6 @@ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterCo return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4349,8 +3783,6 @@ public Builder clearClusterConfig() { return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4361,8 +3793,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder getClusterConf return getClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4381,8 +3811,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4390,19 +3818,14 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> getClusterConfigFieldBuilder() { if (clusterConfigBuilder_ == null) { if (!(configCase_ == 7)) { config_ = com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } - clusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder>( + clusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder>( (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_, getParentForChildren(), isClean()); @@ -4415,35 +3838,24 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon private int defaultStorageType_ = 0; /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override - public int getDefaultStorageTypeValue() { + @java.lang.Override public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for defaultStorageType to set. * @return This builder for chaining. */ @@ -4454,37 +3866,26 @@ public Builder setDefaultStorageTypeValue(int value) { return this; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The defaultStorageType to set. * @return This builder for chaining. */ @@ -4498,17 +3899,12 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va return this; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDefaultStorageType() { @@ -4520,61 +3916,41 @@ public Builder clearDefaultStorageType() { private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setEncryptionConfig( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4588,15 +3964,11 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setEncryptionConfig( com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder builderForValue) { @@ -4610,23 +3982,17 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeEncryptionConfig( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4639,15 +4005,11 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4660,73 +4022,55 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000040; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4736,12 +4080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster) private static final com.google.bigtable.admin.v2.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster(); } @@ -4750,27 +4094,27 @@ public static com.google.bigtable.admin.v2.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4785,4 +4129,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java index 5e62cb1024..07329a642d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 6d8484ed1c..bf05b806b4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java @@ -1,70 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A set of columns within a table which share a common configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ -public final class ColumnFamily extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ColumnFamily extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ColumnFamily) ColumnFamilyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ColumnFamily.newBuilder() to construct. private ColumnFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ColumnFamily() {} + private ColumnFamily() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ColumnFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, - com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } public static final int GC_RULE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.GcRule gcRule_; /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ @java.lang.Override @@ -83,8 +62,6 @@ public boolean hasGcRule() { return gcRule_ != null; } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -95,7 +72,6 @@ public boolean hasGcRule() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ @java.lang.Override @@ -103,8 +79,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_; } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -122,7 +96,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -134,7 +107,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (gcRule_ != null) {
       output.writeMessage(1, getGcRule());
     }
@@ -148,7 +122,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (gcRule_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcRule());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getGcRule());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -158,17 +133,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ColumnFamily)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ColumnFamily other =
-        (com.google.bigtable.admin.v2.ColumnFamily) obj;
+    com.google.bigtable.admin.v2.ColumnFamily other = (com.google.bigtable.admin.v2.ColumnFamily) obj;
 
     if (hasGcRule() != other.hasGcRule()) return false;
     if (hasGcRule()) {
-      if (!getGcRule().equals(other.getGcRule())) return false;
+      if (!getGcRule()
+          .equals(other.getGcRule())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -190,136 +165,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.ColumnFamily prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A set of columns within a table which share a common configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ColumnFamily) com.google.bigtable.admin.v2.ColumnFamilyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, - com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } // Construct using com.google.bigtable.admin.v2.ColumnFamily.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override @@ -354,11 +325,8 @@ public com.google.bigtable.admin.v2.ColumnFamily build() { @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { - com.google.bigtable.admin.v2.ColumnFamily result = - new com.google.bigtable.admin.v2.ColumnFamily(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ColumnFamily result = new com.google.bigtable.admin.v2.ColumnFamily(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -366,7 +334,9 @@ public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.gcRule_ = gcRuleBuilder_ == null ? gcRule_ : gcRuleBuilder_.build(); + result.gcRule_ = gcRuleBuilder_ == null + ? gcRule_ + : gcRuleBuilder_.build(); } } @@ -374,39 +344,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ColumnFamily) { - return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily) other); + return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily)other); } else { super.mergeFrom(other); return this; @@ -444,19 +413,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcRuleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcRuleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,18 +435,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.GcRule gcRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - gcRuleBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> gcRuleBuilder_; /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -488,15 +451,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ public boolean hasGcRule() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -507,7 +467,6 @@ public boolean hasGcRule() {
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ public com.google.bigtable.admin.v2.GcRule getGcRule() { @@ -518,8 +477,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { } } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -545,8 +502,6 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -558,7 +513,8 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule value) {
      *
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
-    public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) {
+    public Builder setGcRule(
+        com.google.bigtable.admin.v2.GcRule.Builder builderForValue) {
       if (gcRuleBuilder_ == null) {
         gcRule_ = builderForValue.build();
       } else {
@@ -569,8 +525,6 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -584,9 +538,9 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForV
      */
     public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       if (gcRuleBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && gcRule_ != null
-            && gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          gcRule_ != null &&
+          gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
           getGcRuleBuilder().mergeFrom(value);
         } else {
           gcRule_ = value;
@@ -599,8 +553,6 @@ public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -623,8 +575,6 @@ public Builder clearGcRule() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -642,8 +592,6 @@ public com.google.bigtable.admin.v2.GcRule.Builder getGcRuleBuilder() {
       return getGcRuleFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -659,12 +607,11 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
       if (gcRuleBuilder_ != null) {
         return gcRuleBuilder_.getMessageOrBuilder();
       } else {
-        return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
+        return gcRule_ == null ?
+            com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
       }
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -677,24 +624,21 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.GcRule,
-            com.google.bigtable.admin.v2.GcRule.Builder,
-            com.google.bigtable.admin.v2.GcRuleOrBuilder>
+        com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> 
         getGcRuleFieldBuilder() {
       if (gcRuleBuilder_ == null) {
-        gcRuleBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.GcRule,
-                com.google.bigtable.admin.v2.GcRule.Builder,
-                com.google.bigtable.admin.v2.GcRuleOrBuilder>(
-                getGcRule(), getParentForChildren(), isClean());
+        gcRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>(
+                getGcRule(),
+                getParentForChildren(),
+                isClean());
         gcRule_ = null;
       }
       return gcRuleBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -704,12 +648,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ColumnFamily)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ColumnFamily)
   private static final com.google.bigtable.admin.v2.ColumnFamily DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ColumnFamily();
   }
@@ -718,27 +662,27 @@ public static com.google.bigtable.admin.v2.ColumnFamily getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ColumnFamily parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ColumnFamily parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -753,4 +697,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ColumnFamily getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
index 6c11dfa548..5f7fedc0d7 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface ColumnFamilyOrBuilder
-    extends
+public interface ColumnFamilyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ColumnFamily)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -36,13 +18,10 @@ public interface ColumnFamilyOrBuilder
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ boolean hasGcRule(); /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -53,13 +32,10 @@ public interface ColumnFamilyOrBuilder
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ com.google.bigtable.admin.v2.GcRule getGcRule(); /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
new file mode 100644
index 0000000000..5ec192d3c2
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
@@ -0,0 +1,61 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/bigtable/admin/v2/common.proto
+
+package com.google.bigtable.admin.v2;
+
+public final class CommonProto {
+  private CommonProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/bigtable/admin/v2/common.proto\022" +
+      "\030google.bigtable.admin.v2\032\037google/protob" +
+      "uf/timestamp.proto\"\213\001\n\021OperationProgress" +
+      "\022\030\n\020progress_percent\030\001 \001(\005\022.\n\nstart_time" +
+      "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" +
+      "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" +
+      "*=\n\013StorageType\022\034\n\030STORAGE_TYPE_UNSPECIF" +
+      "IED\020\000\022\007\n\003SSD\020\001\022\007\n\003HDD\020\002B\323\001\n\034com.google.b" +
+      "igtable.admin.v2B\013CommonProtoP\001Z=google." +
+      "golang.org/genproto/googleapis/bigtable/" +
+      "admin/v2;admin\252\002\036Google.Cloud.Bigtable.A" +
+      "dmin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2" +
+      "\352\002\"Google::Cloud::Bigtable::Admin::V2b\006p" +
+      "roto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_bigtable_admin_v2_OperationProgress_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_admin_v2_OperationProgress_descriptor,
+        new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
similarity index 66%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
index 4a801fdf3a..b76e1d033a 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_instance_admin.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Request message for BigtableInstanceAdmin.CreateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateAppProfileRequest} */ -public final class CreateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateAppProfileRequest) CreateAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAppProfileRequest.newBuilder() to construct. private CreateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAppProfileRequest() { parent_ = ""; appProfileId_ = ""; @@ -44,42 +26,35 @@ private CreateAppProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ @java.lang.Override @@ -145,15 +114,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -161,15 +129,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,17 +149,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int APP_PROFILE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ @java.lang.Override @@ -198,55 +162,39 @@ public boolean hasAppProfile() { return appProfile_ != null; } /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } public static final int IGNORE_WARNINGS_FIELD_NUMBER = 4; private boolean ignoreWarnings_ = false; /** - * - * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -255,7 +203,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -296,10 +244,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_); } if (appProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAppProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAppProfile()); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -309,21 +259,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateAppProfileRequest other = - (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; + com.google.bigtable.admin.v2.CreateAppProfileRequest other = (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (hasAppProfile() != other.hasAppProfile()) return false; if (hasAppProfile()) { - if (!getAppProfile().equals(other.getAppProfile())) return false; + if (!getAppProfile() + .equals(other.getAppProfile())) return false; } - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +297,139 @@ public int hashCode() { hash = (53 * hash) + getAppProfile().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateAppProfileRequest) com.google.bigtable.admin.v2.CreateAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override @@ -517,11 +467,8 @@ public com.google.bigtable.admin.v2.CreateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.CreateAppProfileRequest result = - new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateAppProfileRequest result = new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -535,7 +482,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest result.appProfileId_ = appProfileId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null + ? appProfile_ + : appProfileBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.ignoreWarnings_ = ignoreWarnings_; @@ -546,39 +495,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -586,8 +534,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -630,37 +577,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -670,29 +614,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -701,25 +640,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -727,43 +663,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -773,25 +698,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -801,8 +720,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -810,13 +727,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -825,8 +742,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -834,14 +749,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -849,8 +765,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -858,22 +772,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -881,7 +791,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -891,8 +800,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -900,14 +807,12 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -917,61 +822,42 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -987,18 +873,15 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder setAppProfile( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); } else { @@ -1009,22 +892,18 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && appProfile_ != null - && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + appProfile_ != null && + appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -1037,16 +916,12 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAppProfile() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1059,16 +934,12 @@ public Builder clearAppProfile() { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000004; @@ -1076,65 +947,50 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), getParentForChildren(), isClean()); + appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), + getParentForChildren(), + isClean()); appProfile_ = null; } return appProfileBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1142,14 +998,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -1161,14 +1014,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1177,9 +1027,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1039,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateAppProfileRequest) private static final com.google.bigtable.admin.v2.CreateAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateAppProfileRequest(); } @@ -1203,27 +1053,27 @@ public static com.google.bigtable.admin.v2.CreateAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,4 +1088,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java index 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 e484247a79..1b43ddb2e6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the operation returned by
  * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateBackupMetadata}
  */
-public final class CreateBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateBackupMetadata)
     CreateBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateBackupMetadata.newBuilder() to construct.
   private CreateBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateBackupMetadata() {
     name_ = "";
     sourceTable_ = "";
@@ -45,38 +27,33 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateBackupMetadata.class,
-            com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The sourceTable. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -169,14 +142,11 @@ public com.google.protobuf.ByteString getSourceTableBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -184,14 +154,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -199,8 +166,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -215,14 +180,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -230,14 +192,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -245,8 +204,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
@@ -259,7 +216,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -300,10 +257,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceTable_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,23 +272,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateBackupMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateBackupMetadata other = - (com.google.bigtable.admin.v2.CreateBackupMetadata) obj; + com.google.bigtable.admin.v2.CreateBackupMetadata other = (com.google.bigtable.admin.v2.CreateBackupMetadata) obj; - if (!getName().equals(other.getName())) return false; - if (!getSourceTable().equals(other.getSourceTable())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -360,103 +322,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateBackupMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -464,32 +421,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateBackupMetadata)
       com.google.bigtable.admin.v2.CreateBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateBackupMetadata.class,
-              com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateBackupMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -510,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -531,11 +489,8 @@ public com.google.bigtable.admin.v2.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateBackupMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateBackupMetadata result =
-          new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateBackupMetadata result = new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -549,10 +504,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
         result.sourceTable_ = sourceTable_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -560,39 +519,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateBackupMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -600,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateBackupMetadata other) {
-      if (other == com.google.bigtable.admin.v2.CreateBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -644,37 +601,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceTable_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              sourceTable_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -684,25 +640,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -711,21 +664,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -733,35 +685,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -771,21 +716,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -795,20 +736,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -817,21 +756,20 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -839,35 +777,28 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -877,21 +808,17 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -901,33 +828,24 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -938,8 +856,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -960,15 +876,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -979,8 +894,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -989,9 +902,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1004,8 +917,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1023,8 +934,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1037,8 +946,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1049,12 +956,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1062,17 +968,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1080,33 +983,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1117,8 +1011,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1139,15 +1031,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1158,8 +1049,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1168,9 +1057,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1183,8 +1072,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1202,8 +1089,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1216,8 +1101,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1228,12 +1111,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1241,24 +1123,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1268,12 +1147,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateBackupMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateBackupMetadata) private static final com.google.bigtable.admin.v2.CreateBackupMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateBackupMetadata(); } @@ -1282,27 +1161,27 @@ public static com.google.bigtable.admin.v2.CreateBackupMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,4 +1196,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java index 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 da20133678..626253b5a8 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,42 +26,35 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateBackupRequest.class, - com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class); + com.google.bigtable.admin.v2.CreateBackupRequest.class, com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. This must be one of the clusters in the instance in which this
    * table is located. The backup will be stored in this cluster. Values are
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -139,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -148,15 +117,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
@@ -167,15 +135,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -186,15 +155,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 @@ -202,15 +167,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 @@ -218,14 +179,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() { @@ -233,7 +191,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,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_); } @@ -271,7 +229,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; @@ -281,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.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; @@ -319,136 +280,132 @@ 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(); @@ -464,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_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 @@ -485,11 +442,8 @@ public com.google.bigtable.admin.v2.CreateBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateBackupRequest buildPartial() { - com.google.bigtable.admin.v2.CreateBackupRequest result = - new com.google.bigtable.admin.v2.CreateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateBackupRequest result = new com.google.bigtable.admin.v2.CreateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -503,7 +457,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } } @@ -511,39 +467,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -551,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateBackupRequest other) { - if (other == com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -592,31 +546,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -626,29 +578,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -657,25 +604,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 { @@ -683,43 +627,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -729,25 +662,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -757,8 +684,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
@@ -769,13 +694,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; @@ -784,8 +709,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
@@ -796,14 +719,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 { @@ -811,8 +735,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
@@ -823,22 +745,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -849,7 +767,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -859,8 +776,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -871,14 +786,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -888,35 +801,24 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> - backupBuilder_; + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -927,14 +829,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) { @@ -950,16 +849,14 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -970,20 +867,17 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -996,14 +890,11 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1016,14 +907,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1031,51 +919,43 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +965,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(); } @@ -1099,27 +979,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; @@ -1134,4 +1014,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 58b70e7e43..a9a42cb964 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java @@ -1,97 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ -public final class CreateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata) CreateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterMetadata.newBuilder() to construct. private CreateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateClusterMetadata() {} + private CreateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } - public interface TableProgressOrBuilder - extends + public interface TableProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ long getEstimatedSizeBytes(); /** - * - * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -99,75 +76,71 @@ public interface TableProgressOrBuilder
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ long getEstimatedCopiedBytes(); /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState(); } /** - * - * *
    * Progress info for copying a table's data to the new cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress} */ - public static final class TableProgress extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TableProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) TableProgressOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableProgress.newBuilder() to construct. private TableProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableProgress() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableProgress(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); } - /** Protobuf enum {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** STATE_UNSPECIFIED = 0; */ + /** + * Protobuf enum {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_UNSPECIFIED = 0; + */ STATE_UNSPECIFIED(0), /** - * - * *
        * The table has not yet begun copying to the new cluster.
        * 
@@ -176,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -186,8 +157,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COPYING(2), /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -196,8 +165,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETED(3), /** - * - * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -210,11 +177,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       UNRECOGNIZED(-1),
       ;
 
-      /** STATE_UNSPECIFIED = 0; */
+      /**
+       * STATE_UNSPECIFIED = 0;
+       */
       public static final int STATE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * The table has not yet begun copying to the new cluster.
        * 
@@ -223,8 +190,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -233,8 +198,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COPYING_VALUE = 2; /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -243,8 +206,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETED_VALUE = 3; /** - * - * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -255,6 +216,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CANCELLED_VALUE = 4;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -279,55 +241,51 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return PENDING;
-          case 2:
-            return COPYING;
-          case 3:
-            return COMPLETED;
-          case 4:
-            return CANCELLED;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return PENDING;
+          case 2: return COPYING;
+          case 3: return COMPLETED;
+          case 4: return CANCELLED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          State> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -347,14 +305,11 @@ private State(int value) {
     public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER = 2;
     private long estimatedSizeBytes_ = 0L;
     /**
-     *
-     *
      * 
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -365,8 +320,6 @@ public long getEstimatedSizeBytes() { public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER = 3; private long estimatedCopiedBytes_ = 0L; /** - * - * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -374,7 +327,6 @@ public long getEstimatedSizeBytes() {
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -386,29 +338,21 @@ public long getEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); - return result == null - ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,17 +364,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (estimatedSizeBytes_ != 0L) { output.writeInt64(2, estimatedSizeBytes_); } if (estimatedCopiedBytes_ != 0L) { output.writeInt64(3, estimatedCopiedBytes_); } - if (state_ - != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State - .STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } getUnknownFields().writeTo(output); @@ -443,16 +385,16 @@ public int getSerializedSize() { size = 0; if (estimatedSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, estimatedSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, estimatedSizeBytes_); } if (estimatedCopiedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, estimatedCopiedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, estimatedCopiedBytes_); } - if (state_ - != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State - .STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -462,16 +404,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other = - (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) obj; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other = (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) obj; - if (getEstimatedSizeBytes() != other.getEstimatedSizeBytes()) return false; - if (getEstimatedCopiedBytes() != other.getEstimatedCopiedBytes()) return false; + if (getEstimatedSizeBytes() + != other.getEstimatedSizeBytes()) return false; + if (getEstimatedCopiedBytes() + != other.getEstimatedCopiedBytes()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -485,9 +428,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedSizeBytes()); hash = (37 * hash) + ESTIMATED_COPIED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedCopiedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedCopiedBytes()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -496,95 +441,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -594,42 +533,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Progress info for copying a table's data to the new cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); } - // Construct using - // com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -641,16 +577,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance(); + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstanceForType() { + return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance(); } @java.lang.Override @@ -664,17 +598,13 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build() @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = - new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { + private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.estimatedSizeBytes_ = estimatedSizeBytes_; @@ -691,53 +621,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) { - return mergeFrom( - (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other) { - if (other - == com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other) { + if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()) return this; if (other.getEstimatedSizeBytes() != 0L) { setEstimatedSizeBytes(other.getEstimatedSizeBytes()); } @@ -773,31 +696,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - estimatedSizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - estimatedCopiedBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + estimatedSizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + estimatedCopiedBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -807,19 +726,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long estimatedSizeBytes_; + private long estimatedSizeBytes_ ; /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -827,14 +742,11 @@ public long getEstimatedSizeBytes() { return estimatedSizeBytes_; } /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @param value The estimatedSizeBytes to set. * @return This builder for chaining. */ @@ -846,14 +758,11 @@ public Builder setEstimatedSizeBytes(long value) { return this; } /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @return This builder for chaining. */ public Builder clearEstimatedSizeBytes() { @@ -863,10 +772,8 @@ public Builder clearEstimatedSizeBytes() { return this; } - private long estimatedCopiedBytes_; + private long estimatedCopiedBytes_ ; /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -874,7 +781,6 @@ public Builder clearEstimatedSizeBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -882,8 +788,6 @@ public long getEstimatedCopiedBytes() { return estimatedCopiedBytes_; } /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -891,7 +795,6 @@ public long getEstimatedCopiedBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @param value The estimatedCopiedBytes to set. * @return This builder for chaining. */ @@ -903,8 +806,6 @@ public Builder setEstimatedCopiedBytes(long value) { return this; } /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -912,7 +813,6 @@ public Builder setEstimatedCopiedBytes(long value) {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return This builder for chaining. */ public Builder clearEstimatedCopiedBytes() { @@ -925,16 +825,13 @@ public Builder clearEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -946,26 +843,19 @@ public Builder setStateValue(int value) { } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber( - state_); - return result == null - ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { + public Builder setState(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { if (value == null) { throw new NullPointerException(); } @@ -976,7 +866,6 @@ public Builder setState( } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -985,7 +874,6 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -998,44 +886,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) - private static final com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstance() { + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,23 +932,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateClusterRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -1071,25 +953,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
@@ -1098,22 +973,17 @@ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -1121,14 +991,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -1136,8 +1003,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -1152,14 +1017,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -1167,14 +1029,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -1182,8 +1041,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -1196,44 +1053,32 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } public static final int TABLES_FIELD_NUMBER = 4; - private static final class TablesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - internalGetTables() { + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables_; + private com.google.protobuf.MapField + internalGetTables() { if (tables_ == null) { - return com.google.protobuf.MapField.emptyMapField(TablesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TablesDefaultEntryHolder.defaultEntry); } return tables_; } - public int getTablesCount() { return internalGetTables().getMap().size(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1245,28 +1090,23 @@ public int getTablesCount() {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public boolean containsTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTables().getMap().containsKey(key); } - /** Use {@link #getTablesMap()} instead. */ + /** + * Use {@link #getTablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTables() { + public java.util.Map getTables() { return getTablesMap(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1278,19 +1118,13 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTablesMap() { + public java.util.Map getTablesMap() { return internalGetTables().getMap(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1302,27 +1136,20 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getTablesOrDefault( - java.lang.String key, - /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + public /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( + java.lang.String key, + /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1334,19 +1161,14 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1354,7 +1176,6 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1366,7 +1187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -1376,8 +1198,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (finishTime_ != null) { output.writeMessage(3, getFinishTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTables(), TablesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTables(), + TablesDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -1388,26 +1214,26 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); - } - for (java.util.Map.Entry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - entry : internalGetTables().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables__ = - TablesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, tables__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); + } + for (java.util.Map.Entry entry + : internalGetTables().getMap().entrySet()) { + com.google.protobuf.MapEntry + tables__ = TablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, tables__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1417,27 +1243,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterMetadata other = - (com.google.bigtable.admin.v2.CreateClusterMetadata) obj; + com.google.bigtable.admin.v2.CreateClusterMetadata other = (com.google.bigtable.admin.v2.CreateClusterMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } - if (!internalGetTables().equals(other.internalGetTables())) return false; + if (!internalGetTables().equals( + other.internalGetTables())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1471,155 +1300,153 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterMetadata) com.google.bigtable.admin.v2.CreateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateClusterMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1644,9 +1471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @java.lang.Override @@ -1665,11 +1492,8 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata result = - new com.google.bigtable.admin.v2.CreateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterMetadata result = new com.google.bigtable.admin.v2.CreateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1677,15 +1501,19 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.tables_ = internalGetTables(); @@ -1697,39 +1525,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -1737,8 +1564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -1748,7 +1574,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata othe if (other.hasFinishTime()) { mergeFinishTime(other.getFinishTime()); } - internalGetMutableTables().mergeFrom(other.internalGetTables()); + internalGetMutableTables().mergeFrom( + other.internalGetTables()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1776,46 +1603,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables__ = - input.readMessage( - TablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableTables() - .getMutableMap() - .put(tables__.getKey(), tables__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + tables__ = input.readMessage( + TablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTables().getMutableMap().put( + tables__.getKey(), tables__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1825,52 +1648,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.CreateClusterRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1891,8 +1700,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequ return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1911,8 +1718,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1921,10 +1726,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1937,8 +1741,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1956,8 +1758,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1970,27 +1770,21 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1998,17 +1792,14 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -2016,47 +1807,34 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2077,15 +1855,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -2096,8 +1873,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2106,9 +1881,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -2121,8 +1896,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2140,8 +1913,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2154,8 +1925,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2166,14 +1935,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2181,17 +1947,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -2199,47 +1962,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2260,15 +2010,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -2279,8 +2028,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2289,9 +2036,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -2304,8 +2051,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2323,8 +2068,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2337,8 +2080,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2349,14 +2090,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2364,40 +2102,34 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables_; + private com.google.protobuf.MapField internalGetTables() { if (tables_ == null) { - return com.google.protobuf.MapField.emptyMapField(TablesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TablesDefaultEntryHolder.defaultEntry); } return tables_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + private com.google.protobuf.MapField internalGetMutableTables() { if (tables_ == null) { - tables_ = com.google.protobuf.MapField.newMapField(TablesDefaultEntryHolder.defaultEntry); + tables_ = com.google.protobuf.MapField.newMapField( + TablesDefaultEntryHolder.defaultEntry); } if (!tables_.isMutable()) { tables_ = tables_.copy(); @@ -2406,13 +2138,10 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { onChanged(); return tables_; } - public int getTablesCount() { return internalGetTables().getMap().size(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2424,28 +2153,23 @@ public int getTablesCount() {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public boolean containsTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTables().getMap().containsKey(key); } - /** Use {@link #getTablesMap()} instead. */ + /** + * Use {@link #getTablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTables() { + public java.util.Map getTables() { return getTablesMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2457,19 +2181,13 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTablesMap() { + public java.util.Map getTablesMap() { return internalGetTables().getMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2481,27 +2199,20 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getTablesOrDefault( - java.lang.String key, - /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + public /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( + java.lang.String key, + /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2513,33 +2224,26 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearTables() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableTables().getMutableMap().clear(); + internalGetMutableTables().getMutableMap() + .clear(); return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2551,28 +2255,25 @@ public Builder clearTables() {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ - public Builder removeTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableTables().getMutableMap().remove(key); + public Builder removeTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableTables().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + public java.util.Map getMutableTables() { bitField0_ |= 0x00000008; return internalGetMutableTables().getMutableMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2584,26 +2285,19 @@ public Builder removeTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ public Builder putTables( java.lang.String key, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableTables().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableTables().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2615,21 +2309,18 @@ public Builder putTables(
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ public Builder putAllTables( - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - values) { - internalGetMutableTables().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableTables().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2639,12 +2330,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterMetadata) private static final com.google.bigtable.admin.v2.CreateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterMetadata(); } @@ -2653,27 +2344,27 @@ public static com.google.bigtable.admin.v2.CreateClusterMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2688,4 +2379,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java index b517310299..0268892546 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateClusterMetadataOrBuilder - extends +public interface CreateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
@@ -59,32 +35,24 @@ public interface CreateClusterMetadataOrBuilder com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -94,32 +62,24 @@ public interface CreateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -129,8 +89,6 @@ public interface CreateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -142,14 +100,10 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ int getTablesCount(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -161,18 +115,17 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; + */ + boolean containsTables( + java.lang.String key); + /** + * Use {@link #getTablesMap()} instead. */ - boolean containsTables(java.lang.String key); - /** Use {@link #getTablesMap()} instead. */ @java.lang.Deprecated java.util.Map - getTables(); + getTables(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -184,15 +137,11 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ java.util.Map - getTablesMap(); + getTablesMap(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -204,18 +153,14 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue); +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -227,9 +172,7 @@ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefa
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index d92ef7555f..23d4646131 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -44,42 +26,35 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -145,15 +114,14 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -161,15 +129,16 @@ public java.lang.String getClusterId() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -180,16 +149,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Cluster cluster_; /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -197,16 +162,12 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -214,15 +175,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { @@ -230,7 +188,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -268,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,19 +237,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterRequest other = - (com.google.bigtable.admin.v2.CreateClusterRequest) obj; + com.google.bigtable.admin.v2.CreateClusterRequest other = (com.google.bigtable.admin.v2.CreateClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -317,135 +278,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterRequest) com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override @@ -482,11 +439,8 @@ public com.google.bigtable.admin.v2.CreateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.CreateClusterRequest result = - new com.google.bigtable.admin.v2.CreateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterRequest result = new com.google.bigtable.admin.v2.CreateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -500,7 +454,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } } @@ -508,39 +464,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -548,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterRequest other) { - if (other == com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -589,31 +543,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -623,29 +575,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -654,25 +601,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -680,43 +624,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -726,25 +659,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -754,8 +681,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -763,13 +688,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -778,8 +703,6 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -787,14 +710,15 @@ public java.lang.String getClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -802,8 +726,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -811,22 +733,18 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -834,7 +752,6 @@ public Builder setClusterId(java.lang.String value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -844,8 +761,6 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -853,14 +768,12 @@ public Builder clearClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -870,61 +783,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -940,18 +834,15 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -962,22 +853,18 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -990,16 +877,12 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1012,16 +895,12 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1029,57 +908,45 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterRequest) private static final com.google.bigtable.admin.v2.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterRequest(); } @@ -1103,27 +970,27 @@ public static com.google.bigtable.admin.v2.CreateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +1005,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java index 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 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java index ff572b3090..534f5ac489 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ -public final class CreateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceMetadata) CreateInstanceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceMetadata.newBuilder() to construct. private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateInstanceMetadata() {} + private CreateInstanceMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, - com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
@@ -105,22 +77,17 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -128,14 +95,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -143,8 +107,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -159,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -174,14 +133,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -189,8 +145,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -203,7 +157,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -235,13 +189,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateInstanceMetadata other = - (com.google.bigtable.admin.v2.CreateInstanceMetadata) obj; + com.google.bigtable.admin.v2.CreateInstanceMetadata other = (com.google.bigtable.admin.v2.CreateInstanceMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -300,135 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateInstanceMetadata) com.google.bigtable.admin.v2.CreateInstanceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, - com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateInstanceMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override @@ -473,11 +428,8 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceMetadata result = - new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateInstanceMetadata result = new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,15 +437,19 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } } @@ -501,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata)other); } else { super.mergeFrom(other); return this; @@ -541,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceMetadata other) { - if (other == com.google.bigtable.admin.v2.CreateInstanceMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateInstanceMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -578,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,52 +568,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -678,8 +620,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceReq return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -698,8 +638,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -708,10 +646,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -724,8 +661,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -743,8 +678,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -757,27 +690,21 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -785,17 +712,14 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -803,47 +727,34 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -864,15 +775,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -883,8 +793,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -893,9 +801,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -908,8 +816,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -927,8 +833,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -941,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -953,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -968,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -986,47 +882,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1047,15 +930,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1066,8 +948,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1076,9 +956,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1091,8 +971,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1110,8 +988,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1124,8 +1000,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1136,14 +1010,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1151,24 +1022,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1178,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateInstanceMetadata) private static final com.google.bigtable.admin.v2.CreateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateInstanceMetadata(); } @@ -1192,27 +1060,27 @@ public static com.google.bigtable.admin.v2.CreateInstanceMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java index 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 f5d4b92fb7..9db22e018e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceRequest) CreateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -44,52 +26,46 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -98,32 +74,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,12 +106,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -145,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -154,15 +124,14 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -170,15 +139,16 @@ public java.lang.String getInstanceId() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -189,17 +159,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Instance instance_; /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -207,78 +172,58 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } public static final int CLUSTERS_FIELD_NUMBER = 4; - private static final class ClustersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Cluster> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Cluster> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField - clusters_; - - private com.google.protobuf.MapField - internalGetClusters() { + internalGetClusters() { if (clusters_ == null) { - return com.google.protobuf.MapField.emptyMapField(ClustersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ClustersDefaultEntryHolder.defaultEntry); } return clusters_; } - public int getClustersCount() { return internalGetClusters().getMap().size(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -287,26 +232,23 @@ public int getClustersCount() {
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusters().getMap().containsKey(key); } - /** Use {@link #getClustersMap()} instead. */ + /** + * Use {@link #getClustersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getClusters() { return getClustersMap(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -315,17 +257,13 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getClustersMap() { return internalGetClusters().getMap(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -334,25 +272,20 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -361,15 +294,12 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); if (!map.containsKey(key)) { @@ -379,7 +309,6 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +320,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -401,8 +331,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (instance_ != null) { output.writeMessage(3, getInstance()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetClusters(), ClustersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetClusters(), + ClustersDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -419,18 +353,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } - for (java.util.Map.Entry entry : - internalGetClusters().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetClusters().getMap().entrySet()) { com.google.protobuf.MapEntry - clusters__ = - ClustersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, clusters__); + clusters__ = ClustersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, clusters__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -440,21 +374,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateInstanceRequest other = - (com.google.bigtable.admin.v2.CreateInstanceRequest) obj; + com.google.bigtable.admin.v2.CreateInstanceRequest other = (com.google.bigtable.admin.v2.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } - if (!internalGetClusters().equals(other.internalGetClusters())) return false; + if (!internalGetClusters().equals( + other.internalGetClusters())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -484,155 +421,153 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateInstanceRequest) com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +584,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -670,11 +605,8 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceRequest result = - new com.google.bigtable.admin.v2.CreateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateInstanceRequest result = new com.google.bigtable.admin.v2.CreateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -688,7 +620,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.clusters_ = internalGetClusters(); @@ -700,39 +634,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -740,8 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -755,7 +687,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest othe if (other.hasInstance()) { mergeInstance(other.getInstance()); } - internalGetMutableClusters().mergeFrom(other.internalGetClusters()); + internalGetMutableClusters().mergeFrom( + other.internalGetClusters()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -783,44 +716,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry - clusters__ = - input.readMessage( - ClustersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableClusters() - .getMutableMap() - .put(clusters__.getKey(), clusters__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + clusters__ = input.readMessage( + ClustersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableClusters().getMutableMap().put( + clusters__.getKey(), clusters__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -830,28 +757,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -860,24 +782,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -885,41 +804,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -929,24 +837,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -956,8 +858,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -965,13 +865,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -980,8 +880,6 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -989,14 +887,15 @@ public java.lang.String getInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1004,8 +903,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1013,22 +910,18 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1036,7 +929,6 @@ public Builder setInstanceId(java.lang.String value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1046,8 +938,6 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1055,14 +945,12 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -1072,61 +960,42 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instanceBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -1142,18 +1011,15 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1164,22 +1030,18 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1192,16 +1054,12 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1214,16 +1072,12 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1231,71 +1085,58 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - private com.google.protobuf.MapField - clusters_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField internalGetClusters() { if (clusters_ == null) { - return com.google.protobuf.MapField.emptyMapField(ClustersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ClustersDefaultEntryHolder.defaultEntry); } return clusters_; } - private com.google.protobuf.MapField internalGetMutableClusters() { if (clusters_ == null) { - clusters_ = - com.google.protobuf.MapField.newMapField(ClustersDefaultEntryHolder.defaultEntry); + clusters_ = com.google.protobuf.MapField.newMapField( + ClustersDefaultEntryHolder.defaultEntry); } if (!clusters_.isMutable()) { clusters_ = clusters_.copy(); @@ -1304,13 +1145,10 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { onChanged(); return clusters_; } - public int getClustersCount() { return internalGetClusters().getMap().size(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1319,26 +1157,23 @@ public int getClustersCount() {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusters().getMap().containsKey(key); } - /** Use {@link #getClustersMap()} instead. */ + /** + * Use {@link #getClustersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getClusters() { return getClustersMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1347,17 +1182,13 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getClustersMap() { return internalGetClusters().getMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1366,25 +1197,20 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1393,15 +1219,12 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); if (!map.containsKey(key)) { @@ -1409,15 +1232,13 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String } return map.get(key); } - public Builder clearClusters() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableClusters().getMutableMap().clear(); + internalGetMutableClusters().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1426,18 +1247,18 @@ public Builder clearClusters() {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusters().getMutableMap().remove(key); + public Builder removeClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusters().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableClusters() { @@ -1445,8 +1266,6 @@ public Builder removeClusters(java.lang.String key) { return internalGetMutableClusters().getMutableMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1455,24 +1274,19 @@ public Builder removeClusters(java.lang.String key) {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cluster value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusters().getMutableMap().put(key, value); + public Builder putClusters( + java.lang.String key, + com.google.bigtable.admin.v2.Cluster value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusters().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1481,19 +1295,18 @@ public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cl
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllClusters( java.util.Map values) { - internalGetMutableClusters().getMutableMap().putAll(values); + internalGetMutableClusters().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1503,12 +1316,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateInstanceRequest) private static final com.google.bigtable.admin.v2.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateInstanceRequest(); } @@ -1517,27 +1330,27 @@ public static com.google.bigtable.admin.v2.CreateInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1552,4 +1365,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java index 1a262655f7..32a0f3c3b8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -64,13 +37,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -78,58 +48,42 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.bigtable.admin.v2.Instance getInstance(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -138,14 +92,10 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getClustersCount(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -154,17 +104,17 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsClusters( + java.lang.String key); + /** + * Use {@link #getClustersMap()} instead. */ - boolean containsClusters(java.lang.String key); - /** Use {@link #getClustersMap()} instead. */ @java.lang.Deprecated - java.util.Map getClusters(); + java.util.Map + getClusters(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -173,14 +123,11 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getClustersMap(); + java.util.Map + getClustersMap(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -189,18 +136,14 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.bigtable.admin.v2.Cluster getClustersOrDefault( +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue); +com.google.bigtable.admin.v2.Cluster defaultValue); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -209,9 +152,8 @@ com.google.bigtable.admin.v2.Cluster getClustersOrDefault(
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key); + com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java index 1307e39a0a..8df5196895 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateTableFromSnapshot.
  *
@@ -32,52 +15,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotMetadata}
  */
-public final class CreateTableFromSnapshotMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableFromSnapshotMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)
     CreateTableFromSnapshotMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableFromSnapshotMetadata.newBuilder() to construct.
-  private CreateTableFromSnapshotMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateTableFromSnapshotMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateTableFromSnapshotMetadata() {}
+  private CreateTableFromSnapshotMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
   }
 
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
   /**
-   *
-   *
    * 
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -85,26 +63,19 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
@@ -113,24 +84,18 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
    * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-      getOriginalRequestOrBuilder() {
-    return originalRequest_ == null
-        ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
-        : originalRequest_;
+  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
+    return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
   }
 
   public static final int REQUEST_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp requestTime_;
   /**
-   *
-   *
    * 
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -138,14 +103,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -153,8 +115,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -169,14 +129,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -184,14 +141,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -199,8 +153,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -213,7 +165,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -245,13 +197,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,25 +216,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other = - (com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) obj; + com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other = (com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -310,104 +267,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateTableFromSnapshot.
    *
@@ -419,32 +370,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)
       com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class,
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,14 +420,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance();
     }
 
@@ -490,28 +441,28 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result =
-          new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ =
-            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
+        result.originalRequest_ = originalRequestBuilder_ == null
+            ? originalRequest_
+            : originalRequestBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ =
-            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
+        result.requestTime_ = requestTimeBuilder_ == null
+            ? requestTime_
+            : requestTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null
+            ? finishTime_
+            : finishTimeBuilder_.build();
       }
     }
 
@@ -519,39 +470,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,9 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other) {
-      if (other
-          == com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance()) return this;
       if (other.hasOriginalRequest()) {
         mergeOriginalRequest(other.getOriginalRequest());
       }
@@ -597,31 +545,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -631,54 +581,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
-        originalRequestBuilder_;
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> originalRequestBuilder_;
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -686,8 +622,7 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder setOriginalRequest(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -701,8 +636,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -722,8 +655,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -731,14 +662,11 @@ public Builder setOriginalRequest(
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder mergeOriginalRequest(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && originalRequest_ != null
-            && originalRequest_
-                != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          originalRequest_ != null &&
+          originalRequest_ != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) {
           getOriginalRequestBuilder().mergeFrom(value);
         } else {
           originalRequest_ = value;
@@ -751,8 +679,6 @@ public Builder mergeOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -771,8 +697,6 @@ public Builder clearOriginalRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -780,15 +704,12 @@ public Builder clearOriginalRequest() {
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder
-        getOriginalRequestBuilder() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder getOriginalRequestBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getOriginalRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -796,19 +717,15 @@ public Builder clearOriginalRequest() {
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-        getOriginalRequestOrBuilder() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
       if (originalRequestBuilder_ != null) {
         return originalRequestBuilder_.getMessageOrBuilder();
       } else {
-        return originalRequest_ == null
-            ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
-            : originalRequest_;
+        return originalRequest_ == null ?
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
       }
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -817,17 +734,14 @@ public Builder clearOriginalRequest() {
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> 
         getOriginalRequestFieldBuilder() {
       if (originalRequestBuilder_ == null) {
-        originalRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>(
-                getOriginalRequest(), getParentForChildren(), isClean());
+        originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>(
+                getOriginalRequest(),
+                getParentForChildren(),
+                isClean());
         originalRequest_ = null;
       }
       return originalRequestBuilder_;
@@ -835,47 +749,34 @@ public Builder clearOriginalRequest() {
 
     private com.google.protobuf.Timestamp requestTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        requestTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -896,15 +797,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -915,8 +815,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -925,9 +823,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -940,8 +838,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -959,8 +855,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -973,8 +867,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -985,14 +877,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -1000,17 +889,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1018,47 +904,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1079,15 +952,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1098,8 +970,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1108,9 +978,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1123,8 +993,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1142,8 +1010,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1156,8 +1022,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1168,14 +1032,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1183,24 +1044,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1210,13 +1068,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) - private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(); } @@ -1225,27 +1082,27 @@ public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTableFromSnapshotMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTableFromSnapshotMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,4 +1117,6 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java index 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 13edafa9ea..4cf58825f7 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]
@@ -33,17 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotRequest}
  */
-public final class CreateTableFromSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableFromSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableFromSnapshotRequest)
     CreateTableFromSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableFromSnapshotRequest.newBuilder() to construct.
-  private CreateTableFromSnapshotRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateTableFromSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTableFromSnapshotRequest() {
     parent_ = "";
     tableId_ = "";
@@ -52,41 +33,34 @@ private CreateTableFromSnapshotRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -95,32 +69,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,19 +101,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The name by which the new table should be referred to within the parent
    * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -150,30 +118,30 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The name by which the new table should be referred to within the parent
    * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -182,12 +150,9 @@ public com.google.protobuf.ByteString getTableIdBytes() { } public static final int SOURCE_SNAPSHOT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceSnapshot_ = ""; /** - * - * *
    * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
@@ -195,10 +160,7 @@ public com.google.protobuf.ByteString getTableIdBytes() {
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ @java.lang.Override @@ -207,15 +169,14 @@ public java.lang.String getSourceSnapshot() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceSnapshot_ = s; return s; } } /** - * - * *
    * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
@@ -223,18 +184,17 @@ public java.lang.String getSourceSnapshot() {
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceSnapshotBytes() { + public com.google.protobuf.ByteString + getSourceSnapshotBytes() { java.lang.Object ref = sourceSnapshot_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceSnapshot_ = b; return b; } else { @@ -243,7 +203,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -291,17 +251,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other = - (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) obj; + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other = (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTableId().equals(other.getTableId())) return false; - if (!getSourceSnapshot().equals(other.getSourceSnapshot())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; + if (!getSourceSnapshot() + .equals(other.getSourceSnapshot())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,104 +287,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
@@ -435,32 +391,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableFromSnapshotRequest)
       com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +429,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -493,11 +450,8 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result =
-          new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -519,39 +473,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,8 +512,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -602,31 +554,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sourceSnapshot_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sourceSnapshot_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -636,28 +584,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -666,24 +609,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -691,41 +631,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -735,24 +664,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -762,21 +685,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -785,22 +706,21 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -808,37 +728,30 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -848,22 +761,18 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -873,8 +782,6 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceSnapshot_ = ""; /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -882,16 +789,14 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ public java.lang.String getSourceSnapshot() { java.lang.Object ref = sourceSnapshot_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceSnapshot_ = s; return s; @@ -900,8 +805,6 @@ public java.lang.String getSourceSnapshot() { } } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -909,17 +812,16 @@ public java.lang.String getSourceSnapshot() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ - public com.google.protobuf.ByteString getSourceSnapshotBytes() { + public com.google.protobuf.ByteString + getSourceSnapshotBytes() { java.lang.Object ref = sourceSnapshot_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceSnapshot_ = b; return b; } else { @@ -927,8 +829,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -936,25 +836,19 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceSnapshot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -962,10 +856,7 @@ public Builder setSourceSnapshot(java.lang.String value) {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceSnapshot() { @@ -975,8 +866,6 @@ public Builder clearSourceSnapshot() { return this; } /** - * - * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -984,26 +873,22 @@ public Builder clearSourceSnapshot() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceSnapshotBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1013,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(); } @@ -1027,27 +912,27 @@ public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTableFromSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTableFromSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,4 +947,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java index 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 dfcea3c89b..f3f83c209d 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,98 +28,86 @@ private CreateTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableRequest.class,
-            com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
   }
 
-  public interface SplitOrBuilder
-      extends
+  public interface SplitOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableRequest.Split)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ com.google.protobuf.ByteString getKey(); } /** - * - * *
    * An initial split point for a newly created table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Split extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Split extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableRequest.Split) SplitOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Split.newBuilder() to construct. private Split(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Split() { key_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Split(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -146,7 +116,6 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,7 +127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -172,7 +142,8 @@ public int getSerializedSize() { size = 0; if (!key_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, key_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,15 +153,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableRequest.Split other = - (com.google.bigtable.admin.v2.CreateTableRequest.Split) obj; + com.google.bigtable.admin.v2.CreateTableRequest.Split other = (com.google.bigtable.admin.v2.CreateTableRequest.Split) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,94 +181,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableRequest.Split prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -307,41 +273,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An initial split point for a newly created table.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableRequest.Split) com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateTableRequest.Split.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override @@ -372,11 +336,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateTableRequest.Split buildPartial() { - com.google.bigtable.admin.v2.CreateTableRequest.Split result = - new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateTableRequest.Split result = new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -392,41 +353,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest.Split public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split) { - return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split)other); } else { super.mergeFrom(other); return this; @@ -434,8 +392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest.Split other) { - if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } @@ -465,19 +422,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - key_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + key_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -487,19 +442,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -507,35 +458,27 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -544,7 +487,6 @@ public Builder clearKey() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -557,12 +499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableRequest.Split) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableRequest.Split) private static final com.google.bigtable.admin.v2.CreateTableRequest.Split DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableRequest.Split(); } @@ -571,28 +513,27 @@ public static com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Split parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Split parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -607,24 +548,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -633,32 +569,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -667,12 +601,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The name by which the new table should be referred to within the parent
    * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -680,7 +611,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -689,15 +619,14 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The name by which the new table should be referred to within the parent
    * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -705,15 +634,16 @@ public java.lang.String getTableId() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -724,15 +654,11 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int TABLE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Table table_; /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -740,15 +666,11 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -756,14 +678,11 @@ public com.google.bigtable.admin.v2.Table getTable() { return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { @@ -771,12 +690,9 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { } public static final int INITIAL_SPLITS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List initialSplits_; /** - * - * *
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -799,13 +715,10 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
   @java.lang.Override
-  public java.util.List
-      getInitialSplitsList() {
+  public java.util.List getInitialSplitsList() {
     return initialSplits_;
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -828,13 +741,11 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getInitialSplitsOrBuilderList() {
     return initialSplits_;
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -861,8 +772,6 @@ public int getInitialSplitsCount() {
     return initialSplits_.size();
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -889,8 +798,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(in
     return initialSplits_.get(index);
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -919,7 +826,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -931,7 +837,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -960,10 +867,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableId_);
     }
     if (table_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTable());
     }
     for (int i = 0; i < initialSplits_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, initialSplits_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, initialSplits_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -973,21 +882,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.CreateTableRequest other =
-        (com.google.bigtable.admin.v2.CreateTableRequest) obj;
+    com.google.bigtable.admin.v2.CreateTableRequest other = (com.google.bigtable.admin.v2.CreateTableRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getTableId().equals(other.getTableId())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getTableId()
+        .equals(other.getTableId())) return false;
     if (hasTable() != other.hasTable()) return false;
     if (hasTable()) {
-      if (!getTable().equals(other.getTable())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
     }
-    if (!getInitialSplitsList().equals(other.getInitialSplitsList())) return false;
+    if (!getInitialSplitsList()
+        .equals(other.getInitialSplitsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1016,104 +928,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
@@ -1121,32 +1028,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableRequest)
       com.google.bigtable.admin.v2.CreateTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableRequest.class,
-              com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1169,9 +1077,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1190,18 +1098,14 @@ public com.google.bigtable.admin.v2.CreateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableRequest result =
-          new com.google.bigtable.admin.v2.CreateTableRequest(this);
+      com.google.bigtable.admin.v2.CreateTableRequest result = new com.google.bigtable.admin.v2.CreateTableRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.CreateTableRequest result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.CreateTableRequest result) {
       if (initialSplitsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           initialSplits_ = java.util.Collections.unmodifiableList(initialSplits_);
@@ -1222,7 +1126,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
         result.tableId_ = tableId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null
+            ? table_
+            : tableBuilder_.build();
       }
     }
 
@@ -1230,39 +1136,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1270,8 +1175,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -1303,10 +1207,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
             initialSplitsBuilder_ = null;
             initialSplits_ = other.initialSplits_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            initialSplitsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInitialSplitsFieldBuilder()
-                    : null;
+            initialSplitsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInitialSplitsFieldBuilder() : null;
           } else {
             initialSplitsBuilder_.addAllMessages(other.initialSplits_);
           }
@@ -1338,45 +1241,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.bigtable.admin.v2.CreateTableRequest.Split m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
-                        extensionRegistry);
-                if (initialSplitsBuilder_ == null) {
-                  ensureInitialSplitsIsMutable();
-                  initialSplits_.add(m);
-                } else {
-                  initialSplitsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              com.google.bigtable.admin.v2.CreateTableRequest.Split m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
+                      extensionRegistry);
+              if (initialSplitsBuilder_ == null) {
+                ensureInitialSplitsIsMutable();
+                initialSplits_.add(m);
+              } else {
+                initialSplitsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1386,28 +1286,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1416,24 +1311,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1441,41 +1333,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -1485,24 +1366,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1512,8 +1387,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1521,13 +1394,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -1536,8 +1409,6 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1545,14 +1416,15 @@ public java.lang.String getTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -1560,8 +1432,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1569,22 +1439,18 @@ public com.google.protobuf.ByteString getTableIdBytes() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1592,7 +1458,6 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -1602,8 +1467,6 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1611,14 +1474,12 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -1628,35 +1489,24 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Table table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> - tableBuilder_; + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_; /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -1667,14 +1517,11 @@ public com.google.bigtable.admin.v2.Table getTable() { } } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -1690,16 +1537,14 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { @@ -1710,20 +1555,17 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && table_ != null - && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + table_ != null && + table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -1736,14 +1578,11 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1756,14 +1595,11 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000004; @@ -1771,70 +1607,54 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; } private java.util.List initialSplits_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInitialSplitsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - initialSplits_ = - new java.util.ArrayList( - initialSplits_); + initialSplits_ = new java.util.ArrayList(initialSplits_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.CreateTableRequest.Split, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, - com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> - initialSplitsBuilder_; + com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> initialSplitsBuilder_; /** - * - * *
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1856,8 +1676,7 @@ private void ensureInitialSplitsIsMutable() {
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsList() {
+    public java.util.List getInitialSplitsList() {
       if (initialSplitsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(initialSplits_);
       } else {
@@ -1865,8 +1684,6 @@ private void ensureInitialSplitsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1896,8 +1713,6 @@ public int getInitialSplitsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1927,8 +1742,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(in
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1965,8 +1778,6 @@ public Builder setInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2000,8 +1811,6 @@ public Builder setInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2037,8 +1846,6 @@ public Builder addInitialSplits(com.google.bigtable.admin.v2.CreateTableRequest.
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2075,8 +1882,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2110,8 +1915,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2145,8 +1948,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2169,11 +1970,11 @@ public Builder addInitialSplits(
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
     public Builder addAllInitialSplits(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (initialSplitsBuilder_ == null) {
         ensureInitialSplitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, initialSplits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, initialSplits_);
         onChanged();
       } else {
         initialSplitsBuilder_.addAllMessages(values);
@@ -2181,8 +1982,6 @@ public Builder addAllInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2215,8 +2014,6 @@ public Builder clearInitialSplits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2249,8 +2046,6 @@ public Builder removeInitialSplits(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2277,8 +2072,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder getInitialS
       return getInitialSplitsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2303,14 +2096,11 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder getInitialS
     public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitialSplitsOrBuilder(
         int index) {
       if (initialSplitsBuilder_ == null) {
-        return initialSplits_.get(index);
-      } else {
+        return initialSplits_.get(index);  } else {
         return initialSplitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2332,8 +2122,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsOrBuilderList() {
+    public java.util.List 
+         getInitialSplitsOrBuilderList() {
       if (initialSplitsBuilder_ != null) {
         return initialSplitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2341,8 +2131,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2365,12 +2153,10 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
     public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder() {
-      return getInitialSplitsFieldBuilder()
-          .addBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
+      return getInitialSplitsFieldBuilder().addBuilder(
+          com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2394,13 +2180,10 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
      */
     public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder(
         int index) {
-      return getInitialSplitsFieldBuilder()
-          .addBuilder(
-              index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
+      return getInitialSplitsFieldBuilder().addBuilder(
+          index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2422,22 +2205,16 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsBuilderList() {
+    public java.util.List 
+         getInitialSplitsBuilderList() {
       return getInitialSplitsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableRequest.Split,
-            com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
-            com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>
+        com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> 
         getInitialSplitsFieldBuilder() {
       if (initialSplitsBuilder_ == null) {
-        initialSplitsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.admin.v2.CreateTableRequest.Split,
-                com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
-                com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
+        initialSplitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
                 initialSplits_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -2446,9 +2223,9 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
       }
       return initialSplitsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2458,12 +2235,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableRequest)
   private static final com.google.bigtable.admin.v2.CreateTableRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableRequest();
   }
@@ -2472,27 +2249,27 @@ public static com.google.bigtable.admin.v2.CreateTableRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateTableRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateTableRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2507,4 +2284,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.CreateTableRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
index 436b837b1d..d4d8e3f320 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).
@@ -145,10 +102,9 @@ public interface CreateTableRequestOrBuilder
    *
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
-  java.util.List getInitialSplitsList();
+  java.util.List 
+      getInitialSplitsList();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -172,8 +128,6 @@ public interface CreateTableRequestOrBuilder
    */
   com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(int index);
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -197,8 +151,6 @@ public interface CreateTableRequestOrBuilder
    */
   int getInitialSplitsCount();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -220,11 +172,9 @@ public interface CreateTableRequestOrBuilder
    *
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
-  java.util.List
+  java.util.List 
       getInitialSplitsOrBuilderList();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
similarity index 66%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
index 5a8ce8747b..eb6ccd694e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
@@ -1,83 +1,58 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_instance_admin.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Request message for BigtableInstanceAdmin.DeleteAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ -public final class DeleteAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) DeleteAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAppProfileRequest.newBuilder() to construct. private DeleteAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,14 +95,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 2; private boolean ignoreWarnings_ = false; /** - * - * *
    * Required. If true, ignore safety checks when deleting the app profile.
    * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -138,7 +108,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,7 +140,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,16 +151,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteAppProfileRequest other = - (com.google.bigtable.admin.v2.DeleteAppProfileRequest) obj; + com.google.bigtable.admin.v2.DeleteAppProfileRequest other = (com.google.bigtable.admin.v2.DeleteAppProfileRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -204,142 +176,139 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) com.google.bigtable.admin.v2.DeleteAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override @@ -371,11 +340,8 @@ public com.google.bigtable.admin.v2.DeleteAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteAppProfileRequest result = - new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteAppProfileRequest result = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -394,39 +360,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -470,25 +434,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -498,28 +459,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -528,24 +484,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -553,41 +506,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -597,24 +539,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -622,16 +558,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -639,14 +572,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -658,14 +588,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -674,9 +601,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -686,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteAppProfileRequest) private static final com.google.bigtable.admin.v2.DeleteAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(); } @@ -700,27 +627,27 @@ public static com.google.bigtable.admin.v2.DeleteAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,4 +662,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java index 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 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java index ebe9b80fb8..12bb2f70d3 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,84 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteBackupRequest.class, - com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteBackupRequest.class, com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,33 +62,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 { @@ -122,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -158,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -185,136 +158,132 @@ 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(); @@ -324,9 +293,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 @@ -345,11 +314,8 @@ public com.google.bigtable.admin.v2.DeleteBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteBackupRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteBackupRequest result = - new com.google.bigtable.admin.v2.DeleteBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteBackupRequest result = new com.google.bigtable.admin.v2.DeleteBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +331,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteBackupRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -405,8 +370,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteBackupRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -438,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -460,29 +422,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -491,25 +448,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 { @@ -517,43 +471,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,34 +506,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -600,12 +537,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(); } @@ -614,27 +551,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; @@ -649,4 +586,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java new file mode 100644 index 0000000000..fb163957d0 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index 4cf1a095b7..d73d154db4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.DeleteCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, - com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the cluster to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the cluster to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteClusterRequest other = - (com.google.bigtable.admin.v2.DeleteClusterRequest) obj; + com.google.bigtable.admin.v2.DeleteClusterRequest other = (com.google.bigtable.admin.v2.DeleteClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteClusterRequest) com.google.bigtable.admin.v2.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, - com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.DeleteClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteClusterRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteClusterRequest result = - new com.google.bigtable.admin.v2.DeleteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteClusterRequest result = new com.google.bigtable.admin.v2.DeleteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteClusterRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteClusterRequest) private static final com.google.bigtable.admin.v2.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteClusterRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java new file mode 100644 index 0000000000..ceb031d253 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java index ad7b99eecc..f506aed541 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.DeleteInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteInstanceRequest other = - (com.google.bigtable.admin.v2.DeleteInstanceRequest) obj; + com.google.bigtable.admin.v2.DeleteInstanceRequest other = (com.google.bigtable.admin.v2.DeleteInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteInstanceRequest) com.google.bigtable.admin.v2.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.DeleteInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteInstanceRequest result = - new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteInstanceRequest result = new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteInstanceRequest) private static final com.google.bigtable.admin.v2.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteInstanceRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 0000000000..8fbd66b41d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java index a660b248eb..d61943d579 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
@@ -33,58 +16,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
  */
-public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
     DeleteSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteSnapshotRequest.newBuilder() to construct.
   private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteSnapshotRequest other = - (com.google.bigtable.admin.v2.DeleteSnapshotRequest) obj; + com.google.bigtable.admin.v2.DeleteSnapshotRequest other = (com.google.bigtable.admin.v2.DeleteSnapshotRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,103 +165,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
@@ -301,32 +269,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
       com.google.bigtable.admin.v2.DeleteSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
-              com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,9 +305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -357,11 +326,8 @@ public com.google.bigtable.admin.v2.DeleteSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteSnapshotRequest result =
-          new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteSnapshotRequest result = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -377,39 +343,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -450,19 +414,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,29 +434,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,25 +460,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,43 +483,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,34 +518,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteSnapshotRequest) private static final com.google.bigtable.admin.v2.DeleteSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(); } @@ -626,27 +563,27 @@ public static com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java new file mode 100644 index 0000000000..62fe94e7df --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteSnapshotRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteSnapshotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the snapshot to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the snapshot to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java index 78996ac05d..659186f79f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
  */
-public final class DeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteTableRequest)
     DeleteTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTableRequest.newBuilder() to construct.
   private DeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteTableRequest.class,
-            com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteTableRequest other = - (com.google.bigtable.admin.v2.DeleteTableRequest) obj; + com.google.bigtable.admin.v2.DeleteTableRequest other = (com.google.bigtable.admin.v2.DeleteTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +159,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteTableRequest)
       com.google.bigtable.admin.v2.DeleteTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteTableRequest.class,
-              com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.bigtable.admin.v2.DeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteTableRequest result =
-          new com.google.bigtable.admin.v2.DeleteTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteTableRequest result = new com.google.bigtable.admin.v2.DeleteTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteTableRequest) private static final com.google.bigtable.admin.v2.DeleteTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteTableRequest(); } @@ -616,27 +553,27 @@ public static com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java new file mode 100644 index 0000000000..8dd5db9569 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteTableRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteTableRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the table to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the table to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java index c69fa12d0a..92a0e29917 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
@@ -28,55 +11,49 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
  */
-public final class DropRowRangeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DropRowRangeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DropRowRangeRequest)
     DropRowRangeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DropRowRangeRequest.newBuilder() to construct.
   private DropRowRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DropRowRangeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DropRowRangeRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DropRowRangeRequest.class,
-            com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+            com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
   }
 
   private int targetCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object target_;
-
   public enum TargetCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ROW_KEY_PREFIX(2),
     DELETE_ALL_DATA_FROM_TABLE(3),
     TARGET_NOT_SET(0);
     private final int value;
-
     private TargetCase(int value) {
       this.value = value;
     }
@@ -92,43 +69,34 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return ROW_KEY_PREFIX;
-        case 3:
-          return DELETE_ALL_DATA_FROM_TABLE;
-        case 0:
-          return TARGET_NOT_SET;
-        default:
-          return null;
+        case 2: return ROW_KEY_PREFIX;
+        case 3: return DELETE_ALL_DATA_FROM_TABLE;
+        case 0: return TARGET_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase getTargetCase() {
-    return TargetCase.forNumber(targetCase_);
+  public TargetCase
+  getTargetCase() {
+    return TargetCase.forNumber(
+        targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -137,33 +105,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -173,15 +139,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ROW_KEY_PREFIX_FIELD_NUMBER = 2; /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ @java.lang.Override @@ -189,15 +152,12 @@ public boolean hasRowKeyPrefix() { return targetCase_ == 2; } /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ @java.lang.Override @@ -210,14 +170,11 @@ public com.google.protobuf.ByteString getRowKeyPrefix() { public static final int DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER = 3; /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ @java.lang.Override @@ -225,14 +182,11 @@ public boolean hasDeleteAllDataFromTable() { return targetCase_ == 3; } /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ @java.lang.Override @@ -244,7 +198,6 @@ public boolean getDeleteAllDataFromTable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,15 +209,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (targetCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) target_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) target_); } if (targetCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) target_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) target_)); } getUnknownFields().writeTo(output); } @@ -279,14 +235,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) target_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) target_); } if (targetCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) target_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) target_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -296,22 +252,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DropRowRangeRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DropRowRangeRequest other = - (com.google.bigtable.admin.v2.DropRowRangeRequest) obj; + com.google.bigtable.admin.v2.DropRowRangeRequest other = (com.google.bigtable.admin.v2.DropRowRangeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getTargetCase().equals(other.getTargetCase())) return false; switch (targetCase_) { case 2: - if (!getRowKeyPrefix().equals(other.getRowKeyPrefix())) return false; + if (!getRowKeyPrefix() + .equals(other.getRowKeyPrefix())) return false; break; case 3: - if (getDeleteAllDataFromTable() != other.getDeleteAllDataFromTable()) return false; + if (getDeleteAllDataFromTable() + != other.getDeleteAllDataFromTable()) return false; break; case 0: default: @@ -336,7 +294,8 @@ public int hashCode() { break; case 3: hash = (37 * hash) + DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteAllDataFromTable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleteAllDataFromTable()); break; case 0: default: @@ -346,104 +305,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DropRowRangeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
@@ -451,32 +405,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DropRowRangeRequest)
       com.google.bigtable.admin.v2.DropRowRangeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DropRowRangeRequest.class,
-              com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+              com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DropRowRangeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -488,9 +443,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -509,11 +464,8 @@ public com.google.bigtable.admin.v2.DropRowRangeRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DropRowRangeRequest buildPartial() {
-      com.google.bigtable.admin.v2.DropRowRangeRequest result =
-          new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DropRowRangeRequest result = new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -535,39 +487,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.DropRowRangeRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DropRowRangeRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,28 +526,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DropRowRangeRequest other) {
-      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getTargetCase()) {
-        case ROW_KEY_PREFIX:
-          {
-            setRowKeyPrefix(other.getRowKeyPrefix());
-            break;
-          }
-        case DELETE_ALL_DATA_FROM_TABLE:
-          {
-            setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
-            break;
-          }
-        case TARGET_NOT_SET:
-          {
-            break;
-          }
+        case ROW_KEY_PREFIX: {
+          setRowKeyPrefix(other.getRowKeyPrefix());
+          break;
+        }
+        case DELETE_ALL_DATA_FROM_TABLE: {
+          setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
+          break;
+        }
+        case TARGET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -624,31 +571,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                target_ = input.readBytes();
-                targetCase_ = 2;
-                break;
-              } // case 18
-            case 24:
-              {
-                target_ = input.readBool();
-                targetCase_ = 3;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              target_ = input.readBytes();
+              targetCase_ = 2;
+              break;
+            } // case 18
+            case 24: {
+              target_ = input.readBool();
+              targetCase_ = 3;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -658,12 +601,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int targetCase_ = 0;
     private java.lang.Object target_;
-
-    public TargetCase getTargetCase() {
-      return TargetCase.forNumber(targetCase_);
+    public TargetCase
+        getTargetCase() {
+      return TargetCase.forNumber(
+          targetCase_);
     }
 
     public Builder clearTarget() {
@@ -677,24 +620,20 @@ public Builder clearTarget() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -703,25 +642,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -729,43 +665,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -775,25 +700,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -802,30 +721,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ public boolean hasRowKeyPrefix() { return targetCase_ == 2; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ public com.google.protobuf.ByteString getRowKeyPrefix() { @@ -835,37 +748,29 @@ public com.google.protobuf.ByteString getRowKeyPrefix() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @param value The rowKeyPrefix to set. * @return This builder for chaining. */ public Builder setRowKeyPrefix(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } targetCase_ = 2; target_ = value; onChanged(); return this; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return This builder for chaining. */ public Builder clearRowKeyPrefix() { @@ -878,28 +783,22 @@ public Builder clearRowKeyPrefix() { } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ public boolean hasDeleteAllDataFromTable() { return targetCase_ == 3; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ public boolean getDeleteAllDataFromTable() { @@ -909,14 +808,11 @@ public boolean getDeleteAllDataFromTable() { return false; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @param value The deleteAllDataFromTable to set. * @return This builder for chaining. */ @@ -928,14 +824,11 @@ public Builder setDeleteAllDataFromTable(boolean value) { return this; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return This builder for chaining. */ public Builder clearDeleteAllDataFromTable() { @@ -946,9 +839,9 @@ public Builder clearDeleteAllDataFromTable() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -958,12 +851,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DropRowRangeRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DropRowRangeRequest) private static final com.google.bigtable.admin.v2.DropRowRangeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DropRowRangeRequest(); } @@ -972,27 +865,27 @@ public static com.google.bigtable.admin.v2.DropRowRangeRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropRowRangeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropRowRangeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +900,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DropRowRangeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java index a9511a014e..6881cd4667 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java @@ -1,109 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; -public interface DropRowRangeRequestOrBuilder - extends +public interface DropRowRangeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DropRowRangeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ boolean hasRowKeyPrefix(); /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ com.google.protobuf.ByteString getRowKeyPrefix(); /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ boolean hasDeleteAllDataFromTable(); /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ boolean getDeleteAllDataFromTable(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java index e059805f3b..db5f1a2eeb 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,38 +29,34 @@ private EncryptionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EncryptionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.EncryptionInfo.class,
-            com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
+            com.google.bigtable.admin.v2.EncryptionInfo.class, com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible encryption types for a resource.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.EncryptionInfo.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -87,8 +65,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * The data backing this resource is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -99,8 +75,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -118,8 +92,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -128,8 +100,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data backing this resource is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -140,8 +110,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -156,6 +124,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -180,49 +149,49 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 2:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 2: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EncryptionType findValueByNumber(int number) {
-            return EncryptionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EncryptionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EncryptionType findValueByNumber(int number) {
+              return EncryptionType.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.EncryptionInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EncryptionType[] VALUES = values();
 
-    public static EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EncryptionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -242,57 +211,38 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null - ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
    * Regardless of status, the existing data is always encrypted at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -300,58 +250,41 @@ public boolean hasEncryptionStatus() { return encryptionStatus_ != null; } /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
    * Regardless of status, the existing data is always encrypted at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ @java.lang.Override public com.google.rpc.Status getEncryptionStatus() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
    * Regardless of status, the existing data is always encrypted at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent cluster that is
    * in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ @java.lang.Override @@ -360,32 +293,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 { @@ -394,7 +325,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,13 +336,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) { @@ -430,13 +359,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; @@ -446,20 +375,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; } @@ -484,104 +414,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.EncryptionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption information for a given resource.
    * If this resource is protected with customer managed encryption, the in-use
@@ -591,32 +516,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();
@@ -632,9 +558,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
@@ -653,11 +579,8 @@ public com.google.bigtable.admin.v2.EncryptionInfo build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.EncryptionInfo buildPartial() {
-      com.google.bigtable.admin.v2.EncryptionInfo result =
-          new com.google.bigtable.admin.v2.EncryptionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.EncryptionInfo result = new com.google.bigtable.admin.v2.EncryptionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -668,8 +591,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
         result.encryptionType_ = encryptionType_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.encryptionStatus_ =
-            encryptionStatusBuilder_ == null ? encryptionStatus_ : encryptionStatusBuilder_.build();
+        result.encryptionStatus_ = encryptionStatusBuilder_ == null
+            ? encryptionStatus_
+            : encryptionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.kmsKeyVersion_ = kmsKeyVersion_;
@@ -680,39 +604,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.EncryptionInfo) {
-        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo) other);
+        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -758,32 +681,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                kmsKeyVersion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 24:
-              {
-                encryptionType_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              kmsKeyVersion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 24: {
+              encryptionType_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getEncryptionStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -793,38 +713,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int encryptionType_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -835,42 +743,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null - ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { + public Builder setEncryptionType(com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -880,16 +774,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -901,56 +790,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ public com.google.rpc.Status getEncryptionStatus() { if (encryptionStatusBuilder_ == null) { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } else { return encryptionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -966,17 +841,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(); } else { @@ -987,21 +860,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 (((bitField0_ & 0x00000002) != 0) - && encryptionStatus_ != null - && encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + encryptionStatus_ != null && + encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { getEncryptionStatusBuilder().mergeFrom(value); } else { encryptionStatus_ = value; @@ -1014,15 +884,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1035,15 +902,12 @@ public Builder clearEncryptionStatus() { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -1051,46 +915,38 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { if (encryptionStatusBuilder_ != null) { return encryptionStatusBuilder_.getMessageOrBuilder(); } else { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? + com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getEncryptionStatusFieldBuilder() { if (encryptionStatusBuilder_ == null) { - encryptionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getEncryptionStatus(), getParentForChildren(), isClean()); + encryptionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getEncryptionStatus(), + getParentForChildren(), + isClean()); encryptionStatus_ = null; } return encryptionStatusBuilder_; @@ -1098,23 +954,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; @@ -1123,24 +975,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 { @@ -1148,41 +997,30 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent cluster that is
      * in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent cluster that is
      * in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1192,33 +1030,27 @@ public Builder clearKmsKeyVersion() { return this; } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent cluster that is
      * in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1228,12 +1060,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(); } @@ -1242,27 +1074,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; @@ -1277,4 +1109,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 3c0a343a09..48d7d58d18 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Rule for determining which cells to delete during garbage collection.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ -public final class GcRule extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcRule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule) GcRuleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcRule.newBuilder() to construct. private GcRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcRule() {} + private GcRule() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcRule(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, - com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); } - public interface IntersectionOrBuilder - extends + public interface IntersectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Intersection) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -86,8 +64,6 @@ public interface IntersectionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -96,77 +72,68 @@ public interface IntersectionOrBuilder */ int getRulesCount(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesOrBuilderList(); + java.util.List + getRulesOrBuilderList(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index); } /** - * - * *
    * A GcRule which deletes cells matching all of the given rules.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Intersection} */ - public static final class Intersection extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Intersection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule.Intersection) IntersectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Intersection.newBuilder() to construct. private Intersection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Intersection() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Intersection(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -178,8 +145,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -187,13 +152,11 @@ public java.util.List getRulesList() { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -205,8 +168,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -218,8 +179,6 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { return rules_.get(index); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -227,12 +186,12 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -258,7 +218,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -268,15 +229,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule.Intersection)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GcRule.Intersection other = - (com.google.bigtable.admin.v2.GcRule.Intersection) obj; + com.google.bigtable.admin.v2.GcRule.Intersection other = (com.google.bigtable.admin.v2.GcRule.Intersection) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -298,93 +259,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule.Intersection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -394,41 +351,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GcRule which deletes cells matching all of the given rules.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Intersection} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule.Intersection) com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override @@ -465,18 +420,14 @@ public com.google.bigtable.admin.v2.GcRule.Intersection build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection buildPartial() { - com.google.bigtable.admin.v2.GcRule.Intersection result = - new com.google.bigtable.admin.v2.GcRule.Intersection(this); + com.google.bigtable.admin.v2.GcRule.Intersection result = new com.google.bigtable.admin.v2.GcRule.Intersection(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.GcRule.Intersection result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.GcRule.Intersection result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -496,41 +447,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Intersection resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Intersection) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection)other); } else { super.mergeFrom(other); return this; @@ -538,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Intersection other) { - if (other == com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) return this; if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { @@ -558,10 +505,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Intersection other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -593,26 +539,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.GcRule m = - input.readMessage( - com.google.bigtable.admin.v2.GcRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.GcRule m = + input.readMessage( + com.google.bigtable.admin.v2.GcRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,28 +567,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> rulesBuilder_; /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -658,8 +596,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -674,8 +610,6 @@ public int getRulesCount() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -690,15 +624,14 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder setRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,8 +645,6 @@ public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -732,8 +663,6 @@ public Builder setRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -754,15 +683,14 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder addRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -776,15 +704,14 @@ public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -795,8 +722,6 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForVa return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -815,8 +740,6 @@ public Builder addRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -827,7 +750,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -835,8 +759,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -854,8 +776,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -873,44 +793,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +833,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -927,52 +840,46 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -985,12 +892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule.Intersection) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule.Intersection) private static final com.google.bigtable.admin.v2.GcRule.Intersection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule.Intersection(); } @@ -999,28 +906,27 @@ public static com.google.bigtable.admin.v2.GcRule.Intersection getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Intersection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Intersection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,26 +941,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Intersection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UnionOrBuilder - extends + public interface UnionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Union) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1063,8 +966,6 @@ public interface UnionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1073,77 +974,68 @@ public interface UnionOrBuilder */ int getRulesCount(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesOrBuilderList(); + java.util.List + getRulesOrBuilderList(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index); } /** - * - * *
    * A GcRule which deletes cells matching any of the given rules.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Union} */ - public static final class Union extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Union extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule.Union) UnionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Union.newBuilder() to construct. private Union(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Union() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Union(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, - com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1155,8 +1047,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1164,13 +1054,11 @@ public java.util.List getRulesList() { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1182,8 +1070,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1195,8 +1081,6 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { return rules_.get(index); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1204,12 +1088,12 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1221,7 +1105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -1235,7 +1120,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1245,15 +1131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule.Union)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GcRule.Union other = - (com.google.bigtable.admin.v2.GcRule.Union) obj; + com.google.bigtable.admin.v2.GcRule.Union other = (com.google.bigtable.admin.v2.GcRule.Union) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1274,94 +1160,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule.Union prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1371,41 +1253,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GcRule which deletes cells matching any of the given rules.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Union} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule.Union) com.google.bigtable.admin.v2.GcRule.UnionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, - com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.Union.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1421,9 +1301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override @@ -1442,12 +1322,9 @@ public com.google.bigtable.admin.v2.GcRule.Union build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union buildPartial() { - com.google.bigtable.admin.v2.GcRule.Union result = - new com.google.bigtable.admin.v2.GcRule.Union(this); + com.google.bigtable.admin.v2.GcRule.Union result = new com.google.bigtable.admin.v2.GcRule.Union(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1472,41 +1349,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Union result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Union) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union)other); } else { super.mergeFrom(other); return this; @@ -1533,10 +1407,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Union other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -1568,26 +1441,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.GcRule m = - input.readMessage( - com.google.bigtable.admin.v2.GcRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.GcRule m = + input.readMessage( + com.google.bigtable.admin.v2.GcRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1597,28 +1469,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> rulesBuilder_; /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1633,8 +1498,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1649,8 +1512,6 @@ public int getRulesCount() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1665,15 +1526,14 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder setRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1687,8 +1547,6 @@ public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1707,8 +1565,6 @@ public Builder setRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1729,15 +1585,14 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder addRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1751,15 +1606,14 @@ public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1770,8 +1624,6 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForVa return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1790,8 +1642,6 @@ public Builder addRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1802,7 +1652,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1810,8 +1661,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1829,8 +1678,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1848,44 +1695,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1893,8 +1735,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1902,52 +1742,46 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1960,12 +1794,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule.Union) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule.Union) private static final com.google.bigtable.admin.v2.GcRule.Union DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule.Union(); } @@ -1974,28 +1808,27 @@ public static com.google.bigtable.admin.v2.GcRule.Union getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Union parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Union parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2010,16 +1843,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int ruleCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object rule_; - public enum RuleCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAX_NUM_VERSIONS(1), MAX_AGE(2), @@ -2027,7 +1858,6 @@ public enum RuleCase UNION(4), RULE_NOT_SET(0); private final int value; - private RuleCase(int value) { this.value = value; } @@ -2043,40 +1873,32 @@ public static RuleCase valueOf(int value) { public static RuleCase forNumber(int value) { switch (value) { - case 1: - return MAX_NUM_VERSIONS; - case 2: - return MAX_AGE; - case 3: - return INTERSECTION; - case 4: - return UNION; - case 0: - return RULE_NOT_SET; - default: - return null; + case 1: return MAX_NUM_VERSIONS; + case 2: return MAX_AGE; + case 3: return INTERSECTION; + case 4: return UNION; + case 0: return RULE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RuleCase getRuleCase() { - return RuleCase.forNumber(ruleCase_); + public RuleCase + getRuleCase() { + return RuleCase.forNumber( + ruleCase_); } public static final int MAX_NUM_VERSIONS_FIELD_NUMBER = 1; /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ @java.lang.Override @@ -2084,14 +1906,11 @@ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ @java.lang.Override @@ -2104,8 +1923,6 @@ public int getMaxNumVersions() { public static final int MAX_AGE_FIELD_NUMBER = 2; /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2113,7 +1930,6 @@ public int getMaxNumVersions() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2121,8 +1937,6 @@ public boolean hasMaxAge() { return ruleCase_ == 2; } /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2130,19 +1944,16 @@ public boolean hasMaxAge() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override public com.google.protobuf.Duration getMaxAge() { if (ruleCase_ == 2) { - return (com.google.protobuf.Duration) rule_; + return (com.google.protobuf.Duration) rule_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2154,21 +1965,18 @@ public com.google.protobuf.Duration getMaxAge() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     if (ruleCase_ == 2) {
-      return (com.google.protobuf.Duration) rule_;
+       return (com.google.protobuf.Duration) rule_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int INTERSECTION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ @java.lang.Override @@ -2176,26 +1984,21 @@ public boolean hasIntersection() { return ruleCase_ == 3; } /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { if (ruleCase_ == 3) { - return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; + return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; } return com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
@@ -2205,21 +2008,18 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersectionOrBuilder() { if (ruleCase_ == 3) { - return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; + return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; } return com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } public static final int UNION_FIELD_NUMBER = 4; /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ @java.lang.Override @@ -2227,26 +2027,21 @@ public boolean hasUnion() { return ruleCase_ == 4; } /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union getUnion() { if (ruleCase_ == 4) { - return (com.google.bigtable.admin.v2.GcRule.Union) rule_; + return (com.google.bigtable.admin.v2.GcRule.Union) rule_; } return com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
@@ -2256,13 +2051,12 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { if (ruleCase_ == 4) { - return (com.google.bigtable.admin.v2.GcRule.Union) rule_; + return (com.google.bigtable.admin.v2.GcRule.Union) rule_; } return com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2274,9 +2068,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (ruleCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) rule_)); + output.writeInt32( + 1, (int)((java.lang.Integer) rule_)); } if (ruleCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Duration) rule_); @@ -2297,24 +2093,21 @@ public int getSerializedSize() { size = 0; if (ruleCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) rule_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) rule_)); } if (ruleCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.protobuf.Duration) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.protobuf.Duration) rule_); } if (ruleCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.admin.v2.GcRule.Intersection) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.admin.v2.GcRule.Intersection) rule_); } if (ruleCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.bigtable.admin.v2.GcRule.Union) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.bigtable.admin.v2.GcRule.Union) rule_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2324,7 +2117,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule)) { return super.equals(obj); @@ -2334,16 +2127,20 @@ public boolean equals(final java.lang.Object obj) { if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 1: - if (getMaxNumVersions() != other.getMaxNumVersions()) return false; + if (getMaxNumVersions() + != other.getMaxNumVersions()) return false; break; case 2: - if (!getMaxAge().equals(other.getMaxAge())) return false; + if (!getMaxAge() + .equals(other.getMaxAge())) return false; break; case 3: - if (!getIntersection().equals(other.getIntersection())) return false; + if (!getIntersection() + .equals(other.getIntersection())) return false; break; case 4: - if (!getUnion().equals(other.getUnion())) return false; + if (!getUnion() + .equals(other.getUnion())) return false; break; case 0: default: @@ -2384,135 +2181,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GcRule parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GcRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GcRule parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.GcRule parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.GcRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Rule for determining which cells to delete during garbage collection.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule) com.google.bigtable.admin.v2.GcRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, - com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2532,9 +2326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override @@ -2554,9 +2348,7 @@ public com.google.bigtable.admin.v2.GcRule build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule buildPartial() { com.google.bigtable.admin.v2.GcRule result = new com.google.bigtable.admin.v2.GcRule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2569,13 +2361,16 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { result.ruleCase_ = ruleCase_; result.rule_ = this.rule_; - if (ruleCase_ == 2 && maxAgeBuilder_ != null) { + if (ruleCase_ == 2 && + maxAgeBuilder_ != null) { result.rule_ = maxAgeBuilder_.build(); } - if (ruleCase_ == 3 && intersectionBuilder_ != null) { + if (ruleCase_ == 3 && + intersectionBuilder_ != null) { result.rule_ = intersectionBuilder_.build(); } - if (ruleCase_ == 4 && unionBuilder_ != null) { + if (ruleCase_ == 4 && + unionBuilder_ != null) { result.rule_ = unionBuilder_.build(); } } @@ -2584,39 +2379,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule)other); } else { super.mergeFrom(other); return this; @@ -2626,30 +2420,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule other) { if (other == com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) return this; switch (other.getRuleCase()) { - case MAX_NUM_VERSIONS: - { - setMaxNumVersions(other.getMaxNumVersions()); - break; - } - case MAX_AGE: - { - mergeMaxAge(other.getMaxAge()); - break; - } - case INTERSECTION: - { - mergeIntersection(other.getIntersection()); - break; - } - case UNION: - { - mergeUnion(other.getUnion()); - break; - } - case RULE_NOT_SET: - { - break; - } + case MAX_NUM_VERSIONS: { + setMaxNumVersions(other.getMaxNumVersions()); + break; + } + case MAX_AGE: { + mergeMaxAge(other.getMaxAge()); + break; + } + case INTERSECTION: { + mergeIntersection(other.getIntersection()); + break; + } + case UNION: { + mergeUnion(other.getUnion()); + break; + } + case RULE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2677,37 +2466,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rule_ = input.readInt32(); - ruleCase_ = 1; - break; - } // case 8 - case 18: - { - input.readMessage(getMaxAgeFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getIntersectionFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getUnionFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rule_ = input.readInt32(); + ruleCase_ = 1; + break; + } // case 8 + case 18: { + input.readMessage( + getMaxAgeFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getIntersectionFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getUnionFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2717,12 +2507,12 @@ public Builder mergeFrom( } // finally return this; } - private int ruleCase_ = 0; private java.lang.Object rule_; - - public RuleCase getRuleCase() { - return RuleCase.forNumber(ruleCase_); + public RuleCase + getRuleCase() { + return RuleCase.forNumber( + ruleCase_); } public Builder clearRule() { @@ -2735,28 +2525,22 @@ public Builder clearRule() { private int bitField0_; /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ public int getMaxNumVersions() { @@ -2766,14 +2550,11 @@ public int getMaxNumVersions() { return 0; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @param value The maxNumVersions to set. * @return This builder for chaining. */ @@ -2785,14 +2566,11 @@ public Builder setMaxNumVersions(int value) { return this; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return This builder for chaining. */ public Builder clearMaxNumVersions() { @@ -2805,13 +2583,8 @@ public Builder clearMaxNumVersions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxAgeBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxAgeBuilder_; /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2819,7 +2592,6 @@ public Builder clearMaxNumVersions() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2827,8 +2599,6 @@ public boolean hasMaxAge() { return ruleCase_ == 2; } /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2836,7 +2606,6 @@ public boolean hasMaxAge() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override @@ -2854,8 +2623,6 @@ public com.google.protobuf.Duration getMaxAge() { } } /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2878,8 +2645,6 @@ public Builder setMaxAge(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2888,7 +2653,8 @@ public Builder setMaxAge(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_age = 2;
      */
-    public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxAge(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxAgeBuilder_ == null) {
         rule_ = builderForValue.build();
         onChanged();
@@ -2899,8 +2665,6 @@ public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2911,11 +2675,10 @@ public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeMaxAge(com.google.protobuf.Duration value) {
       if (maxAgeBuilder_ == null) {
-        if (ruleCase_ == 2 && rule_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          rule_ =
-              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) rule_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (ruleCase_ == 2 &&
+            rule_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          rule_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) rule_)
+              .mergeFrom(value).buildPartial();
         } else {
           rule_ = value;
         }
@@ -2931,8 +2694,6 @@ public Builder mergeMaxAge(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2958,8 +2719,6 @@ public Builder clearMaxAge() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2972,8 +2731,6 @@ public com.google.protobuf.Duration.Builder getMaxAgeBuilder() {
       return getMaxAgeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2994,8 +2751,6 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -3005,20 +2760,17 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
      * .google.protobuf.Duration max_age = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxAgeFieldBuilder() {
       if (maxAgeBuilder_ == null) {
         if (!(ruleCase_ == 2)) {
           rule_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        maxAgeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) rule_, getParentForChildren(), isClean());
+        maxAgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) rule_,
+                getParentForChildren(),
+                isClean());
         rule_ = null;
       }
       ruleCase_ = 2;
@@ -3027,19 +2779,13 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.GcRule.Intersection,
-            com.google.bigtable.admin.v2.GcRule.Intersection.Builder,
-            com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>
-        intersectionBuilder_;
+        com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> intersectionBuilder_;
     /**
-     *
-     *
      * 
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ @java.lang.Override @@ -3047,14 +2793,11 @@ public boolean hasIntersection() { return ruleCase_ == 3; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ @java.lang.Override @@ -3072,8 +2815,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3094,8 +2835,6 @@ public Builder setIntersection(com.google.bigtable.admin.v2.GcRule.Intersection return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3114,8 +2853,6 @@ public Builder setIntersection( return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3124,13 +2861,10 @@ public Builder setIntersection( */ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersection value) { if (intersectionBuilder_ == null) { - if (ruleCase_ == 3 - && rule_ != com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) { - rule_ = - com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder( - (com.google.bigtable.admin.v2.GcRule.Intersection) rule_) - .mergeFrom(value) - .buildPartial(); + if (ruleCase_ == 3 && + rule_ != com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) { + rule_ = com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder((com.google.bigtable.admin.v2.GcRule.Intersection) rule_) + .mergeFrom(value).buildPartial(); } else { rule_ = value; } @@ -3146,8 +2880,6 @@ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersectio return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3171,8 +2903,6 @@ public Builder clearIntersection() { return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3183,8 +2913,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection.Builder getIntersectionB return getIntersectionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3203,8 +2931,6 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3212,19 +2938,14 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Intersection, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder, - com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> + com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> getIntersectionFieldBuilder() { if (intersectionBuilder_ == null) { if (!(ruleCase_ == 3)) { rule_ = com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } - intersectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Intersection, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder, - com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>( + intersectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>( (com.google.bigtable.admin.v2.GcRule.Intersection) rule_, getParentForChildren(), isClean()); @@ -3236,19 +2957,13 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> - unionBuilder_; + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> unionBuilder_; /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ @java.lang.Override @@ -3256,14 +2971,11 @@ public boolean hasUnion() { return ruleCase_ == 4; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ @java.lang.Override @@ -3281,8 +2993,6 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3303,15 +3013,14 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; */ - public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builderForValue) { + public Builder setUnion( + com.google.bigtable.admin.v2.GcRule.Union.Builder builderForValue) { if (unionBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); @@ -3322,8 +3031,6 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builde return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3332,13 +3039,10 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builde */ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { if (unionBuilder_ == null) { - if (ruleCase_ == 4 - && rule_ != com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance()) { - rule_ = - com.google.bigtable.admin.v2.GcRule.Union.newBuilder( - (com.google.bigtable.admin.v2.GcRule.Union) rule_) - .mergeFrom(value) - .buildPartial(); + if (ruleCase_ == 4 && + rule_ != com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance()) { + rule_ = com.google.bigtable.admin.v2.GcRule.Union.newBuilder((com.google.bigtable.admin.v2.GcRule.Union) rule_) + .mergeFrom(value).buildPartial(); } else { rule_ = value; } @@ -3354,8 +3058,6 @@ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3379,8 +3081,6 @@ public Builder clearUnion() { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3391,8 +3091,6 @@ public com.google.bigtable.admin.v2.GcRule.Union.Builder getUnionBuilder() { return getUnionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3411,8 +3109,6 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3420,19 +3116,14 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { * .google.bigtable.admin.v2.GcRule.Union union = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> getUnionFieldBuilder() { if (unionBuilder_ == null) { if (!(ruleCase_ == 4)) { rule_ = com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } - unionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder>( + unionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder>( (com.google.bigtable.admin.v2.GcRule.Union) rule_, getParentForChildren(), isClean()); @@ -3442,9 +3133,9 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { onChanged(); return unionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3454,12 +3145,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule) private static final com.google.bigtable.admin.v2.GcRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule(); } @@ -3468,27 +3159,27 @@ public static com.google.bigtable.admin.v2.GcRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3503,4 +3194,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java index c04c69b2e8..3c5ae5c140 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 7449b1f82c..63ec797275 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,59 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
  */
-public final class GenerateConsistencyTokenRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateConsistencyTokenRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
     GenerateConsistencyTokenRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenRequest.newBuilder() to construct.
-  private GenerateConsistencyTokenRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateConsistencyTokenRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other = - (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) obj; + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other = (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,104 +160,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -293,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
       com.google.bigtable.admin.v2.GenerateConsistencyTokenRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,14 +295,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance();
     }
 
@@ -350,17 +316,13 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result =
-          new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -371,39 +333,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -411,9 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other) {
-      if (other
-          == com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -445,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -467,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -498,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -524,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -570,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,13 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) - private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(); } @@ -622,27 +553,27 @@ public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateConsistencyTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateConsistencyTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +588,6 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java new file mode 100644 index 0000000000..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 03e6e42309..a16f237689 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -28,55 +11,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
  */
-public final class GenerateConsistencyTokenResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateConsistencyTokenResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
     GenerateConsistencyTokenResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenResponse.newBuilder() to construct.
-  private GenerateConsistencyTokenResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateConsistencyTokenResponse() {
     consistencyToken_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
   }
 
   public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object consistencyToken_ = "";
   /**
-   *
-   *
    * 
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ @java.lang.Override @@ -85,29 +61,29 @@ public java.lang.String getConsistencyToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; } } /** - * - * *
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The bytes for consistencyToken. */ @java.lang.Override - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -116,7 +92,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consistencyToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, consistencyToken_); } @@ -152,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other = - (com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) obj; + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other = (com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) obj; - if (!getConsistencyToken().equals(other.getConsistencyToken())) return false; + if (!getConsistencyToken() + .equals(other.getConsistencyToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,104 +156,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -285,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
       com.google.bigtable.admin.v2.GenerateConsistencyTokenResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,14 +291,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance();
     }
 
@@ -342,17 +312,13 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result =
-          new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.consistencyToken_ = consistencyToken_;
@@ -363,39 +329,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,9 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other) {
-      if (other
-          == com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance()) return this;
       if (!other.getConsistencyToken().isEmpty()) {
         consistencyToken_ = other.consistencyToken_;
         bitField0_ |= 0x00000001;
@@ -437,19 +400,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              consistencyToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -459,25 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object consistencyToken_ = "";
     /**
-     *
-     *
      * 
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -486,21 +444,20 @@ public java.lang.String getConsistencyToken() { } } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return The bytes for consistencyToken. */ - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -508,35 +465,28 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @param value The consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -546,30 +496,26 @@ public Builder clearConsistencyToken() { return this; } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,13 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) - private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(); } @@ -594,27 +539,27 @@ public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateConsistencyTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateConsistencyTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,4 +574,6 @@ public com.google.protobuf.Parser getParserFor public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java new file mode 100644 index 0000000000..082dce3212 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GenerateConsistencyTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The generated consistency token.
+   * 
+ * + * string consistency_token = 1; + * @return The consistencyToken. + */ + java.lang.String getConsistencyToken(); + /** + *
+   * The generated consistency token.
+   * 
+ * + * string consistency_token = 1; + * @return The bytes for consistencyToken. + */ + com.google.protobuf.ByteString + getConsistencyTokenBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index a752a60d76..3686734ee7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ -public final class GetAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetAppProfileRequest) GetAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAppProfileRequest.newBuilder() to construct. private GetAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, - com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetAppProfileRequest other = - (com.google.bigtable.admin.v2.GetAppProfileRequest) obj; + com.google.bigtable.admin.v2.GetAppProfileRequest other = (com.google.bigtable.admin.v2.GetAppProfileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetAppProfileRequest) com.google.bigtable.admin.v2.GetAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, - com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.GetAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.GetAppProfileRequest result = - new com.google.bigtable.admin.v2.GetAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetAppProfileRequest result = new com.google.bigtable.admin.v2.GetAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetAppProfileRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GetAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetAppProfileRequest) private static final com.google.bigtable.admin.v2.GetAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetAppProfileRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java new file mode 100644 index 0000000000..2ed3f34aa3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetAppProfileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetAppProfileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java index 638b6180a6..4b72335065 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,84 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetBackupRequest.class, - com.google.bigtable.admin.v2.GetBackupRequest.Builder.class); + com.google.bigtable.admin.v2.GetBackupRequest.class, com.google.bigtable.admin.v2.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,33 +62,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 { @@ -122,7 +95,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +106,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -158,15 +131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -185,136 +158,132 @@ 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(); @@ -324,9 +293,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 @@ -345,11 +314,8 @@ public com.google.bigtable.admin.v2.GetBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetBackupRequest buildPartial() { - com.google.bigtable.admin.v2.GetBackupRequest result = - new com.google.bigtable.admin.v2.GetBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetBackupRequest result = new com.google.bigtable.admin.v2.GetBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -365,39 +331,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetBackupRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -437,19 +402,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,29 +422,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -490,25 +448,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 { @@ -516,43 +471,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -562,34 +506,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +537,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(); } @@ -613,27 +551,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; @@ -648,4 +586,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 cf441447d8..b4b468798a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, - com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetClusterRequest other = - (com.google.bigtable.admin.v2.GetClusterRequest) obj; + com.google.bigtable.admin.v2.GetClusterRequest other = (com.google.bigtable.admin.v2.GetClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetClusterRequest) com.google.bigtable.admin.v2.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, - com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.GetClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetClusterRequest buildPartial() { - com.google.bigtable.admin.v2.GetClusterRequest result = - new com.google.bigtable.admin.v2.GetClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetClusterRequest result = new com.google.bigtable.admin.v2.GetClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetClusterRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetClusterRequest) private static final com.google.bigtable.admin.v2.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetClusterRequest(); } @@ -606,27 +544,27 @@ public static com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java new file mode 100644 index 0000000000..de11736bdd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java index 18523c1218..3649fb85e1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ -public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetInstanceRequest) GetInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, - com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetInstanceRequest other = - (com.google.bigtable.admin.v2.GetInstanceRequest) obj; + com.google.bigtable.admin.v2.GetInstanceRequest other = (com.google.bigtable.admin.v2.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetInstanceRequest) com.google.bigtable.admin.v2.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, - com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.GetInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.GetInstanceRequest result = - new com.google.bigtable.admin.v2.GetInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetInstanceRequest result = new com.google.bigtable.admin.v2.GetInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetInstanceRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GetInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetInstanceRequest) private static final com.google.bigtable.admin.v2.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetInstanceRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java new file mode 100644 index 0000000000..5f46e6ad12 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java index 452ba93eed..d2ecc6d725 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
@@ -33,58 +16,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
  */
-public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetSnapshotRequest)
     GetSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetSnapshotRequest.newBuilder() to construct.
   private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetSnapshotRequest.class,
-            com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetSnapshotRequest other = - (com.google.bigtable.admin.v2.GetSnapshotRequest) obj; + com.google.bigtable.admin.v2.GetSnapshotRequest other = (com.google.bigtable.admin.v2.GetSnapshotRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,104 +164,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
@@ -301,32 +269,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetSnapshotRequest)
       com.google.bigtable.admin.v2.GetSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetSnapshotRequest.class,
-              com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,9 +305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -357,11 +326,8 @@ public com.google.bigtable.admin.v2.GetSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetSnapshotRequest result =
-          new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetSnapshotRequest result = new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -377,39 +343,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetSnapshotRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GetSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -450,19 +414,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,29 +434,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,25 +460,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,43 +483,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,34 +518,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetSnapshotRequest) private static final com.google.bigtable.admin.v2.GetSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetSnapshotRequest(); } @@ -626,27 +563,27 @@ public static com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java new file mode 100644 index 0000000000..af176c000d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetSnapshotRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetSnapshotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested snapshot.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested snapshot.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java index 16bb7b093f..7301c1b83a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetTableRequest}
  */
-public final class GetTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetTableRequest)
     GetTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTableRequest.newBuilder() to construct.
   private GetTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTableRequest() {
     name_ = "";
     view_ = 0;
@@ -45,42 +27,35 @@ private GetTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetTableRequest.class,
-            com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,42 +99,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +136,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -193,7 +157,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,15 +168,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetTableRequest other = - (com.google.bigtable.admin.v2.GetTableRequest) obj; + com.google.bigtable.admin.v2.GetTableRequest other = (com.google.bigtable.admin.v2.GetTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -233,104 +198,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
@@ -338,32 +298,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetTableRequest)
       com.google.bigtable.admin.v2.GetTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetTableRequest.class,
-              com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +335,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,11 +356,8 @@ public com.google.bigtable.admin.v2.GetTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetTableRequest result =
-          new com.google.bigtable.admin.v2.GetTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetTableRequest result = new com.google.bigtable.admin.v2.GetTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -418,39 +376,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetTableRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,25 +450,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -521,29 +475,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -552,25 +501,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -578,43 +524,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -624,25 +559,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -652,31 +581,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -687,33 +609,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -727,15 +642,12 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -744,9 +656,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +668,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetTableRequest) private static final com.google.bigtable.admin.v2.GetTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetTableRequest(); } @@ -770,27 +682,27 @@ public static com.google.bigtable.admin.v2.GetTableRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,4 +717,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java index 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 13b7d28cba..b1a3ef3748 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A tablet is a defined by a start and end key and is explained in
  * https://cloud.google.com/bigtable/docs/overview#architecture and
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.HotTablet}
  */
-public final class HotTablet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HotTablet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.HotTablet)
     HotTabletOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HotTablet.newBuilder() to construct.
   private HotTablet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HotTablet() {
     name_ = "";
     tableName_ = "";
@@ -50,39 +32,34 @@ private HotTablet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HotTablet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.HotTablet.class,
-            com.google.bigtable.admin.v2.HotTablet.Builder.class);
+            com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -91,30 +68,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,19 +100,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TABLE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ @java.lang.Override @@ -144,30 +117,30 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -178,15 +151,11 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -194,15 +163,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -210,14 +175,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -227,15 +189,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -243,15 +201,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -259,14 +213,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -274,18 +225,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int START_KEY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object startKey_ = ""; /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The startKey. */ @java.lang.Override @@ -294,29 +241,29 @@ public java.lang.String getStartKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startKey_ = s; return s; } } /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The bytes for startKey. */ @java.lang.Override - public com.google.protobuf.ByteString getStartKeyBytes() { + public com.google.protobuf.ByteString + getStartKeyBytes() { java.lang.Object ref = startKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startKey_ = b; return b; } else { @@ -325,18 +272,14 @@ public com.google.protobuf.ByteString getStartKeyBytes() { } public static final int END_KEY_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object endKey_ = ""; /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The endKey. */ @java.lang.Override @@ -345,29 +288,29 @@ public java.lang.String getEndKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endKey_ = s; return s; } } /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The bytes for endKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEndKeyBytes() { + public com.google.protobuf.ByteString + getEndKeyBytes() { java.lang.Object ref = endKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endKey_ = b; return b; } else { @@ -378,8 +321,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() { public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER = 7; private float nodeCpuUsagePercent_ = 0F; /** - * - * *
    * Output only. The average CPU usage spent by a node on this tablet over the start_time to
    * end_time time range. The percentage is the amount of CPU used by the node
@@ -388,7 +329,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() {
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -397,7 +337,6 @@ public float getNodeCpuUsagePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -447,10 +387,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableName_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, startKey_); @@ -459,7 +401,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endKey_); } if (java.lang.Float.floatToRawIntBits(nodeCpuUsagePercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(7, nodeCpuUsagePercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(7, nodeCpuUsagePercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -469,27 +412,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.HotTablet)) { return super.equals(obj); } com.google.bigtable.admin.v2.HotTablet other = (com.google.bigtable.admin.v2.HotTablet) obj; - if (!getName().equals(other.getName())) return false; - if (!getTableName().equals(other.getTableName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getStartKey().equals(other.getStartKey())) return false; - if (!getEndKey().equals(other.getEndKey())) return false; + if (!getStartKey() + .equals(other.getStartKey())) return false; + if (!getEndKey() + .equals(other.getEndKey())) return false; if (java.lang.Float.floatToIntBits(getNodeCpuUsagePercent()) - != java.lang.Float.floatToIntBits(other.getNodeCpuUsagePercent())) return false; + != java.lang.Float.floatToIntBits( + other.getNodeCpuUsagePercent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -518,110 +468,106 @@ public int hashCode() { hash = (37 * hash) + END_KEY_FIELD_NUMBER; hash = (53 * hash) + getEndKey().hashCode(); hash = (37 * hash) + NODE_CPU_USAGE_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getNodeCpuUsagePercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getNodeCpuUsagePercent()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.HotTablet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.HotTablet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.HotTablet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.HotTablet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A tablet is a defined by a start and end key and is explained in
    * https://cloud.google.com/bigtable/docs/overview#architecture and
@@ -632,32 +578,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.HotTablet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.HotTablet)
       com.google.bigtable.admin.v2.HotTabletOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.HotTablet.class,
-              com.google.bigtable.admin.v2.HotTablet.Builder.class);
+              com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.HotTablet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -681,9 +628,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
     }
 
     @java.lang.Override
@@ -702,11 +649,8 @@ public com.google.bigtable.admin.v2.HotTablet build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.HotTablet buildPartial() {
-      com.google.bigtable.admin.v2.HotTablet result =
-          new com.google.bigtable.admin.v2.HotTablet(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.HotTablet result = new com.google.bigtable.admin.v2.HotTablet(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -720,10 +664,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
         result.tableName_ = tableName_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.startKey_ = startKey_;
@@ -740,39 +688,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.HotTablet) {
-        return mergeFrom((com.google.bigtable.admin.v2.HotTablet) other);
+        return mergeFrom((com.google.bigtable.admin.v2.HotTablet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -836,55 +783,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                startKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                endKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 61:
-              {
-                nodeCpuUsagePercent_ = input.readFloat();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 61
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              startKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              endKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 61: {
+              nodeCpuUsagePercent_ = input.readFloat();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 61
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -894,26 +837,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -922,22 +862,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -945,37 +884,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -985,22 +917,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1010,21 +938,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableName_ = ""; /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1033,22 +959,21 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1056,37 +981,30 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1096,22 +1014,18 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000002; @@ -1121,35 +1035,24 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1160,14 +1063,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1183,16 +1083,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1203,20 +1101,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1229,14 +1124,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1249,14 +1141,11 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -1264,44 +1153,36 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1309,35 +1190,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1348,14 +1218,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1371,16 +1238,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1391,20 +1256,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1417,14 +1279,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1437,14 +1296,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -1452,44 +1308,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1497,20 +1345,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object startKey_ = ""; /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return The startKey. */ public java.lang.String getStartKey() { java.lang.Object ref = startKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startKey_ = s; return s; @@ -1519,21 +1365,20 @@ public java.lang.String getStartKey() { } } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return The bytes for startKey. */ - public com.google.protobuf.ByteString getStartKeyBytes() { + public com.google.protobuf.ByteString + getStartKeyBytes() { java.lang.Object ref = startKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startKey_ = b; return b; } else { @@ -1541,35 +1386,28 @@ public com.google.protobuf.ByteString getStartKeyBytes() { } } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @param value The startKey to set. * @return This builder for chaining. */ - public Builder setStartKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } startKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return This builder for chaining. */ public Builder clearStartKey() { @@ -1579,21 +1417,17 @@ public Builder clearStartKey() { return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @param value The bytes for startKey to set. * @return This builder for chaining. */ - public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startKey_ = value; bitField0_ |= 0x00000010; @@ -1603,20 +1437,18 @@ public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object endKey_ = ""; /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return The endKey. */ public java.lang.String getEndKey() { java.lang.Object ref = endKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endKey_ = s; return s; @@ -1625,21 +1457,20 @@ public java.lang.String getEndKey() { } } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return The bytes for endKey. */ - public com.google.protobuf.ByteString getEndKeyBytes() { + public com.google.protobuf.ByteString + getEndKeyBytes() { java.lang.Object ref = endKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endKey_ = b; return b; } else { @@ -1647,35 +1478,28 @@ public com.google.protobuf.ByteString getEndKeyBytes() { } } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @param value The endKey to set. * @return This builder for chaining. */ - public Builder setEndKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endKey_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return This builder for chaining. */ public Builder clearEndKey() { @@ -1685,21 +1509,17 @@ public Builder clearEndKey() { return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @param value The bytes for endKey to set. * @return This builder for chaining. */ - public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endKey_ = value; bitField0_ |= 0x00000020; @@ -1707,10 +1527,8 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { return this; } - private float nodeCpuUsagePercent_; + private float nodeCpuUsagePercent_ ; /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1719,7 +1537,6 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -1727,8 +1544,6 @@ public float getNodeCpuUsagePercent() { return nodeCpuUsagePercent_; } /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1737,7 +1552,6 @@ public float getNodeCpuUsagePercent() {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nodeCpuUsagePercent to set. * @return This builder for chaining. */ @@ -1749,8 +1563,6 @@ public Builder setNodeCpuUsagePercent(float value) { return this; } /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1759,7 +1571,6 @@ public Builder setNodeCpuUsagePercent(float value) {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNodeCpuUsagePercent() { @@ -1768,9 +1579,9 @@ public Builder clearNodeCpuUsagePercent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1780,12 +1591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.HotTablet) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.HotTablet) private static final com.google.bigtable.admin.v2.HotTablet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.HotTablet(); } @@ -1794,27 +1605,27 @@ public static com.google.bigtable.admin.v2.HotTablet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HotTablet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HotTablet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1829,4 +1640,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.HotTablet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java index 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 bba747b978..3db29a94ea 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
  * the resources that serve them.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Instance}
  */
-public final class Instance extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Instance extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Instance)
     InstanceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -49,49 +31,46 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Instance.class,
-            com.google.bigtable.admin.v2.Instance.Builder.class);
+            com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of an instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the instance could not be determined.
      * 
@@ -100,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -111,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     READY(1),
     /**
-     *
-     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance could not be determined.
      * 
@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -146,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -157,6 +126,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -181,49 +151,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        default:
-          return null;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Instance.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -241,18 +211,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of the instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -263,8 +230,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     TYPE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -274,8 +239,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PRODUCTION(1),
     /**
-     *
-     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -288,8 +251,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -300,8 +261,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TYPE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -311,8 +270,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRODUCTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -322,6 +279,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEVELOPMENT_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -346,49 +304,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return PRODUCTION;
-        case 2:
-          return DEVELOPMENT;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return PRODUCTION;
+        case 2: return DEVELOPMENT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -407,19 +365,15 @@ private Type(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -428,30 +382,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -460,12 +414,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -473,7 +424,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -482,15 +432,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -498,15 +447,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -517,104 +467,84 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -632,21 +562,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -668,8 +597,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -687,19 +614,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -717,11 +642,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -731,17 +656,13 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -749,17 +670,13 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -767,16 +684,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -786,14 +700,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SATISFIES_PZS_FIELD_NUMBER = 8; private boolean satisfiesPzs_ = false; /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -801,14 +712,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -817,7 +725,6 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -829,7 +736,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -842,8 +750,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (type_ != com.google.bigtable.admin.v2.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (createTime_ != null) { output.writeMessage(7, getCreateTime()); } @@ -866,26 +778,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (state_ != com.google.bigtable.admin.v2.Instance.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (type_ != com.google.bigtable.admin.v2.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -895,25 +811,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Instance)) { return super.equals(obj); } com.google.bigtable.admin.v2.Instance other = (com.google.bigtable.admin.v2.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false; if (hasSatisfiesPzs()) { - if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() + != other.getSatisfiesPzs()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -944,110 +865,107 @@ public int hashCode() { } if (hasSatisfiesPzs()) { hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSatisfiesPzs()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Instance parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Instance parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Instance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Instance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Instance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
    * the resources that serve them.
@@ -1057,52 +975,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Instance}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Instance)
       com.google.bigtable.admin.v2.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Instance.class,
-              com.google.bigtable.admin.v2.Instance.Builder.class);
+              com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Instance.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1122,9 +1043,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -1143,11 +1064,8 @@ public com.google.bigtable.admin.v2.Instance build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Instance buildPartial() {
-      com.google.bigtable.admin.v2.Instance result =
-          new com.google.bigtable.admin.v2.Instance(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.Instance result = new com.google.bigtable.admin.v2.Instance(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1171,7 +1089,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1185,39 +1105,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Instance) {
-        return mergeFrom((com.google.bigtable.admin.v2.Instance) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1242,7 +1161,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Instance other) {
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -1276,61 +1196,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 58:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 64:
-              {
-                satisfiesPzs_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 64
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 58: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 64: {
+              satisfiesPzs_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 64
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1340,26 +1252,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1368,22 +1277,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1391,37 +1299,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1431,22 +1332,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1456,8 +1353,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1465,13 +1360,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1480,8 +1375,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1489,14 +1382,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1504,8 +1398,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1513,22 +1405,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1536,7 +1424,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1546,8 +1433,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1555,14 +1440,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1572,31 +1455,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1607,33 +1483,26 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1647,15 +1516,12 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) { return this; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1667,29 +1533,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1700,31 +1559,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1738,14 +1590,11 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) { return this; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1755,19 +1604,21 @@ public Builder clearType() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1776,13 +1627,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1800,21 +1648,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1836,8 +1683,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1855,19 +1700,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1885,25 +1728,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1920,22 +1761,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1952,20 +1794,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1982,72 +1821,55 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2063,19 +1885,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2086,23 +1905,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2115,17 +1930,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2138,17 +1949,13 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -2156,67 +1963,52 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private boolean satisfiesPzs_; + private boolean satisfiesPzs_ ; /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -2224,14 +2016,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -2239,14 +2028,11 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -2258,14 +2044,11 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -2274,9 +2057,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2286,12 +2069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Instance) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Instance) private static final com.google.bigtable.admin.v2.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Instance(); } @@ -2300,27 +2083,27 @@ public static com.google.bigtable.admin.v2.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2335,4 +2118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java similarity index 84% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java index d48c522028..7348359ffc 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -60,13 +37,10 @@ public interface InstanceOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -74,66 +48,52 @@ public interface InstanceOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ com.google.bigtable.admin.v2.Instance.State getState(); /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ com.google.bigtable.admin.v2.Instance.Type getType(); /** - * - * *
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -152,8 +112,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -170,13 +128,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -193,10 +153,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -214,13 +173,11 @@ public interface InstanceOrBuilder
    * map<string, string> labels = 5;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -237,73 +194,57 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ boolean hasSatisfiesPzs(); /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java new file mode 100644 index 0000000000..cec675b8bc --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -0,0 +1,263 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/instance.proto + +package com.google.bigtable.admin.v2; + +public final class InstanceProto { + private InstanceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_HotTablet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/bigtable/admin/v2/instance.prot" + + "o\022\030google.bigtable.admin.v2\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032%google/bigtable/admin/v2/common" + + ".proto\032\037google/protobuf/timestamp.proto\"" + + "\311\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" + + "me\030\002 \001(\tB\004\342A\001\002\0227\n\005state\030\003 \001(\0162(.google.b" + + "igtable.admin.v2.Instance.State\0225\n\004type\030" + + "\004 \001(\0162\'.google.bigtable.admin.v2.Instanc" + + "e.Type\022>\n\006labels\030\005 \003(\0132..google.bigtable" + + ".admin.v2.Instance.LabelsEntry\0225\n\013create" + + "_time\030\007 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022 \n\rsatisfies_pzs\030\010 \001(\010B\004\342A\001\003H\000\210\001\001\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" + + "READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UN" + + "SPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPME" + + "NT\020\002:S\352AP\n%bigtableadmin.googleapis.com/" + + "Instance\022\'projects/{project}/instances/{" + + "instance}B\020\n\016_satisfies_pzs\"_\n\022Autoscali" + + "ngTargets\022\037\n\027cpu_utilization_percent\030\002 \001" + + "(\005\022(\n storage_utilization_gib_per_node\030\003" + + " \001(\005\"Q\n\021AutoscalingLimits\022\035\n\017min_serve_n" + + "odes\030\001 \001(\005B\004\342A\001\002\022\035\n\017max_serve_nodes\030\002 \001(" + + "\005B\004\342A\001\002\"\327\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022<\n\010loc" + + "ation\030\002 \001(\tB*\342A\001\005\372A#\n!locations.googleap" + + "is.com/Location\022<\n\005state\030\003 \001(\0162\'.google." + + "bigtable.admin.v2.Cluster.StateB\004\342A\001\003\022\023\n" + + "\013serve_nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001" + + "(\0132/.google.bigtable.admin.v2.Cluster.Cl" + + "usterConfigH\000\022I\n\024default_storage_type\030\005 " + + "\001(\0162%.google.bigtable.admin.v2.StorageTy" + + "peB\004\342A\001\005\022S\n\021encryption_config\030\006 \001(\01322.go" + + "ogle.bigtable.admin.v2.Cluster.Encryptio" + + "nConfigB\004\342A\001\005\032\272\001\n\030ClusterAutoscalingConf" + + "ig\022M\n\022autoscaling_limits\030\001 \001(\0132+.google." + + "bigtable.admin.v2.AutoscalingLimitsB\004\342A\001" + + "\002\022O\n\023autoscaling_targets\030\002 \001(\0132,.google." + + "bigtable.admin.v2.AutoscalingTargetsB\004\342A" + + "\001\002\032o\n\rClusterConfig\022^\n\032cluster_autoscali" + + "ng_config\030\001 \001(\0132:.google.bigtable.admin." + + "v2.Cluster.ClusterAutoscalingConfig\032P\n\020E" + + "ncryptionConfig\022<\n\014kms_key_name\030\001 \001(\tB&\372" + + "A#\n!cloudkms.googleapis.com/CryptoKey\"Q\n" + + "\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014" + + "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" + + ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" + + "ter\022:projects/{project}/instances/{insta" + + "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" + + "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" + + "description\030\003 \001(\t\022g\n\035multi_cluster_routi" + + "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" + + ".v2.AppProfile.MultiClusterRoutingUseAny" + + "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" + + "gle.bigtable.admin.v2.AppProfile.SingleC" + + "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" + + "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" + + "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" + + "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" + + "admin.googleapis.com/AppProfile\022Aproject" + + "s/{project}/instances/{instance}/appProf" + + "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" + + "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" + + " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" + + "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" + + "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" + + "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" + + "admin.googleapis.com/HotTablet\022Rprojects" + + "/{project}/instances/{instance}/clusters" + + "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" + + "om.google.bigtable.admin.v2B\rInstancePro" + + "toP\001Z=google.golang.org/genproto/googlea" + + "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" + + "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" + + "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" + + ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" + + "ryptoKey\022Sprojects/{project}/locations/{" + + "location}/keyRings/{key_ring}/cryptoKeys" + + "/{crypto_key}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_Instance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_descriptor, + new java.lang.String[] { "Name", "DisplayName", "State", "Type", "Labels", "CreateTime", "SatisfiesPzs", "SatisfiesPzs", }); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = + internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, + new java.lang.String[] { "CpuUtilizationPercent", "StorageUtilizationGibPerNode", }); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, + new java.lang.String[] { "MinServeNodes", "MaxServeNodes", }); + internal_static_google_bigtable_admin_v2_Cluster_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_descriptor, + new java.lang.String[] { "Name", "Location", "State", "ServeNodes", "ClusterConfig", "DefaultStorageType", "EncryptionConfig", "Config", }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, + new java.lang.String[] { "AutoscalingLimits", "AutoscalingTargets", }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, + new java.lang.String[] { "ClusterAutoscalingConfig", }); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_bigtable_admin_v2_AppProfile_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_descriptor, + new java.lang.String[] { "Name", "Etag", "Description", "MultiClusterRoutingUseAny", "SingleClusterRouting", "RoutingPolicy", }); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, + new java.lang.String[] { "ClusterIds", }); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, + new java.lang.String[] { "ClusterId", "AllowTransactionalWrites", }); + internal_static_google_bigtable_admin_v2_HotTablet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_HotTablet_descriptor, + new java.lang.String[] { "Name", "TableName", "StartTime", "EndTime", "StartKey", "EndKey", "NodeCpuUsagePercent", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java index 0e3b3df63d..727beaf610 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesRequest} */ -public final class ListAppProfilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAppProfilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesRequest) ListAppProfilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAppProfilesRequest.newBuilder() to construct. private ListAppProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAppProfilesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAppProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,15 +65,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -107,18 +81,17 @@ public java.lang.String getParent() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -144,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -153,18 +123,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -173,29 +139,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,7 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -242,7 +208,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListAppProfilesRequest other = - (com.google.bigtable.admin.v2.ListAppProfilesRequest) obj; + com.google.bigtable.admin.v2.ListAppProfilesRequest other = (com.google.bigtable.admin.v2.ListAppProfilesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,135 +255,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListAppProfilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListAppProfiles.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListAppProfilesRequest) com.google.bigtable.admin.v2.ListAppProfilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListAppProfilesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +391,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override @@ -447,11 +412,8 @@ public com.google.bigtable.admin.v2.ListAppProfilesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesRequest buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesRequest result = - new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListAppProfilesRequest result = new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -473,39 +435,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest)other); } else { super.mergeFrom(other); return this; @@ -513,8 +474,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesRequest other) { - if (other == com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -554,31 +514,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,13 +544,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -603,16 +556,14 @@ public Builder mergeFrom(
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,8 +572,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -631,17 +580,16 @@ public java.lang.String getParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -649,8 +597,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -659,25 +605,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -686,10 +626,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -699,8 +636,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -709,17 +644,13 @@ public Builder clearParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -727,10 +658,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -744,7 +673,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -752,8 +680,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -767,7 +693,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -779,8 +704,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -794,7 +717,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -806,20 +728,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -828,21 +748,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -850,35 +769,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,30 +800,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -921,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListAppProfilesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListAppProfilesRequest) private static final com.google.bigtable.admin.v2.ListAppProfilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListAppProfilesRequest(); } @@ -935,27 +843,27 @@ public static com.google.bigtable.admin.v2.ListAppProfilesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAppProfilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAppProfilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +878,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java index f442b57b44..28398722c6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListAppProfilesRequestOrBuilder - extends +public interface ListAppProfilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListAppProfilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -34,16 +16,11 @@ public interface ListAppProfilesRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -52,17 +29,13 @@ public interface ListAppProfilesRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -76,33 +49,27 @@ public interface ListAppProfilesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java index 5e71255084..25d1b03c83 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ -public final class ListAppProfilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAppProfilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesResponse) ListAppProfilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAppProfilesResponse.newBuilder() to construct. private ListAppProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAppProfilesResponse() { appProfiles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } public static final int APP_PROFILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List appProfiles_; /** - * - * *
    * The list of requested app profiles.
    * 
@@ -82,8 +61,6 @@ public java.util.List getAppProfilesLis return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -91,13 +68,11 @@ public java.util.List getAppProfilesLis * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAppProfilesOrBuilderList() { return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -109,8 +84,6 @@ public int getAppProfilesCount() { return appProfiles_.size(); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -122,8 +95,6 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { return appProfiles_.get(index); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -131,17 +102,15 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index) { return appProfiles_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -149,7 +118,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -174,15 +141,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,13 +159,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -206,15 +171,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -223,15 +186,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -240,7 +200,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -248,8 +207,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -258,16 +215,15 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < appProfiles_.size(); i++) { output.writeMessage(1, appProfiles_.get(i)); } @@ -299,7 +256,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < appProfiles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, appProfiles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, appProfiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -320,17 +278,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListAppProfilesResponse other = - (com.google.bigtable.admin.v2.ListAppProfilesResponse) obj; + com.google.bigtable.admin.v2.ListAppProfilesResponse other = (com.google.bigtable.admin.v2.ListAppProfilesResponse) obj; - if (!getAppProfilesList().equals(other.getAppProfilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; + if (!getAppProfilesList() + .equals(other.getAppProfilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,135 +318,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListAppProfilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListAppProfiles.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListAppProfilesResponse) com.google.bigtable.admin.v2.ListAppProfilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListAppProfilesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,14 +455,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override @@ -525,18 +482,14 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesResponse buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesResponse result = - new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); + com.google.bigtable.admin.v2.ListAppProfilesResponse result = new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListAppProfilesResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListAppProfilesResponse result) { if (appProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { appProfiles_ = java.util.Collections.unmodifiableList(appProfiles_); @@ -563,39 +516,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse)other); } else { super.mergeFrom(other); return this; @@ -603,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse other) { - if (other == com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance()) return this; if (appProfilesBuilder_ == null) { if (!other.appProfiles_.isEmpty()) { if (appProfiles_.isEmpty()) { @@ -623,10 +574,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse ot appProfilesBuilder_ = null; appProfiles_ = other.appProfiles_; bitField0_ = (bitField0_ & ~0x00000001); - appProfilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAppProfilesFieldBuilder() - : null; + appProfilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAppProfilesFieldBuilder() : null; } else { appProfilesBuilder_.addAllMessages(other.appProfiles_); } @@ -673,39 +623,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.AppProfile m = - input.readMessage( - com.google.bigtable.admin.v2.AppProfile.parser(), extensionRegistry); - if (appProfilesBuilder_ == null) { - ensureAppProfilesIsMutable(); - appProfiles_.add(m); - } else { - appProfilesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.AppProfile m = + input.readMessage( + com.google.bigtable.admin.v2.AppProfile.parser(), + extensionRegistry); + if (appProfilesBuilder_ == null) { + ensureAppProfilesIsMutable(); + appProfiles_.add(m); + } else { + appProfilesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -715,29 +662,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List appProfiles_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAppProfilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - appProfiles_ = - new java.util.ArrayList(appProfiles_); + appProfiles_ = new java.util.ArrayList(appProfiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfilesBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfilesBuilder_; /** - * - * *
      * The list of requested app profiles.
      * 
@@ -752,8 +691,6 @@ public java.util.List getAppProfilesLis } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -768,8 +705,6 @@ public int getAppProfilesCount() { } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -784,15 +719,14 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { } } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile value) { + public Builder setAppProfiles( + int index, com.google.bigtable.admin.v2.AppProfile value) { if (appProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,8 +740,6 @@ public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -826,8 +758,6 @@ public Builder setAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -848,15 +778,14 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder addAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile value) { + public Builder addAppProfiles( + int index, com.google.bigtable.admin.v2.AppProfile value) { if (appProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -870,15 +799,14 @@ public Builder addAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder addAppProfiles( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfilesBuilder_ == null) { ensureAppProfilesIsMutable(); appProfiles_.add(builderForValue.build()); @@ -889,8 +817,6 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder bu return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -909,8 +835,6 @@ public Builder addAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -921,7 +845,8 @@ public Builder addAllAppProfiles( java.lang.Iterable values) { if (appProfilesBuilder_ == null) { ensureAppProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, appProfiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, appProfiles_); onChanged(); } else { appProfilesBuilder_.addAllMessages(values); @@ -929,8 +854,6 @@ public Builder addAllAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -948,8 +871,6 @@ public Builder clearAppProfiles() { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -967,44 +888,39 @@ public Builder removeAppProfiles(int index) { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfilesBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfilesBuilder( + int index) { return getAppProfilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index) { if (appProfilesBuilder_ == null) { - return appProfiles_.get(index); - } else { + return appProfiles_.get(index); } else { return appProfilesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public java.util.List - getAppProfilesOrBuilderList() { + public java.util.List + getAppProfilesOrBuilderList() { if (appProfilesBuilder_ != null) { return appProfilesBuilder_.getMessageOrBuilderList(); } else { @@ -1012,8 +928,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -1021,48 +935,42 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder() { - return getAppProfilesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); + return getAppProfilesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int index) { - return getAppProfilesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); + public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder( + int index) { + return getAppProfilesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public java.util.List - getAppProfilesBuilderList() { + public java.util.List + getAppProfilesBuilderList() { return getAppProfilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfilesFieldBuilder() { if (appProfilesBuilder_ == null) { - appProfilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - appProfiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + appProfilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + appProfiles_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); appProfiles_ = null; } return appProfilesBuilder_; @@ -1070,8 +978,6 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1079,13 +985,13 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1094,8 +1000,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1103,14 +1007,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1118,8 +1023,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1127,22 +1030,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1150,7 +1049,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1160,8 +1058,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1169,14 +1065,12 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1186,7 +1080,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1194,8 +1087,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1204,16 +1095,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1222,15 +1111,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1239,7 +1125,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1247,8 +1132,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1257,16 +1140,14 @@ public java.lang.String getFailedLocations(int index) {
      * 
* * repeated string failed_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1275,15 +1156,13 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
      * 
* * repeated string failed_locations = 3; - * * @param index The index to set the value at. * @param value The failedLocations to set. * @return This builder for chaining. */ - public Builder setFailedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1291,8 +1170,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1301,14 +1178,12 @@ public Builder setFailedLocations(int index, java.lang.String value) {
      * 
* * repeated string failed_locations = 3; - * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000004; @@ -1316,8 +1191,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1326,20 +1199,19 @@ public Builder addFailedLocations(java.lang.String value) {
      * 
* * repeated string failed_locations = 3; - * * @param values The failedLocations to add. * @return This builder for chaining. */ - public Builder addAllFailedLocations(java.lang.Iterable values) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1348,19 +1220,16 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 3; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1369,14 +1238,12 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 3; - * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1384,9 +1251,9 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1396,12 +1263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListAppProfilesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListAppProfilesResponse) private static final com.google.bigtable.admin.v2.ListAppProfilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListAppProfilesResponse(); } @@ -1410,27 +1277,27 @@ public static com.google.bigtable.admin.v2.ListAppProfilesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAppProfilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAppProfilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,4 +1312,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java index 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 80% 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 cb5e255c65..616aff919d 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,32 +28,28 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListBackupsRequest.class, - com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class); + com.google.bigtable.admin.v2.ListBackupsRequest.class, com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -79,10 +57,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 @@ -91,15 +66,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}`.
@@ -107,18 +81,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 { @@ -127,12 +100,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -169,7 +139,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -178,15 +147,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,
@@ -223,15 +191,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 { @@ -240,12 +209,9 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -270,7 +236,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 3; - * * @return The orderBy. */ @java.lang.Override @@ -279,15 +244,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
@@ -312,15 +276,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 { @@ -331,15 +296,12 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -348,12 +310,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -362,7 +321,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -371,15 +329,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
@@ -388,15 +345,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 { @@ -405,7 +363,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,7 +374,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -452,7 +410,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_); @@ -465,19 +424,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; } @@ -504,136 +467,132 @@ 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(); @@ -647,9 +606,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 @@ -668,11 +627,8 @@ public com.google.bigtable.admin.v2.ListBackupsRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListBackupsRequest buildPartial() { - com.google.bigtable.admin.v2.ListBackupsRequest result = - new com.google.bigtable.admin.v2.ListBackupsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListBackupsRequest result = new com.google.bigtable.admin.v2.ListBackupsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -700,39 +656,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListBackupsRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest)other); } else { super.mergeFrom(other); return this; @@ -740,8 +695,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsRequest other) { - if (other == com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -791,43 +745,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -837,13 +785,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -851,16 +796,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; @@ -869,8 +812,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -878,17 +819,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 { @@ -896,8 +836,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}`.
@@ -905,25 +843,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -931,10 +863,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -944,8 +873,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -953,17 +880,13 @@ public Builder clearParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -973,8 +896,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,
@@ -1011,13 +932,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; @@ -1026,8 +947,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,
@@ -1064,14 +983,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 { @@ -1079,8 +999,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,
@@ -1117,22 +1035,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1169,7 +1083,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1179,8 +1092,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1217,14 +1128,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1234,8 +1143,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
@@ -1260,13 +1167,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; @@ -1275,8 +1182,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
@@ -1301,14 +1206,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 { @@ -1316,8 +1222,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
@@ -1342,22 +1246,18 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 3; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1382,7 +1282,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 3; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1392,8 +1291,6 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1418,14 +1315,12 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 3; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000004; @@ -1433,17 +1328,14 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1451,15 +1343,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1471,15 +1360,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1491,8 +1377,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
@@ -1501,13 +1385,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; @@ -1516,8 +1400,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
@@ -1526,14 +1408,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 { @@ -1541,8 +1424,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
@@ -1551,22 +1432,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1575,7 +1452,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1585,8 +1461,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1595,23 +1469,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1621,12 +1493,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(); } @@ -1635,27 +1507,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; @@ -1670,4 +1542,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 77cd553bca..2abdc36225 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,
@@ -97,13 +70,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,
@@ -140,14 +110,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
@@ -172,13 +140,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
@@ -203,28 +168,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
@@ -233,13 +193,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
@@ -248,8 +205,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 029a9a016d..18638e51d6 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,32 +26,28 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListBackupsResponse.class, - com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class); + com.google.bigtable.admin.v2.ListBackupsResponse.class, com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List backups_; /** - * - * *
    * The list of matching backups.
    * 
@@ -81,8 +59,6 @@ public java.util.List getBackupsList() { return backups_; } /** - * - * *
    * The list of matching backups.
    * 
@@ -90,13 +66,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.
    * 
@@ -108,8 +82,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of matching backups.
    * 
@@ -121,8 +93,6 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of matching backups.
    * 
@@ -130,17 +100,15 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { * repeated .google.bigtable.admin.v2.Backup backups = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -148,7 +116,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,15 +124,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
@@ -173,15 +139,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 { @@ -190,7 +157,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -219,7 +186,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_); @@ -232,16 +200,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; } @@ -264,136 +233,132 @@ 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(); @@ -410,9 +375,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 @@ -431,18 +396,14 @@ public com.google.bigtable.admin.v2.ListBackupsResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListBackupsResponse buildPartial() { - com.google.bigtable.admin.v2.ListBackupsResponse result = - new com.google.bigtable.admin.v2.ListBackupsResponse(this); + com.google.bigtable.admin.v2.ListBackupsResponse result = new com.google.bigtable.admin.v2.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListBackupsResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -465,39 +426,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListBackupsResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse)other); } else { super.mergeFrom(other); return this; @@ -505,8 +465,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()) { @@ -525,10 +484,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_); } @@ -565,32 +523,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Backup m = - input.readMessage( - com.google.bigtable.admin.v2.Backup.parser(), extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Backup m = + input.readMessage( + com.google.bigtable.admin.v2.Backup.parser(), + extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -600,28 +556,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.
      * 
@@ -636,8 +585,6 @@ public java.util.List getBackupsList() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -652,8 +599,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -668,15 +613,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(); @@ -690,8 +634,6 @@ public Builder setBackups(int index, com.google.bigtable.admin.v2.Backup value) return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -710,8 +652,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -732,15 +672,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(); @@ -754,15 +693,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()); @@ -773,8 +711,6 @@ public Builder addBackups(com.google.bigtable.admin.v2.Backup.Builder builderFor return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -793,8 +729,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -805,7 +739,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); @@ -813,8 +748,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -832,8 +765,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -851,44 +782,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 { @@ -896,8 +822,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde } } /** - * - * *
      * The list of matching backups.
      * 
@@ -905,47 +829,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_; @@ -953,8 +872,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
@@ -962,13 +879,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; @@ -977,8 +894,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
@@ -986,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 { @@ -1001,8 +917,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
@@ -1010,22 +924,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -1033,7 +943,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1043,8 +952,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -1052,23 +959,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,12 +983,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(); } @@ -1092,27 +997,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; @@ -1127,4 +1032,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 19f27ad3dd..c3f03a9c47 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, - com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,15 +64,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -105,18 +79,17 @@ public java.lang.String getParent() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,18 +98,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -145,29 +114,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListClustersRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListClustersRequest other = - (com.google.bigtable.admin.v2.ListClustersRequest) obj; + com.google.bigtable.admin.v2.ListClustersRequest other = (com.google.bigtable.admin.v2.ListClustersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListClusters.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListClustersRequest) com.google.bigtable.admin.v2.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, - com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.bigtable.admin.v2.ListClustersRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersRequest buildPartial() { - com.google.bigtable.admin.v2.ListClustersRequest result = - new com.google.bigtable.admin.v2.ListClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListClustersRequest result = new com.google.bigtable.admin.v2.ListClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -472,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersRequest other) { - if (other == com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -552,16 +507,14 @@ public Builder mergeFrom(
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -570,8 +523,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -579,17 +530,16 @@ public java.lang.String getParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -597,8 +547,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -606,25 +554,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -632,10 +574,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -645,8 +584,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -654,17 +591,13 @@ public Builder clearParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,20 +607,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -696,21 +627,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -718,35 +648,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -756,30 +679,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListClustersRequest) private static final com.google.bigtable.admin.v2.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListClustersRequest(); } @@ -803,27 +722,27 @@ public static com.google.bigtable.admin.v2.ListClustersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -838,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java index 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 b11911134b..e03e8621e5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, - com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List clusters_; /** - * - * *
    * The list of requested clusters.
    * 
@@ -82,8 +61,6 @@ public java.util.List getClustersList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -91,13 +68,11 @@ public java.util.List getClustersList() { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -109,8 +84,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -122,8 +95,6 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -131,18 +102,16 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index) { return clusters_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -152,15 +121,13 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -170,15 +137,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -188,7 +152,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -196,8 +159,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -207,27 +168,23 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,29 +193,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -267,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -299,7 +256,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -320,17 +278,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListClustersResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListClustersResponse other = - (com.google.bigtable.admin.v2.ListClustersResponse) obj; + com.google.bigtable.admin.v2.ListClustersResponse other = (com.google.bigtable.admin.v2.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,135 +318,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListClusters.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListClustersResponse) com.google.bigtable.admin.v2.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, - com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,15 +454,16 @@ public Builder clear() { clustersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override @@ -525,18 +482,14 @@ public com.google.bigtable.admin.v2.ListClustersResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersResponse buildPartial() { - com.google.bigtable.admin.v2.ListClustersResponse result = - new com.google.bigtable.admin.v2.ListClustersResponse(this); + com.google.bigtable.admin.v2.ListClustersResponse result = new com.google.bigtable.admin.v2.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListClustersResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -563,39 +516,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -603,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersResponse other) { - if (other == com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -623,10 +574,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersResponse other clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -673,39 +623,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Cluster m = - input.readMessage( - com.google.bigtable.admin.v2.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Cluster m = + input.readMessage( + com.google.bigtable.admin.v2.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -715,28 +662,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clustersBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * The list of requested clusters.
      * 
@@ -751,8 +691,6 @@ public java.util.List getClustersList() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -767,8 +705,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -783,15 +719,14 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { } } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value) { + public Builder setClusters( + int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,8 +740,6 @@ public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -825,8 +758,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -847,15 +778,14 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value) { + public Builder addClusters( + int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -869,15 +799,14 @@ public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder addClusters( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -888,8 +817,6 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderF return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -908,8 +835,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -920,7 +845,8 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -928,8 +854,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -947,8 +871,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -966,44 +888,39 @@ public Builder removeClusters(int index) { return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.Cluster.Builder getClustersBuilder(int index) { + public com.google.bigtable.admin.v2.Cluster.Builder getClustersBuilder( + int index) { return getClustersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); - } else { + return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -1011,8 +928,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -1020,47 +935,42 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + return getClustersFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder(int index) { - return getClustersFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder( + int index) { + return getClustersFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public java.util.List getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + clusters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); clusters_ = null; } return clustersBuilder_; @@ -1068,7 +978,6 @@ public java.util.List getClustersB private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1076,8 +985,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1087,16 +994,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1106,15 +1011,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1124,7 +1026,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1132,8 +1033,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1143,16 +1042,14 @@ public java.lang.String getFailedLocations(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1162,15 +1059,13 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index to set the value at. * @param value The failedLocations to set. * @return This builder for chaining. */ - public Builder setFailedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1178,8 +1073,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1189,14 +1082,12 @@ public Builder setFailedLocations(int index, java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1204,8 +1095,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1215,20 +1104,19 @@ public Builder addFailedLocations(java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param values The failedLocations to add. * @return This builder for chaining. */ - public Builder addAllFailedLocations(java.lang.Iterable values) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1238,19 +1126,16 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 2; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1260,14 +1145,12 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 2; - * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1278,20 +1161,18 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1300,21 +1181,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1322,35 +1202,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1360,30 +1233,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1393,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListClustersResponse) private static final com.google.bigtable.admin.v2.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListClustersResponse(); } @@ -1407,27 +1276,27 @@ public static com.google.bigtable.admin.v2.ListClustersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1442,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java index 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 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java index 7d1fe19907..3362a992fa 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListHotTablets.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsRequest} */ -public final class ListHotTabletsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListHotTabletsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListHotTabletsRequest) ListHotTabletsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListHotTabletsRequest.newBuilder() to construct. private ListHotTabletsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListHotTabletsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,42 +26,35 @@ private ListHotTabletsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -145,8 +115,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -157,7 +125,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -165,8 +132,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -186,14 +151,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -201,14 +163,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -216,8 +175,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -232,8 +189,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -247,7 +202,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -256,18 +210,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -276,29 +226,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -307,7 +257,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,7 +268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,13 +298,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -367,25 +320,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListHotTabletsRequest other = - (com.google.bigtable.admin.v2.ListHotTabletsRequest) obj; + com.google.bigtable.admin.v2.ListHotTabletsRequest other = (com.google.bigtable.admin.v2.ListHotTabletsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -417,135 +374,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListHotTabletsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListHotTablets.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListHotTabletsRequest) com.google.bigtable.admin.v2.ListHotTabletsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListHotTabletsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override @@ -588,11 +541,8 @@ public com.google.bigtable.admin.v2.ListHotTabletsRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsRequest buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsRequest result = - new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListHotTabletsRequest result = new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -603,10 +553,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.pageSize_ = pageSize_; @@ -620,39 +574,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest)other); } else { super.mergeFrom(other); return this; @@ -660,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsRequest other) { - if (other == com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -707,43 +659,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,29 +703,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -784,25 +729,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -810,43 +752,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -856,25 +787,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -884,13 +809,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -901,15 +821,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -920,7 +837,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -931,8 +847,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -958,8 +872,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -971,7 +883,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -982,8 +895,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -997,9 +908,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1012,8 +923,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1036,8 +945,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1055,8 +962,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1072,12 +977,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1090,17 +994,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1108,33 +1009,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1145,8 +1037,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1167,15 +1057,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1186,8 +1075,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1196,9 +1083,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1211,8 +1098,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1230,8 +1115,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1244,8 +1127,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1256,12 +1137,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1269,26 +1149,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -1302,7 +1177,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1310,8 +1184,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -1325,7 +1197,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1337,8 +1208,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -1352,7 +1221,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1364,20 +1232,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1386,21 +1252,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1408,35 +1273,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1446,30 +1304,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1479,12 +1333,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListHotTabletsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListHotTabletsRequest) private static final com.google.bigtable.admin.v2.ListHotTabletsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListHotTabletsRequest(); } @@ -1493,27 +1347,27 @@ public static com.google.bigtable.admin.v2.ListHotTabletsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListHotTabletsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListHotTabletsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1528,4 +1382,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java index c0029f22c9..85c700dd2f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListHotTabletsRequestOrBuilder - extends +public interface ListHotTabletsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListHotTabletsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -69,13 +42,10 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -86,13 +56,10 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -107,32 +74,24 @@ public interface ListHotTabletsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -142,8 +101,6 @@ public interface ListHotTabletsRequestOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -157,33 +114,27 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java index 290262c51e..758edb0a86 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListHotTablets.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsResponse} */ -public final class ListHotTabletsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListHotTabletsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListHotTabletsResponse) ListHotTabletsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListHotTabletsResponse.newBuilder() to construct. private ListHotTabletsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListHotTabletsResponse() { hotTablets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListHotTabletsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } public static final int HOT_TABLETS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List hotTablets_; /** - * - * *
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -85,8 +63,6 @@ public java.util.List getHotTabletsList(
     return hotTablets_;
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -98,13 +74,11 @@ public java.util.List getHotTabletsList(
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHotTabletsOrBuilderList() {
     return hotTablets_;
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -120,8 +94,6 @@ public int getHotTabletsCount() {
     return hotTablets_.size();
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -137,8 +109,6 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
     return hotTablets_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -150,17 +120,15 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
+  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+      int index) {
     return hotTablets_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -168,7 +136,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -177,15 +144,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -193,15 +159,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -210,7 +177,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < hotTablets_.size(); i++) { output.writeMessage(1, hotTablets_.get(i)); } @@ -239,7 +206,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < hotTablets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, hotTablets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, hotTablets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -252,16 +220,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListHotTabletsResponse other = - (com.google.bigtable.admin.v2.ListHotTabletsResponse) obj; + com.google.bigtable.admin.v2.ListHotTabletsResponse other = (com.google.bigtable.admin.v2.ListHotTabletsResponse) obj; - if (!getHotTabletsList().equals(other.getHotTabletsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getHotTabletsList() + .equals(other.getHotTabletsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,135 +254,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListHotTabletsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListHotTablets.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListHotTabletsResponse) com.google.bigtable.admin.v2.ListHotTabletsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListHotTabletsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override @@ -451,18 +416,14 @@ public com.google.bigtable.admin.v2.ListHotTabletsResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsResponse buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsResponse result = - new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); + com.google.bigtable.admin.v2.ListHotTabletsResponse result = new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListHotTabletsResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListHotTabletsResponse result) { if (hotTabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { hotTablets_ = java.util.Collections.unmodifiableList(hotTablets_); @@ -485,39 +446,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse)other); } else { super.mergeFrom(other); return this; @@ -525,8 +485,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsResponse other) { - if (other == com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance()) return this; if (hotTabletsBuilder_ == null) { if (!other.hotTablets_.isEmpty()) { if (hotTablets_.isEmpty()) { @@ -545,10 +504,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsResponse oth hotTabletsBuilder_ = null; hotTablets_ = other.hotTablets_; bitField0_ = (bitField0_ & ~0x00000001); - hotTabletsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHotTabletsFieldBuilder() - : null; + hotTabletsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHotTabletsFieldBuilder() : null; } else { hotTabletsBuilder_.addAllMessages(other.hotTablets_); } @@ -585,32 +543,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.HotTablet m = - input.readMessage( - com.google.bigtable.admin.v2.HotTablet.parser(), extensionRegistry); - if (hotTabletsBuilder_ == null) { - ensureHotTabletsIsMutable(); - hotTablets_.add(m); - } else { - hotTabletsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.HotTablet m = + input.readMessage( + com.google.bigtable.admin.v2.HotTablet.parser(), + extensionRegistry); + if (hotTabletsBuilder_ == null) { + ensureHotTabletsIsMutable(); + hotTablets_.add(m); + } else { + hotTabletsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,28 +576,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List hotTablets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHotTabletsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hotTablets_ = new java.util.ArrayList(hotTablets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.HotTablet, - com.google.bigtable.admin.v2.HotTablet.Builder, - com.google.bigtable.admin.v2.HotTabletOrBuilder> - hotTabletsBuilder_; + com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder> hotTabletsBuilder_; /** - * - * *
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -660,8 +609,6 @@ public java.util.List getHotTabletsList(
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -680,8 +627,6 @@ public int getHotTabletsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -700,8 +645,6 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -712,7 +655,8 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder setHotTablets(int index, com.google.bigtable.admin.v2.HotTablet value) {
+    public Builder setHotTablets(
+        int index, com.google.bigtable.admin.v2.HotTablet value) {
       if (hotTabletsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -726,8 +670,6 @@ public Builder setHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -750,8 +692,6 @@ public Builder setHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -776,8 +716,6 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -788,7 +726,8 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet value) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet value) {
+    public Builder addHotTablets(
+        int index, com.google.bigtable.admin.v2.HotTablet value) {
       if (hotTabletsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -802,8 +741,6 @@ public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -814,7 +751,8 @@ public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet.Builder builderForValue) {
+    public Builder addHotTablets(
+        com.google.bigtable.admin.v2.HotTablet.Builder builderForValue) {
       if (hotTabletsBuilder_ == null) {
         ensureHotTabletsIsMutable();
         hotTablets_.add(builderForValue.build());
@@ -825,8 +763,6 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -849,8 +785,6 @@ public Builder addHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -865,7 +799,8 @@ public Builder addAllHotTablets(
         java.lang.Iterable values) {
       if (hotTabletsBuilder_ == null) {
         ensureHotTabletsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hotTablets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, hotTablets_);
         onChanged();
       } else {
         hotTabletsBuilder_.addAllMessages(values);
@@ -873,8 +808,6 @@ public Builder addAllHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -896,8 +829,6 @@ public Builder clearHotTablets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -919,8 +850,6 @@ public Builder removeHotTablets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -931,12 +860,11 @@ public Builder removeHotTablets(int index) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(int index) {
+    public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(
+        int index) {
       return getHotTabletsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -947,16 +875,14 @@ public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(int i
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
+    public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+        int index) {
       if (hotTabletsBuilder_ == null) {
-        return hotTablets_.get(index);
-      } else {
+        return hotTablets_.get(index);  } else {
         return hotTabletsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -967,8 +893,8 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public java.util.List
-        getHotTabletsOrBuilderList() {
+    public java.util.List 
+         getHotTabletsOrBuilderList() {
       if (hotTabletsBuilder_ != null) {
         return hotTabletsBuilder_.getMessageOrBuilderList();
       } else {
@@ -976,8 +902,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -989,12 +913,10 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
     public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder() {
-      return getHotTabletsFieldBuilder()
-          .addBuilder(com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
+      return getHotTabletsFieldBuilder().addBuilder(
+          com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -1005,13 +927,12 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder() {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int index) {
-      return getHotTabletsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
+    public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(
+        int index) {
+      return getHotTabletsFieldBuilder().addBuilder(
+          index, com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -1022,23 +943,20 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public java.util.List
-        getHotTabletsBuilderList() {
+    public java.util.List 
+         getHotTabletsBuilderList() {
       return getHotTabletsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.HotTablet,
-            com.google.bigtable.admin.v2.HotTablet.Builder,
-            com.google.bigtable.admin.v2.HotTabletOrBuilder>
+        com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder> 
         getHotTabletsFieldBuilder() {
       if (hotTabletsBuilder_ == null) {
-        hotTabletsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.admin.v2.HotTablet,
-                com.google.bigtable.admin.v2.HotTablet.Builder,
-                com.google.bigtable.admin.v2.HotTabletOrBuilder>(
-                hotTablets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        hotTabletsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder>(
+                hotTablets_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         hotTablets_ = null;
       }
       return hotTabletsBuilder_;
@@ -1046,8 +964,6 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1055,13 +971,13 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1070,8 +986,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1079,14 +993,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1094,8 +1009,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1103,22 +1016,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1126,7 +1035,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1136,8 +1044,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1145,23 +1051,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1171,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListHotTabletsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListHotTabletsResponse) private static final com.google.bigtable.admin.v2.ListHotTabletsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListHotTabletsResponse(); } @@ -1185,27 +1089,27 @@ public static com.google.bigtable.admin.v2.ListHotTabletsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListHotTabletsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListHotTabletsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1220,4 +1124,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java index 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 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java index 1ce6703c26..07f21bb006 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesRequest} */ -public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesRequest) ListInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, - com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,18 +94,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -141,29 +110,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -172,7 +141,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -214,16 +183,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListInstancesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListInstancesRequest other = - (com.google.bigtable.admin.v2.ListInstancesRequest) obj; + com.google.bigtable.admin.v2.ListInstancesRequest other = (com.google.bigtable.admin.v2.ListInstancesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,135 +215,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListInstances.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListInstancesRequest) com.google.bigtable.admin.v2.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, - com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListInstancesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override @@ -405,11 +371,8 @@ public com.google.bigtable.admin.v2.ListInstancesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesRequest buildPartial() { - com.google.bigtable.admin.v2.ListInstancesRequest result = - new com.google.bigtable.admin.v2.ListInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListInstancesRequest result = new com.google.bigtable.admin.v2.ListInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -428,39 +391,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -468,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesRequest other) { - if (other == com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -506,25 +467,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,28 +492,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,24 +517,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -589,41 +539,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -633,24 +572,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -660,20 +593,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -682,21 +613,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -704,35 +634,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -742,30 +665,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -775,12 +694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListInstancesRequest) private static final com.google.bigtable.admin.v2.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListInstancesRequest(); } @@ -789,27 +708,27 @@ public static com.google.bigtable.admin.v2.ListInstancesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +743,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java index 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 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java index 991a4116e3..89df7a91c0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ -public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesResponse) ListInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, - com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * The list of requested instances.
    * 
@@ -82,8 +61,6 @@ public java.util.List getInstancesList() return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -91,13 +68,11 @@ public java.util.List getInstancesList() * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -109,8 +84,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -122,8 +95,6 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -131,18 +102,16 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -153,15 +122,13 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -172,15 +139,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -191,7 +155,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -199,8 +162,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -211,27 +172,23 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -240,29 +197,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -271,7 +228,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +239,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -303,7 +260,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instances_.get(i)); } { int dataSize = 0; @@ -324,17 +282,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListInstancesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListInstancesResponse other = - (com.google.bigtable.admin.v2.ListInstancesResponse) obj; + com.google.bigtable.admin.v2.ListInstancesResponse other = (com.google.bigtable.admin.v2.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,135 +322,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListInstances.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListInstancesResponse) com.google.bigtable.admin.v2.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, - com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListInstancesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -502,15 +458,16 @@ public Builder clear() { instancesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override @@ -529,18 +486,14 @@ public com.google.bigtable.admin.v2.ListInstancesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesResponse buildPartial() { - com.google.bigtable.admin.v2.ListInstancesResponse result = - new com.google.bigtable.admin.v2.ListInstancesResponse(this); + com.google.bigtable.admin.v2.ListInstancesResponse result = new com.google.bigtable.admin.v2.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -567,39 +520,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -607,8 +559,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesResponse other) { - if (other == com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -627,10 +578,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesResponse othe instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInstancesFieldBuilder() - : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInstancesFieldBuilder() : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -677,39 +627,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Instance m = - input.readMessage( - com.google.bigtable.admin.v2.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Instance m = + input.readMessage( + com.google.bigtable.admin.v2.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -719,28 +666,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instancesBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * The list of requested instances.
      * 
@@ -755,8 +695,6 @@ public java.util.List getInstancesList() } } /** - * - * *
      * The list of requested instances.
      * 
@@ -771,8 +709,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -787,15 +723,14 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance value) { + public Builder setInstances( + int index, com.google.bigtable.admin.v2.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -809,8 +744,6 @@ public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -829,8 +762,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -851,15 +782,14 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder addInstances(int index, com.google.bigtable.admin.v2.Instance value) { + public Builder addInstances( + int index, com.google.bigtable.admin.v2.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -873,15 +803,14 @@ public Builder addInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -892,8 +821,6 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builde return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -912,8 +839,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -924,7 +849,8 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -932,8 +858,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -951,8 +875,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -970,44 +892,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.Instance.Builder getInstancesBuilder(int index) { + public com.google.bigtable.admin.v2.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -1015,8 +932,6 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int } } /** - * - * *
      * The list of requested instances.
      * 
@@ -1024,47 +939,42 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int * repeated .google.bigtable.admin.v2.Instance instances = 1; */ public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Instance.getDefaultInstance()); + public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public java.util.List getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1072,7 +982,6 @@ public java.util.List getInstance private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1080,8 +989,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1092,16 +999,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1112,15 +1017,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1131,7 +1033,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1139,8 +1040,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1151,16 +1050,14 @@ public java.lang.String getFailedLocations(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1171,15 +1068,13 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index to set the value at. * @param value The failedLocations to set. * @return This builder for chaining. */ - public Builder setFailedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1187,8 +1082,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1199,14 +1092,12 @@ public Builder setFailedLocations(int index, java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1214,8 +1105,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1226,20 +1115,19 @@ public Builder addFailedLocations(java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param values The failedLocations to add. * @return This builder for chaining. */ - public Builder addAllFailedLocations(java.lang.Iterable values) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1250,19 +1138,16 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 2; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1273,14 +1158,12 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 2; - * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1291,20 +1174,18 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1313,21 +1194,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1335,35 +1215,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1373,30 +1246,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1406,12 +1275,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListInstancesResponse) private static final com.google.bigtable.admin.v2.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListInstancesResponse(); } @@ -1420,27 +1289,27 @@ public static com.google.bigtable.admin.v2.ListInstancesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1455,4 +1324,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java index 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 6c293c0744..91eae1111e 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]
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsRequest}
  */
-public final class ListSnapshotsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListSnapshotsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListSnapshotsRequest)
     ListSnapshotsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListSnapshotsRequest.newBuilder() to construct.
   private ListSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListSnapshotsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -50,32 +32,28 @@ private ListSnapshotsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
@@ -84,10 +62,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -96,15 +71,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,15 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of snapshots to return per page.
    * CURRENTLY UNIMPLEMENTED AND IGNORED.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -152,18 +122,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -172,29 +138,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -203,7 +169,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -251,17 +218,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListSnapshotsRequest other = - (com.google.bigtable.admin.v2.ListSnapshotsRequest) obj; + com.google.bigtable.admin.v2.ListSnapshotsRequest other = (com.google.bigtable.admin.v2.ListSnapshotsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,103 +254,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListSnapshotsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -394,32 +358,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListSnapshotsRequest)
       com.google.bigtable.admin.v2.ListSnapshotsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
-              com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListSnapshotsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +396,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -452,11 +417,8 @@ public com.google.bigtable.admin.v2.ListSnapshotsRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsRequest result =
-          new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListSnapshotsRequest result = new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -478,39 +440,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -518,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsRequest other) {
-      if (other == com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -559,31 +519,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -593,13 +549,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -608,16 +561,14 @@ public Builder mergeFrom(
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -626,8 +577,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -636,17 +585,16 @@ public java.lang.String getParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -654,8 +602,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -664,25 +610,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -691,10 +631,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -704,8 +641,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -714,17 +649,13 @@ public Builder clearParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -732,17 +663,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -750,15 +678,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -770,15 +695,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -790,20 +712,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -812,21 +732,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -834,35 +753,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -872,30 +784,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -905,12 +813,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListSnapshotsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListSnapshotsRequest) private static final com.google.bigtable.admin.v2.ListSnapshotsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListSnapshotsRequest(); } @@ -919,27 +827,27 @@ public static com.google.bigtable.admin.v2.ListSnapshotsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSnapshotsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSnapshotsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +862,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java index 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 525579bc58..5e81831d52 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsResponse}
  */
-public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListSnapshotsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListSnapshotsResponse)
     ListSnapshotsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListSnapshotsResponse.newBuilder() to construct.
   private ListSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListSnapshotsResponse() {
     snapshots_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -50,32 +32,28 @@ private ListSnapshotsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
   }
 
   public static final int SNAPSHOTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List snapshots_;
   /**
-   *
-   *
    * 
    * The snapshots present in the requested cluster.
    * 
@@ -87,8 +65,6 @@ public java.util.List getSnapshotsList() return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -96,13 +72,11 @@ public java.util.List getSnapshotsList() * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSnapshotsOrBuilderList() { return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -114,8 +88,6 @@ public int getSnapshotsCount() { return snapshots_.size(); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -127,8 +99,6 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -136,17 +106,15 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index) { return snapshots_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -154,7 +122,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,15 +130,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -179,15 +145,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -196,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < snapshots_.size(); i++) { output.writeMessage(1, snapshots_.get(i)); } @@ -225,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < snapshots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, snapshots_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, snapshots_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -238,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListSnapshotsResponse other = - (com.google.bigtable.admin.v2.ListSnapshotsResponse) obj; + com.google.bigtable.admin.v2.ListSnapshotsResponse other = (com.google.bigtable.admin.v2.ListSnapshotsResponse) obj; - if (!getSnapshotsList().equals(other.getSnapshotsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSnapshotsList() + .equals(other.getSnapshotsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,103 +240,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListSnapshotsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -380,32 +344,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListSnapshotsResponse)
       com.google.bigtable.admin.v2.ListSnapshotsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
-              com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListSnapshotsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +387,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -443,18 +408,14 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsResponse result =
-          new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
+      com.google.bigtable.admin.v2.ListSnapshotsResponse result = new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
       if (snapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
@@ -477,39 +438,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsResponse re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -517,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance()) return this;
       if (snapshotsBuilder_ == null) {
         if (!other.snapshots_.isEmpty()) {
           if (snapshots_.isEmpty()) {
@@ -537,10 +496,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsResponse othe
             snapshotsBuilder_ = null;
             snapshots_ = other.snapshots_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            snapshotsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSnapshotsFieldBuilder()
-                    : null;
+            snapshotsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSnapshotsFieldBuilder() : null;
           } else {
             snapshotsBuilder_.addAllMessages(other.snapshots_);
           }
@@ -577,32 +535,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Snapshot m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Snapshot.parser(), extensionRegistry);
-                if (snapshotsBuilder_ == null) {
-                  ensureSnapshotsIsMutable();
-                  snapshots_.add(m);
-                } else {
-                  snapshotsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Snapshot m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Snapshot.parser(),
+                      extensionRegistry);
+              if (snapshotsBuilder_ == null) {
+                ensureSnapshotsIsMutable();
+                snapshots_.add(m);
+              } else {
+                snapshotsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -612,28 +568,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List snapshots_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSnapshotsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         snapshots_ = new java.util.ArrayList(snapshots_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Snapshot,
-            com.google.bigtable.admin.v2.Snapshot.Builder,
-            com.google.bigtable.admin.v2.SnapshotOrBuilder>
-        snapshotsBuilder_;
+        com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder> snapshotsBuilder_;
 
     /**
-     *
-     *
      * 
      * The snapshots present in the requested cluster.
      * 
@@ -648,8 +597,6 @@ public java.util.List getSnapshotsList() } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -664,8 +611,6 @@ public int getSnapshotsCount() { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -680,15 +625,14 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot value) { + public Builder setSnapshots( + int index, com.google.bigtable.admin.v2.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,8 +646,6 @@ public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -722,8 +664,6 @@ public Builder setSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -744,15 +684,14 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot value) { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder addSnapshots(int index, com.google.bigtable.admin.v2.Snapshot value) { + public Builder addSnapshots( + int index, com.google.bigtable.admin.v2.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -766,15 +705,14 @@ public Builder addSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builderForValue) { + public Builder addSnapshots( + com.google.bigtable.admin.v2.Snapshot.Builder builderForValue) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.add(builderForValue.build()); @@ -785,8 +723,6 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builde return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -805,8 +741,6 @@ public Builder addSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -817,7 +751,8 @@ public Builder addAllSnapshots( java.lang.Iterable values) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, snapshots_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, snapshots_); onChanged(); } else { snapshotsBuilder_.addAllMessages(values); @@ -825,8 +760,6 @@ public Builder addAllSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -844,8 +777,6 @@ public Builder clearSnapshots() { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -863,44 +794,39 @@ public Builder removeSnapshots(int index) { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.Snapshot.Builder getSnapshotsBuilder(int index) { + public com.google.bigtable.admin.v2.Snapshot.Builder getSnapshotsBuilder( + int index) { return getSnapshotsFieldBuilder().getBuilder(index); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index) { if (snapshotsBuilder_ == null) { - return snapshots_.get(index); - } else { + return snapshots_.get(index); } else { return snapshotsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public java.util.List - getSnapshotsOrBuilderList() { + public java.util.List + getSnapshotsOrBuilderList() { if (snapshotsBuilder_ != null) { return snapshotsBuilder_.getMessageOrBuilderList(); } else { @@ -908,8 +834,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -917,47 +841,42 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder() { - return getSnapshotsFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); + return getSnapshotsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder(int index) { - return getSnapshotsFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); + public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder( + int index) { + return getSnapshotsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public java.util.List getSnapshotsBuilderList() { + public java.util.List + getSnapshotsBuilderList() { return getSnapshotsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Snapshot, - com.google.bigtable.admin.v2.Snapshot.Builder, - com.google.bigtable.admin.v2.SnapshotOrBuilder> + com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder> getSnapshotsFieldBuilder() { if (snapshotsBuilder_ == null) { - snapshotsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Snapshot, - com.google.bigtable.admin.v2.Snapshot.Builder, - com.google.bigtable.admin.v2.SnapshotOrBuilder>( - snapshots_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder>( + snapshots_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); snapshots_ = null; } return snapshotsBuilder_; @@ -965,8 +884,6 @@ public java.util.List getSnapshot private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -974,13 +891,13 @@ public java.util.List getSnapshot
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -989,8 +906,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -998,14 +913,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1013,8 +929,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1022,22 +936,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1045,7 +955,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1055,8 +964,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1064,23 +971,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1090,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListSnapshotsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListSnapshotsResponse) private static final com.google.bigtable.admin.v2.ListSnapshotsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListSnapshotsResponse(); } @@ -1104,27 +1009,27 @@ public static com.google.bigtable.admin.v2.ListSnapshotsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSnapshotsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSnapshotsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,4 +1044,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java index 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 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java index be1f21e8f4..5d5f5287ff 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,41 +28,34 @@ private ListTablesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesRequest.class,
-            com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance for which tables should be listed.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which tables should be listed.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,45 +98,34 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view to be applied to the returned tables' fields.
    * 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() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -177,7 +139,6 @@ public com.google.bigtable.admin.v2.Table.View getView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -186,18 +147,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -206,29 +163,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -237,7 +194,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,13 +232,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,18 +250,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListTablesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListTablesRequest other = - (com.google.bigtable.admin.v2.ListTablesRequest) obj; + com.google.bigtable.admin.v2.ListTablesRequest other = (com.google.bigtable.admin.v2.ListTablesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -327,104 +288,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListTablesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -432,32 +388,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListTablesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListTablesRequest)
       com.google.bigtable.admin.v2.ListTablesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListTablesRequest.class,
-              com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListTablesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -491,11 +448,8 @@ public com.google.bigtable.admin.v2.ListTablesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesRequest result =
-          new com.google.bigtable.admin.v2.ListTablesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListTablesRequest result = new com.google.bigtable.admin.v2.ListTablesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -520,39 +474,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesRequest result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -603,37 +556,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -643,28 +591,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -673,24 +616,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -698,41 +638,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -742,24 +671,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -769,31 +692,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned tables' fields.
      * 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. */ @@ -804,33 +720,26 @@ public Builder setViewValue(int value) { 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() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * 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. */ @@ -844,15 +753,12 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * 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() { @@ -862,10 +768,8 @@ public Builder clearView() { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -879,7 +783,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +790,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -902,7 +803,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -914,8 +814,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -929,7 +827,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -941,20 +838,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -963,21 +858,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -985,35 +879,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1023,30 +910,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1056,12 +939,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListTablesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListTablesRequest) private static final com.google.bigtable.admin.v2.ListTablesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListTablesRequest(); } @@ -1070,27 +953,27 @@ public static com.google.bigtable.admin.v2.ListTablesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTablesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,4 +988,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java similarity index 68% 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 8ec5eea690..a12c4d750f 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.
    *
@@ -97,33 +64,27 @@ public interface ListTablesRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java index 0ffbb96a89..17ff0fda1c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListTablesResponse}
  */
-public final class ListTablesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTablesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListTablesResponse)
     ListTablesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTablesResponse.newBuilder() to construct.
   private ListTablesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTablesResponse() {
     tables_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListTablesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesResponse.class,
-            com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
   }
 
   public static final int TABLES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tables_;
   /**
-   *
-   *
    * 
    * The tables present in the requested instance.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTablesList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTablesList() { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTablesOrBuilderList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -109,8 +83,6 @@ public int getTablesCount() { return tables_.size(); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -122,8 +94,6 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { return tables_.get(index); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -131,17 +101,15 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index) { return tables_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -149,7 +117,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +125,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -174,15 +140,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tables_.size(); i++) { output.writeMessage(1, tables_.get(i)); } @@ -220,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tables_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListTablesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListTablesResponse other = - (com.google.bigtable.admin.v2.ListTablesResponse) obj; + com.google.bigtable.admin.v2.ListTablesResponse other = (com.google.bigtable.admin.v2.ListTablesResponse) obj; - if (!getTablesList().equals(other.getTablesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTablesList() + .equals(other.getTablesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,104 +234,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListTablesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -370,32 +334,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListTablesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListTablesResponse)
       com.google.bigtable.admin.v2.ListTablesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListTablesResponse.class,
-              com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListTablesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,9 +377,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -433,18 +398,14 @@ public com.google.bigtable.admin.v2.ListTablesResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesResponse result =
-          new com.google.bigtable.admin.v2.ListTablesResponse(this);
+      com.google.bigtable.admin.v2.ListTablesResponse result = new com.google.bigtable.admin.v2.ListTablesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListTablesResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListTablesResponse result) {
       if (tablesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tables_ = java.util.Collections.unmodifiableList(tables_);
@@ -467,39 +428,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesResponse resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -507,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListTablesResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()) return this;
       if (tablesBuilder_ == null) {
         if (!other.tables_.isEmpty()) {
           if (tables_.isEmpty()) {
@@ -527,10 +486,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListTablesResponse other)
             tablesBuilder_ = null;
             tables_ = other.tables_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tablesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTablesFieldBuilder()
-                    : null;
+            tablesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTablesFieldBuilder() : null;
           } else {
             tablesBuilder_.addAllMessages(other.tables_);
           }
@@ -567,32 +525,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Table m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Table.parser(), extensionRegistry);
-                if (tablesBuilder_ == null) {
-                  ensureTablesIsMutable();
-                  tables_.add(m);
-                } else {
-                  tablesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Table m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Table.parser(),
+                      extensionRegistry);
+              if (tablesBuilder_ == null) {
+                ensureTablesIsMutable();
+                tables_.add(m);
+              } else {
+                tablesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -602,28 +558,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tables_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTablesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tables_ = new java.util.ArrayList(tables_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Table,
-            com.google.bigtable.admin.v2.Table.Builder,
-            com.google.bigtable.admin.v2.TableOrBuilder>
-        tablesBuilder_;
+        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tablesBuilder_;
 
     /**
-     *
-     *
      * 
      * The tables present in the requested instance.
      * 
@@ -638,8 +587,6 @@ public java.util.List getTablesList() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -654,8 +601,6 @@ public int getTablesCount() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -670,15 +615,14 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { } } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { + public Builder setTables( + int index, com.google.bigtable.admin.v2.Table value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +636,6 @@ public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -712,8 +654,6 @@ public Builder setTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -734,15 +674,14 @@ public Builder addTables(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder addTables(int index, com.google.bigtable.admin.v2.Table value) { + public Builder addTables( + int index, com.google.bigtable.admin.v2.Table value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,15 +695,14 @@ public Builder addTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder addTables( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(builderForValue.build()); @@ -775,8 +713,6 @@ public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForVa return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -795,8 +731,6 @@ public Builder addTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -807,7 +741,8 @@ public Builder addAllTables( java.lang.Iterable values) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tables_); onChanged(); } else { tablesBuilder_.addAllMessages(values); @@ -815,8 +750,6 @@ public Builder addAllTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -834,8 +767,6 @@ public Builder clearTables() { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -853,44 +784,39 @@ public Builder removeTables(int index) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.Table.Builder getTablesBuilder(int index) { + public com.google.bigtable.admin.v2.Table.Builder getTablesBuilder( + int index) { return getTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index) { if (tablesBuilder_ == null) { - return tables_.get(index); - } else { + return tables_.get(index); } else { return tablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public java.util.List - getTablesOrBuilderList() { + public java.util.List + getTablesOrBuilderList() { if (tablesBuilder_ != null) { return tablesBuilder_.getMessageOrBuilderList(); } else { @@ -898,8 +824,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -907,47 +831,42 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) * repeated .google.bigtable.admin.v2.Table tables = 1; */ public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder() { - return getTablesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Table.getDefaultInstance()); + return getTablesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Table.getDefaultInstance()); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder(int index) { - return getTablesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Table.getDefaultInstance()); + public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder( + int index) { + return getTablesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Table.getDefaultInstance()); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public java.util.List getTablesBuilderList() { + public java.util.List + getTablesBuilderList() { return getTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { - tablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - tables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + tables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tables_ = null; } return tablesBuilder_; @@ -955,8 +874,6 @@ public java.util.List getTablesBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -964,13 +881,13 @@ public java.util.List getTablesBuild
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -979,8 +896,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -988,14 +903,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,8 +919,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1012,22 +926,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1035,7 +945,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1045,8 +954,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1054,23 +961,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListTablesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListTablesResponse) private static final com.google.bigtable.admin.v2.ListTablesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListTablesResponse(); } @@ -1094,27 +999,27 @@ public static com.google.bigtable.admin.v2.ListTablesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTablesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,4 +1034,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java index 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 54140404f6..4cadaa3b63 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,84 +27,69 @@ private ModifyColumnFamiliesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ModifyColumnFamiliesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
   }
 
-  public interface ModificationOrBuilder
-      extends
+  public interface ModificationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ boolean hasCreate(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ com.google.bigtable.admin.v2.ColumnFamily getCreate(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -133,34 +100,26 @@ public interface ModificationOrBuilder
     com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ com.google.bigtable.admin.v2.ColumnFamily getUpdate(); /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
@@ -171,28 +130,22 @@ public interface ModificationOrBuilder
     com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ boolean hasDrop(); /** - * - * *
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return The drop. */ boolean getDrop(); @@ -200,64 +153,56 @@ public interface ModificationOrBuilder com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.ModCase getModCase(); } /** - * - * *
    * A create, update, or delete of a particular column family.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Modification extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Modification extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) ModificationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Modification.newBuilder() to construct. private Modification(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Modification() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Modification(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } private int modCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mod_; - public enum ModCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE(2), UPDATE(3), DROP(4), MOD_NOT_SET(0); private final int value; - private ModCase(int value) { this.value = value; } @@ -273,41 +218,33 @@ public static ModCase valueOf(int value) { public static ModCase forNumber(int value) { switch (value) { - case 2: - return CREATE; - case 3: - return UPDATE; - case 4: - return DROP; - case 0: - return MOD_NOT_SET; - default: - return null; + case 2: return CREATE; + case 3: return UPDATE; + case 4: return DROP; + case 0: return MOD_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ModCase getModCase() { - return ModCase.forNumber(modCase_); + public ModCase + getModCase() { + return ModCase.forNumber( + modCase_); } public static final int ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -316,29 +253,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -348,15 +285,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CREATE_FIELD_NUMBER = 2; /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ @java.lang.Override @@ -364,27 +298,22 @@ public boolean hasCreate() { return modCase_ == 2; } /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily getCreate() { if (modCase_ == 2) { - return (com.google.bigtable.admin.v2.ColumnFamily) mod_; + return (com.google.bigtable.admin.v2.ColumnFamily) mod_; } return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance(); } /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -395,22 +324,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getCreate() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       if (modCase_ == 2) {
-        return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
+         return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
       }
       return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
     }
 
     public static final int UPDATE_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -418,27 +344,22 @@ public boolean hasUpdate() { return modCase_ == 3; } /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily getUpdate() { if (modCase_ == 3) { - return (com.google.bigtable.admin.v2.ColumnFamily) mod_; + return (com.google.bigtable.admin.v2.ColumnFamily) mod_; } return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance(); } /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
@@ -449,22 +370,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getUpdate() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       if (modCase_ == 3) {
-        return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
+         return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
       }
       return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
     }
 
     public static final int DROP_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -472,15 +390,12 @@ public boolean hasDrop() { return modCase_ == 4; } /** - * - * *
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return The drop. */ @java.lang.Override @@ -492,7 +407,6 @@ public boolean getDrop() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -504,7 +418,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -515,7 +430,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) mod_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) mod_)); } getUnknownFields().writeTo(output); } @@ -530,19 +446,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (modCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.admin.v2.ColumnFamily) mod_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) mod_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) mod_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -552,25 +466,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getModCase().equals(other.getModCase())) return false; switch (modCase_) { case 2: - if (!getCreate().equals(other.getCreate())) return false; + if (!getCreate() + .equals(other.getCreate())) return false; break; case 3: - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; break; case 4: - if (getDrop() != other.getDrop()) return false; + if (getDrop() + != other.getDrop()) return false; break; case 0: default: @@ -599,7 +516,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDrop()); break; case 0: default: @@ -610,95 +528,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -708,43 +620,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A create, update, or delete of a particular column family.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - .class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } - // Construct using - // com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -762,22 +670,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance(); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { + return com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance(); } @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification build() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = - buildPartial(); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -786,32 +691,29 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification bui @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification buildPartial() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = - new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } } - private void buildPartialOneofs( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartialOneofs(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { result.modCase_ = modCase_; result.mod_ = this.mod_; - if (modCase_ == 2 && createBuilder_ != null) { + if (modCase_ == 2 && + createBuilder_ != null) { result.mod_ = createBuilder_.build(); } - if (modCase_ == 3 && updateBuilder_ != null) { + if (modCase_ == 3 && + updateBuilder_ != null) { result.mod_ = updateBuilder_.build(); } } @@ -820,79 +722,67 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { - return mergeFrom( - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) other); + if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { + return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { - if (other - == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { + if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getModCase()) { - case CREATE: - { - mergeCreate(other.getCreate()); - break; - } - case UPDATE: - { - mergeUpdate(other.getUpdate()); - break; - } - case DROP: - { - setDrop(other.getDrop()); - break; - } - case MOD_NOT_SET: - { - break; - } + case CREATE: { + mergeCreate(other.getCreate()); + break; + } + case UPDATE: { + mergeUpdate(other.getUpdate()); + break; + } + case DROP: { + setDrop(other.getDrop()); + break; + } + case MOD_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -920,37 +810,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateFieldBuilder().getBuilder(), extensionRegistry); - modCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - modCase_ = 3; - break; - } // case 26 - case 32: - { - mod_ = input.readBool(); - modCase_ = 4; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateFieldBuilder().getBuilder(), + extensionRegistry); + modCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + modCase_ = 3; + break; + } // case 26 + case 32: { + mod_ = input.readBool(); + modCase_ = 4; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -960,12 +849,12 @@ public Builder mergeFrom( } // finally return this; } - private int modCase_ = 0; private java.lang.Object mod_; - - public ModCase getModCase() { - return ModCase.forNumber(modCase_); + public ModCase + getModCase() { + return ModCase.forNumber( + modCase_); } public Builder clearMod() { @@ -979,20 +868,18 @@ public Builder clearMod() { private java.lang.Object id_ = ""; /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1001,21 +888,20 @@ public java.lang.String getId() { } } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1023,35 +909,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1061,21 +940,17 @@ public Builder clearId() { return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -1084,20 +959,14 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ColumnFamily, - com.google.bigtable.admin.v2.ColumnFamily.Builder, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> - createBuilder_; + com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> createBuilder_; /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ @java.lang.Override @@ -1105,15 +974,12 @@ public boolean hasCreate() { return modCase_ == 2; } /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ @java.lang.Override @@ -1131,8 +997,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getCreate() { } } /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1154,8 +1018,6 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1163,7 +1025,8 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
        *
        * .google.bigtable.admin.v2.ColumnFamily create = 2;
        */
-      public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
+      public Builder setCreate(
+          com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
         if (createBuilder_ == null) {
           mod_ = builderForValue.build();
           onChanged();
@@ -1174,8 +1037,6 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1185,13 +1046,10 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
        */
       public Builder mergeCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         if (createBuilder_ == null) {
-          if (modCase_ == 2
-              && mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
-            mod_ =
-                com.google.bigtable.admin.v2.ColumnFamily.newBuilder(
-                        (com.google.bigtable.admin.v2.ColumnFamily) mod_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (modCase_ == 2 &&
+              mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
+            mod_ = com.google.bigtable.admin.v2.ColumnFamily.newBuilder((com.google.bigtable.admin.v2.ColumnFamily) mod_)
+                .mergeFrom(value).buildPartial();
           } else {
             mod_ = value;
           }
@@ -1207,8 +1065,6 @@ public Builder mergeCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1233,8 +1089,6 @@ public Builder clearCreate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1246,8 +1100,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder getCreateBuilder() {
         return getCreateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1267,8 +1119,6 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1277,19 +1127,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
        * .google.bigtable.admin.v2.ColumnFamily create = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> 
           getCreateFieldBuilder() {
         if (createBuilder_ == null) {
           if (!(modCase_ == 2)) {
             mod_ = com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
           }
-          createBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.admin.v2.ColumnFamily,
-                  com.google.bigtable.admin.v2.ColumnFamily.Builder,
-                  com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
+          createBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
                   (com.google.bigtable.admin.v2.ColumnFamily) mod_,
                   getParentForChildren(),
                   isClean());
@@ -1301,20 +1146,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
-          updateBuilder_;
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> updateBuilder_;
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1322,15 +1161,12 @@ public boolean hasUpdate() { return modCase_ == 3; } /** - * - * *
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ @java.lang.Override @@ -1348,8 +1184,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getUpdate() { } } /** - * - * *
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1371,8 +1205,6 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1380,7 +1212,8 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
        *
        * .google.bigtable.admin.v2.ColumnFamily update = 3;
        */
-      public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
+      public Builder setUpdate(
+          com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
         if (updateBuilder_ == null) {
           mod_ = builderForValue.build();
           onChanged();
@@ -1391,8 +1224,6 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1402,13 +1233,10 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
        */
       public Builder mergeUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         if (updateBuilder_ == null) {
-          if (modCase_ == 3
-              && mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
-            mod_ =
-                com.google.bigtable.admin.v2.ColumnFamily.newBuilder(
-                        (com.google.bigtable.admin.v2.ColumnFamily) mod_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (modCase_ == 3 &&
+              mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
+            mod_ = com.google.bigtable.admin.v2.ColumnFamily.newBuilder((com.google.bigtable.admin.v2.ColumnFamily) mod_)
+                .mergeFrom(value).buildPartial();
           } else {
             mod_ = value;
           }
@@ -1424,8 +1252,6 @@ public Builder mergeUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1450,8 +1276,6 @@ public Builder clearUpdate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1463,8 +1287,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder getUpdateBuilder() {
         return getUpdateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1484,8 +1306,6 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1494,19 +1314,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
        * .google.bigtable.admin.v2.ColumnFamily update = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> 
           getUpdateFieldBuilder() {
         if (updateBuilder_ == null) {
           if (!(modCase_ == 3)) {
             mod_ = com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
           }
-          updateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.admin.v2.ColumnFamily,
-                  com.google.bigtable.admin.v2.ColumnFamily.Builder,
-                  com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
+          updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
                   (com.google.bigtable.admin.v2.ColumnFamily) mod_,
                   getParentForChildren(),
                   isClean());
@@ -1518,30 +1333,24 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       }
 
       /**
-       *
-       *
        * 
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ public boolean hasDrop() { return modCase_ == 4; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return The drop. */ public boolean getDrop() { @@ -1551,15 +1360,12 @@ public boolean getDrop() { return false; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @param value The drop to set. * @return This builder for chaining. */ @@ -1571,15 +1377,12 @@ public Builder setDrop(boolean value) { return this; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return This builder for chaining. */ public Builder clearDrop() { @@ -1590,7 +1393,6 @@ public Builder clearDrop() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1603,45 +1405,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) - private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(); + DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstance() { + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Modification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Modification parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,29 +1451,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1684,33 +1476,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1719,13 +1509,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int MODIFICATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - modifications_; + private java.util.List modifications_; /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
@@ -1733,18 +1519,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
@@ -1752,19 +1533,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
@@ -1772,17 +1548,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
@@ -1790,18 +1562,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
@@ -1809,18 +1576,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; @@ -1832,7 +1596,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1852,7 +1617,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < modifications_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, modifications_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, modifications_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1862,16 +1628,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other = - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) obj; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getModificationsList().equals(other.getModificationsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getModificationsList() + .equals(other.getModificationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1895,104 +1662,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
@@ -2000,32 +1761,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest)
       com.google.bigtable.admin.v2.ModifyColumnFamiliesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2042,9 +1804,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2063,18 +1825,14 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result =
-          new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
+      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
       if (modificationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           modifications_ = java.util.Collections.unmodifiableList(modifications_);
@@ -2097,39 +1855,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2137,8 +1894,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other) {
-      if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -2162,10 +1918,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
             modificationsBuilder_ = null;
             modifications_ = other.modifications_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            modificationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getModificationsFieldBuilder()
-                    : null;
+            modificationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getModificationsFieldBuilder() : null;
           } else {
             modificationsBuilder_.addAllMessages(other.modifications_);
           }
@@ -2197,34 +1952,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification
-                            .parser(),
-                        extensionRegistry);
-                if (modificationsBuilder_ == null) {
-                  ensureModificationsIsMutable();
-                  modifications_.add(m);
-                } else {
-                  modificationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.parser(),
+                      extensionRegistry);
+              if (modificationsBuilder_ == null) {
+                ensureModificationsIsMutable();
+                modifications_.add(m);
+              } else {
+                modificationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2234,29 +1985,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2265,25 +2011,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2291,43 +2034,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -2337,25 +2069,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2363,28 +2089,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - modifications_ = java.util.Collections.emptyList(); - + private java.util.List modifications_ = + java.util.Collections.emptyList(); private void ensureModificationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - modifications_ = - new java.util.ArrayList< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>( - modifications_); + modifications_ = new java.util.ArrayList(modifications_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> - modificationsBuilder_; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> modificationsBuilder_; /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2392,12 +2109,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 { @@ -2405,8 +2119,6 @@ private void ensureModificationsIsMutable() { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2414,9 +2126,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) { @@ -2426,8 +2136,6 @@ public int getModificationsCount() { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2435,12 +2143,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 { @@ -2448,8 +2153,6 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2457,9 +2160,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) { @@ -2476,8 +2177,6 @@ public Builder setModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2485,14 +2184,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()); @@ -2503,8 +2198,6 @@ public Builder setModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2512,12 +2205,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(); @@ -2531,8 +2221,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2540,9 +2228,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) { @@ -2559,8 +2245,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2568,13 +2252,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()); @@ -2585,8 +2266,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2594,14 +2273,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()); @@ -2612,8 +2287,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2621,17 +2294,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); @@ -2639,8 +2309,6 @@ public Builder addAllModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2648,9 +2316,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) { @@ -2663,8 +2329,6 @@ public Builder clearModifications() { return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2672,9 +2336,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) { @@ -2687,8 +2349,6 @@ public Builder removeModifications(int index) { return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2696,17 +2356,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
@@ -2714,21 +2370,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
@@ -2736,14 +2387,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 { @@ -2751,8 +2398,6 @@ public Builder removeModifications(int index) { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2760,20 +2405,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
@@ -2781,21 +2419,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
@@ -2803,27 +2434,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_ & 0x00000002) != 0), getParentForChildren(), @@ -2832,9 +2454,9 @@ public Builder removeModifications(int index) { } return modificationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2844,12 +2466,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(); } @@ -2858,27 +2480,27 @@ public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyColumnFamiliesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyColumnFamiliesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2893,4 +2515,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java index 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 c405867d23..37a23ce1aa 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/common.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Encapsulates progress related information for a Cloud Bigtable long
  * running operation.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
  */
-public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OperationProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.CommonProto
-        .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.CommonProto
-        .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OperationProgress.class,
-            com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+            com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
   }
 
   public static final int PROGRESS_PERCENT_FIELD_NUMBER = 1;
   private int progressPercent_ = 0;
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -83,14 +62,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -98,14 +74,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -113,8 +86,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -129,15 +100,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -145,15 +113,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -161,8 +126,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -176,7 +139,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,7 +150,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -208,13 +171,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -224,22 +190,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.OperationProgress other =
-        (com.google.bigtable.admin.v2.OperationProgress) obj;
+    com.google.bigtable.admin.v2.OperationProgress other = (com.google.bigtable.admin.v2.OperationProgress) obj;
 
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -267,104 +235,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.OperationProgress parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.OperationProgress prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Encapsulates progress related information for a Cloud Bigtable long
    * running operation.
@@ -372,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.OperationProgress)
       com.google.bigtable.admin.v2.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.OperationProgress.class,
-              com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+              com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.OperationProgress.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -417,9 +381,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -438,11 +402,8 @@ public com.google.bigtable.admin.v2.OperationProgress build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OperationProgress buildPartial() {
-      com.google.bigtable.admin.v2.OperationProgress result =
-          new com.google.bigtable.admin.v2.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.OperationProgress result = new com.google.bigtable.admin.v2.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -453,10 +414,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
         result.progressPercent_ = progressPercent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -464,39 +429,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OperationProgress) {
-        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress) other);
+        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -540,31 +504,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              progressPercent_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -574,20 +538,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -595,15 +555,12 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ @@ -615,15 +572,12 @@ public Builder setProgressPercent(int value) { return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -635,33 +589,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -672,8 +617,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -694,15 +637,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -713,8 +655,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -723,9 +663,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -738,8 +678,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -757,8 +695,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -771,8 +707,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -783,12 +717,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -796,17 +729,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -814,35 +744,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -853,8 +774,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -876,8 +795,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -885,7 +802,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -896,8 +814,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -907,9 +823,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -922,8 +838,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -942,8 +856,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -957,8 +869,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -970,12 +880,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -984,24 +893,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1011,12 +917,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.OperationProgress)
   private static final com.google.bigtable.admin.v2.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.OperationProgress();
   }
@@ -1025,27 +931,27 @@ public static com.google.bigtable.admin.v2.OperationProgress getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OperationProgress parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OperationProgress parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1060,4 +966,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
index 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 b6956ab4f8..0cf3764e16 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Metadata type for the long-running operation used to track the progress
  * of optimizations performed on a newly restored table. This long-running
@@ -30,54 +13,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
  */
-public final class OptimizeRestoredTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OptimizeRestoredTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
     OptimizeRestoredTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredTableMetadata.newBuilder() to construct.
   private OptimizeRestoredTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OptimizeRestoredTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OptimizeRestoredTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -119,14 +96,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.OperationProgress progress_; /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -134,25 +108,18 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return The progress. */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgress getProgress() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
@@ -161,13 +128,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() { */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +143,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,7 +164,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -209,18 +175,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other = - (com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) obj; + com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other = (com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,104 +212,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the long-running operation used to track the progress
    * of optimizations performed on a newly restored table. This long-running
@@ -352,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
       com.google.bigtable.admin.v2.OptimizeRestoredTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
-              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -392,9 +354,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +375,8 @@ public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result =
-          new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,7 +387,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
     }
 
@@ -436,39 +397,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +436,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -512,25 +471,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -540,25 +498,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -567,21 +522,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -589,35 +543,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -627,21 +574,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -651,47 +594,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> - progressBuilder_; + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return The progress. */ public com.google.bigtable.admin.v2.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -712,8 +642,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -732,8 +660,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -742,9 +668,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progress_ != null - && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progress_ != null && + progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -757,8 +683,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -776,8 +700,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -790,8 +712,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -802,14 +722,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -817,24 +734,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil * .google.bigtable.admin.v2.OperationProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); + progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder>( + getProgress(), + getParentForChildren(), + isClean()); progress_ = null; } return progressBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +758,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) private static final com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(); } @@ -858,27 +772,27 @@ public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptimizeRestoredTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeRestoredTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,4 +807,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java index 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 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java index 9bf28b33f6..71de819294 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ -public final class PartialUpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) PartialUpdateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateClusterMetadata.newBuilder() to construct. private PartialUpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateClusterMetadata() {} + private PartialUpdateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } public static final int REQUEST_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -109,14 +83,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -124,14 +95,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ @java.lang.Override @@ -139,8 +107,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -155,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.PartialUpdateClusterRequest originalRequest_; /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -170,25 +133,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
@@ -196,15 +152,11 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalReque * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requestTime_ != null) { output.writeMessage(1, getRequestTime()); } @@ -236,13 +189,16 @@ public int getSerializedSize() { size = 0; if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFinishTime()); } if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOriginalRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other = - (com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) obj; + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other = (com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) obj; if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,136 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by PartialUpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) com.google.bigtable.admin.v2.PartialUpdateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override @@ -475,11 +428,8 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = - new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -487,15 +437,19 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } } @@ -503,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMeta public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -543,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.getDefaultInstance()) return this; if (other.hasRequestTime()) { mergeRequestTime(other.getRequestTime()); } @@ -580,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,52 +568,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -680,15 +620,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -699,8 +638,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -709,9 +646,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -724,8 +661,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -743,8 +678,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -757,8 +690,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -769,14 +700,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -784,17 +712,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -802,47 +727,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -863,15 +775,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -882,8 +793,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -892,9 +801,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -907,8 +816,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -926,8 +833,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -940,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -952,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -967,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; @@ -985,55 +882,41 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { private com.google.bigtable.admin.v2.PartialUpdateClusterRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder setOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1047,8 +930,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1067,21 +948,17 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder mergeOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1094,8 +971,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1113,42 +988,33 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder - getOriginalRequestBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder getOriginalRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1156,24 +1022,21 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1183,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateClusterMetadata) private static final com.google.bigtable.admin.v2.PartialUpdateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(); } @@ -1197,27 +1060,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java index 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 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java index 1e7646d0c8..b08f877ab4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java @@ -1,78 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ -public final class PartialUpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) PartialUpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateClusterRequest.newBuilder() to construct. private PartialUpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateClusterRequest() {} + private PartialUpdateClusterRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster cluster_; /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -80,16 +58,12 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -97,15 +71,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { @@ -115,15 +86,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -131,15 +98,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -147,14 +110,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -162,7 +122,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cluster_ != null) { output.writeMessage(1, getCluster()); } @@ -191,10 +151,12 @@ public int getSerializedSize() { size = 0; if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCluster()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,21 +166,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateClusterRequest other = - (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) obj; + com.google.bigtable.admin.v2.PartialUpdateClusterRequest other = (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) obj; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,136 +208,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override @@ -414,11 +372,8 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = - new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -426,10 +381,14 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -437,39 +396,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -477,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateClusterRequest other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) return this; if (other.hasCluster()) { mergeCluster(other.getCluster()); } @@ -511,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,66 +497,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -614,18 +552,15 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -636,22 +571,18 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && cluster_ != null - && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + cluster_ != null && + cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -664,16 +595,12 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -686,16 +613,12 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000001; @@ -703,50 +626,38 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -754,55 +665,39 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -818,16 +713,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -838,20 +731,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -864,14 +754,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -884,14 +771,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -899,53 +783,43 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -955,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateClusterRequest) private static final com.google.bigtable.admin.v2.PartialUpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(); } @@ -969,27 +843,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1004,4 +878,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java index 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 538fdd043c..46457cc30d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java @@ -1,78 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ -public final class PartialUpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) PartialUpdateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateInstanceRequest.newBuilder() to construct. private PartialUpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateInstanceRequest() {} + private PartialUpdateInstanceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } public static final int INSTANCE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Instance instance_; /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -80,55 +57,38 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,16 +96,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -153,15 +109,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -169,7 +122,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -198,10 +151,12 @@ public int getSerializedSize() { size = 0; if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstance()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +166,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other = - (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) obj; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other = (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,136 +208,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override @@ -421,11 +372,8 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = - new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -433,10 +381,14 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -444,39 +396,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -484,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) return this; if (other.hasInstance()) { mergeInstance(other.getInstance()); } @@ -518,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instanceBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -618,17 +549,14 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -639,21 +567,17 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -666,15 +590,11 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); @@ -687,15 +607,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -703,48 +619,36 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -752,58 +656,42 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -819,17 +707,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -840,21 +726,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -867,15 +750,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -888,15 +768,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -904,55 +781,45 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -962,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateInstanceRequest) private static final com.google.bigtable.admin.v2.PartialUpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(); } @@ -976,27 +843,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,4 +878,6 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java index 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 d82292b666..7a82127259 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java @@ -1,80 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Information about a table restore.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ -public final class RestoreInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreInfo) RestoreInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, - com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object sourceInfo_; - public enum SourceInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; - private SourceInfoCase(int value) { this.value = value; } @@ -90,70 +67,56 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: - return BACKUP_INFO; - case 0: - return SOURCEINFO_NOT_SET; - default: - return null; + case 2: return BACKUP_INFO; + case 0: return SOURCEINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -161,27 +124,22 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 2) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
@@ -192,13 +150,12 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() {
   @java.lang.Override
   public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() {
     if (sourceInfoCase_ == 2) {
-      return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_;
+       return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_;
     }
     return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -210,10 +167,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
@@ -228,15 +184,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sourceType_);
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -246,7 +200,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.RestoreInfo)) {
       return super.equals(obj);
@@ -257,7 +211,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 2:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -288,136 +243,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreInfo prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Information about a table restore.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreInfo) com.google.bigtable.admin.v2.RestoreInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, - com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } // Construct using com.google.bigtable.admin.v2.RestoreInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override @@ -453,11 +404,8 @@ public com.google.bigtable.admin.v2.RestoreInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo buildPartial() { - com.google.bigtable.admin.v2.RestoreInfo result = - new com.google.bigtable.admin.v2.RestoreInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.RestoreInfo result = new com.google.bigtable.admin.v2.RestoreInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -473,7 +421,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreInfo result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && + backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -482,39 +431,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.RestoreInfo) { - return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo) other); + return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo)other); } else { super.mergeFrom(other); return this; @@ -527,15 +475,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreInfo other) { setSourceTypeValue(other.getSourceTypeValue()); } switch (other.getSourceInfoCase()) { - case BACKUP_INFO: - { - mergeBackupInfo(other.getBackupInfo()); - break; - } - case SOURCEINFO_NOT_SET: - { - break; - } + case BACKUP_INFO: { + mergeBackupInfo(other.getBackupInfo()); + break; + } + case SOURCEINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -563,25 +509,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getBackupInfoFieldBuilder().getBuilder(), + extensionRegistry); + sourceInfoCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -591,12 +536,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public Builder clearSourceInfo() { @@ -610,29 +555,22 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -643,31 +581,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -681,14 +612,11 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -699,20 +627,14 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -720,15 +642,12 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override @@ -746,8 +665,6 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -769,8 +686,6 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -778,7 +693,8 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
      *
      * .google.bigtable.admin.v2.BackupInfo backup_info = 2;
      */
-    public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) {
+    public Builder setBackupInfo(
+        com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) {
       if (backupInfoBuilder_ == null) {
         sourceInfo_ = builderForValue.build();
         onChanged();
@@ -789,8 +705,6 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -800,13 +714,10 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui
      */
     public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       if (backupInfoBuilder_ == null) {
-        if (sourceInfoCase_ == 2
-            && sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) {
-          sourceInfo_ =
-              com.google.bigtable.admin.v2.BackupInfo.newBuilder(
-                      (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sourceInfoCase_ == 2 &&
+            sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) {
+          sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.newBuilder((com.google.bigtable.admin.v2.BackupInfo) sourceInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           sourceInfo_ = value;
         }
@@ -822,8 +733,6 @@ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -848,8 +757,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -861,8 +768,6 @@ public com.google.bigtable.admin.v2.BackupInfo.Builder getBackupInfoBuilder() {
       return getBackupInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -882,8 +787,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -892,19 +795,14 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
      * .google.bigtable.admin.v2.BackupInfo backup_info = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.BackupInfo,
-            com.google.bigtable.admin.v2.BackupInfo.Builder,
-            com.google.bigtable.admin.v2.BackupInfoOrBuilder>
+        com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> 
         getBackupInfoFieldBuilder() {
       if (backupInfoBuilder_ == null) {
         if (!(sourceInfoCase_ == 2)) {
           sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance();
         }
-        backupInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.BackupInfo,
-                com.google.bigtable.admin.v2.BackupInfo.Builder,
-                com.google.bigtable.admin.v2.BackupInfoOrBuilder>(
+        backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>(
                 (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_,
                 getParentForChildren(),
                 isClean());
@@ -914,9 +812,9 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       onChanged();
       return backupInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -926,12 +824,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreInfo)
   private static final com.google.bigtable.admin.v2.RestoreInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreInfo();
   }
@@ -940,27 +838,27 @@ public static com.google.bigtable.admin.v2.RestoreInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RestoreInfo parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RestoreInfo parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -975,4 +873,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
similarity index 70%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
index c8ed0e46cd..a875e62056 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
@@ -1,82 +1,52 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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 5a540c71d7..5e0a556180 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,38 +28,33 @@ private RestoreTableMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableMetadata.class,
-            com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableMetadata.class, com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
   }
 
   private int sourceInfoCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object sourceInfo_;
-
   public enum SourceInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
-
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -93,37 +70,31 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP_INFO;
-        case 0:
-          return SOURCEINFO_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP_INFO;
+        case 0: return SOURCEINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase getSourceInfoCase() {
-    return SourceInfoCase.forNumber(sourceInfoCase_);
+  public SourceInfoCase
+  getSourceInfoCase() {
+    return SourceInfoCase.forNumber(
+        sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +103,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,42 +136,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -209,32 +170,30 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object optimizeTableOperationName_ = ""; /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -248,7 +207,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
    * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ @java.lang.Override @@ -257,15 +215,14 @@ public java.lang.String getOptimizeTableOperationName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeTableOperationName_ = s; return s; } } /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -279,15 +236,16 @@ public java.lang.String getOptimizeTableOperationName() {
    * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes() { java.lang.Object ref = optimizeTableOperationName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeTableOperationName_ = b; return b; } else { @@ -298,15 +256,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 +269,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.
@@ -343,13 +291,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -361,13 +306,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) {
@@ -391,22 +335,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;
@@ -416,26 +358,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:
@@ -475,103 +419,98 @@ public int hashCode() {
   }
 
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreTableMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the long-running operation returned by
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -579,32 +518,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();
@@ -626,9 +566,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
@@ -647,11 +587,8 @@ public com.google.bigtable.admin.v2.RestoreTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableMetadata result =
-          new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.RestoreTableMetadata result = new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -669,14 +606,17 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreTableMetadata res
         result.optimizeTableOperationName_ = optimizeTableOperationName_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 &&
+          backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -685,39 +625,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadat
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -725,8 +664,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.RestoreTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.RestoreTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -744,15 +682,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();
@@ -780,43 +716,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                sourceInfoCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                optimizeTableOperationName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              optimizeTableOperationName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -826,12 +760,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() {
@@ -845,20 +779,18 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -867,21 +799,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 { @@ -889,35 +820,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -927,21 +851,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -951,29 +871,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -984,31 +897,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -1022,14 +928,11 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1040,13 +943,9 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -1055,7 +954,6 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override @@ -1072,7 +970,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) { @@ -1086,8 +986,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(); @@ -1097,16 +1000,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; } @@ -1121,7 +1023,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) { @@ -1138,11 +1042,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)) { @@ -1154,21 +1062,18 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> getBackupInfoFieldBuilder() { if (backupInfoBuilder_ == null) { if (!(sourceInfoCase_ == 3)) { sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - backupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder>( + backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>( (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_, getParentForChildren(), isClean()); @@ -1181,8 +1086,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() private java.lang.Object optimizeTableOperationName_ = ""; /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1196,13 +1099,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; @@ -1211,8 +1114,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
@@ -1226,14 +1127,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 { @@ -1241,8 +1143,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
@@ -1256,22 +1156,18 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() {
      * 
* * string optimize_table_operation_name = 4; - * * @param value The optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeTableOperationName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1285,7 +1181,6 @@ public Builder setOptimizeTableOperationName(java.lang.String value) {
      * 
* * string optimize_table_operation_name = 4; - * * @return This builder for chaining. */ public Builder clearOptimizeTableOperationName() { @@ -1295,8 +1190,6 @@ public Builder clearOptimizeTableOperationName() { return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1310,14 +1203,12 @@ public Builder clearOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; - * * @param value The bytes for optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeTableOperationNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; @@ -1327,49 +1218,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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.
@@ -1391,8 +1269,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.
@@ -1412,8 +1288,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1423,9 +1297,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && progress_ != null
-            && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1438,8 +1312,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.
@@ -1458,8 +1330,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1473,8 +1343,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1486,14 +1354,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.
@@ -1502,24 +1367,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);
     }
 
@@ -1529,12 +1391,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();
   }
@@ -1543,27 +1405,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;
@@ -1578,4 +1440,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 44925f856f..2f3447f0a6 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 71%
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 e9cf229a91..fa2748554a 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,38 +27,33 @@ private RestoreTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableRequest.class,
-            com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableRequest.class, com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -92,41 +69,33 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the restored
    * table. 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 @@ -135,33 +104,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 { @@ -170,12 +137,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -184,7 +148,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -193,15 +156,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
@@ -210,15 +172,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 { @@ -228,30 +191,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() { @@ -262,7 +219,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; @@ -271,25 +229,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; } @@ -300,7 +257,6 @@ public com.google.protobuf.ByteString getBackupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,20 +305,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: @@ -394,104 +353,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -499,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 +492,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,11 +513,8 @@ public com.google.bigtable.admin.v2.RestoreTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableRequest result =
-          new com.google.bigtable.admin.v2.RestoreTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.RestoreTableRequest result = new com.google.bigtable.admin.v2.RestoreTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -587,39 +539,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,8 +578,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -640,17 +590,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();
@@ -678,32 +626,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                sourceCase_ = 3;
-                source_ = s;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceCase_ = 3;
+              source_ = s;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -713,12 +657,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() {
@@ -732,24 +676,20 @@ public Builder clearSource() {
 
     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; @@ -758,25 +698,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 { @@ -784,43 +721,32 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. 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() { @@ -830,25 +756,19 @@ public Builder clearParent() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -858,8 +778,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
@@ -868,13 +786,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; @@ -883,8 +801,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
@@ -893,14 +809,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 { @@ -908,8 +825,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
@@ -918,22 +833,18 @@ public com.google.protobuf.ByteString getTableIdBytes() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -942,7 +853,6 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -952,8 +862,6 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -962,14 +870,12 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -978,15 +884,12 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ @java.lang.Override @@ -994,15 +897,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 @@ -1012,7 +912,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; @@ -1023,26 +924,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; } @@ -1052,37 +952,30 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 3; source_ = value; onChanged(); return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1094,31 +987,27 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1128,12 +1017,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(); } @@ -1142,27 +1031,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; @@ -1177,4 +1066,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 6ff36fc5e4..98d09bc1e1 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(); 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 74% 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 32862f5277..0cfb69c5f0 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.
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Snapshot}
  */
-public final class Snapshot extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Snapshot extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Snapshot)
     SnapshotOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Snapshot.newBuilder() to construct.
   private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Snapshot() {
     name_ = "";
     state_ = 0;
@@ -51,38 +33,34 @@ private Snapshot() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Snapshot();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Snapshot.class,
-            com.google.bigtable.admin.v2.Snapshot.Builder.class);
+            com.google.bigtable.admin.v2.Snapshot.class, com.google.bigtable.admin.v2.Snapshot.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a snapshot.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Snapshot.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the snapshot could not be determined.
      * 
@@ -91,8 +69,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -101,8 +77,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The snapshot is currently being created, and may be destroyed if the
      * creation process encounters an error. A snapshot may not be restored to a
@@ -116,8 +90,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the snapshot could not be determined.
      * 
@@ -126,8 +98,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -136,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The snapshot is currently being created, and may be destroyed if the
      * creation process encounters an error. A snapshot may not be restored to a
@@ -148,6 +116,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -172,49 +141,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        default:
-          return null;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Snapshot.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -232,12 +201,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -245,7 +211,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -254,15 +219,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -270,15 +234,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -289,14 +254,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.Table sourceTable_; /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* * .google.bigtable.admin.v2.Table source_table = 2; - * * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -304,25 +266,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.
    * 
@@ -331,16 +286,12 @@ public com.google.bigtable.admin.v2.Table getSourceTable() { */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } public static final int DATA_SIZE_BYTES_FIELD_NUMBER = 3; private long dataSizeBytes_ = 0L; /** - * - * *
    * Output only. The size of the data in the source table at the time the
    * snapshot was taken. In some cases, this value may be computed
@@ -349,7 +300,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
    * 
* * int64 data_size_bytes = 3; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -360,14 +310,11 @@ public long getDataSizeBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -375,14 +322,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 +334,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 +348,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 +355,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 +362,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 +369,6 @@ public boolean hasDeleteTime() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ @java.lang.Override @@ -440,8 +376,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,51 +392,38 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @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() { - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Output only. Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ @java.lang.Override @@ -511,29 +432,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * 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 { @@ -542,7 +463,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -554,7 +474,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -589,19 +510,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sourceTable_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSourceTable()); } if (dataSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, dataSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, dataSizeBytes_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDeleteTime()); } if (state_ != com.google.bigtable.admin.v2.Snapshot.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); @@ -614,29 +540,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Snapshot)) { return super.equals(obj); } com.google.bigtable.admin.v2.Snapshot other = (com.google.bigtable.admin.v2.Snapshot) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasSourceTable() != other.hasSourceTable()) return false; if (hasSourceTable()) { - if (!getSourceTable().equals(other.getSourceTable())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; } - if (getDataSizeBytes() != other.getDataSizeBytes()) return false; + if (getDataSizeBytes() + != other.getDataSizeBytes()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (state_ != other.state_) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -655,7 +587,8 @@ public int hashCode() { hash = (53 * hash) + getSourceTable().hashCode(); } hash = (37 * hash) + DATA_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataSizeBytes()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -673,103 +606,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Snapshot parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Snapshot parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Snapshot parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Snapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Snapshot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Snapshot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A snapshot of a table at a particular time. A snapshot can be used as a
    * checkpoint for data restoration or a data source for a new table.
@@ -782,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();
@@ -835,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
     }
 
     @java.lang.Override
@@ -856,11 +786,8 @@ public com.google.bigtable.admin.v2.Snapshot build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Snapshot buildPartial() {
-      com.google.bigtable.admin.v2.Snapshot result =
-          new com.google.bigtable.admin.v2.Snapshot(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.Snapshot result = new com.google.bigtable.admin.v2.Snapshot(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -871,17 +798,22 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sourceTable_ =
-            sourceTableBuilder_ == null ? sourceTable_ : sourceTableBuilder_.build();
+        result.sourceTable_ = sourceTableBuilder_ == null
+            ? sourceTable_
+            : sourceTableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.dataSizeBytes_ = dataSizeBytes_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.state_ = state_;
@@ -895,39 +827,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Snapshot) {
-        return mergeFrom((com.google.bigtable.admin.v2.Snapshot) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Snapshot)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -987,55 +918,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSourceTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                dataSizeBytes_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSourceTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              dataSizeBytes_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1045,13 +974,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1059,13 +985,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1074,8 +1000,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1083,14 +1007,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1098,8 +1023,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1107,22 +1030,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1130,7 +1049,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1140,8 +1058,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1149,14 +1065,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1166,47 +1080,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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.
      * 
@@ -1227,15 +1128,14 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; */ - public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setSourceTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (sourceTableBuilder_ == null) { sourceTable_ = builderForValue.build(); } else { @@ -1246,8 +1146,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.
      * 
@@ -1256,9 +1154,9 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builder */ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sourceTable_ != null - && sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sourceTable_ != null && + sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getSourceTableBuilder().mergeFrom(value); } else { sourceTable_ = value; @@ -1271,8 +1169,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.
      * 
@@ -1290,8 +1186,6 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1304,8 +1198,6 @@ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { return getSourceTableFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1316,14 +1208,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.
      * 
@@ -1331,26 +1220,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
@@ -1359,7 +1243,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
      * 
* * int64 data_size_bytes = 3; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -1367,8 +1250,6 @@ public long getDataSizeBytes() { return dataSizeBytes_; } /** - * - * *
      * Output only. The size of the data in the source table at the time the
      * snapshot was taken. In some cases, this value may be computed
@@ -1377,7 +1258,6 @@ public long getDataSizeBytes() {
      * 
* * int64 data_size_bytes = 3; - * * @param value The dataSizeBytes to set. * @return This builder for chaining. */ @@ -1389,8 +1269,6 @@ public Builder setDataSizeBytes(long value) { return this; } /** - * - * *
      * Output only. The size of the data in the source table at the time the
      * snapshot was taken. In some cases, this value may be computed
@@ -1399,7 +1277,6 @@ public Builder setDataSizeBytes(long value) {
      * 
* * int64 data_size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearDataSizeBytes() { @@ -1411,47 +1288,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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.
      * 
@@ -1472,15 +1336,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1491,8 +1354,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1501,9 +1362,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1516,8 +1377,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1535,8 +1394,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1549,8 +1406,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1561,14 +1416,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.
      * 
@@ -1576,17 +1428,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_; @@ -1594,13 +1443,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * 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,
@@ -1608,15 +1452,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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,
@@ -1624,21 +1465,16 @@ public boolean hasDeleteTime() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * 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,
@@ -1661,8 +1497,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,
@@ -1671,7 +1505,8 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp delete_time = 5;
      */
-    public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDeleteTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (deleteTimeBuilder_ == null) {
         deleteTime_ = builderForValue.build();
       } else {
@@ -1682,8 +1517,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,
@@ -1694,9 +1527,9 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       if (deleteTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && deleteTime_ != null
-            && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          deleteTime_ != null &&
+          deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getDeleteTimeBuilder().mergeFrom(value);
         } else {
           deleteTime_ = value;
@@ -1709,8 +1542,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,
@@ -1730,8 +1561,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,
@@ -1746,8 +1575,6 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() {
       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,
@@ -1760,14 +1587,11 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
       if (deleteTimeBuilder_ != null) {
         return deleteTimeBuilder_.getMessageOrBuilder();
       } else {
-        return deleteTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : deleteTime_;
+        return deleteTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_;
       }
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1777,17 +1601,14 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
      * .google.protobuf.Timestamp delete_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getDeleteTimeFieldBuilder() {
       if (deleteTimeBuilder_ == null) {
-        deleteTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDeleteTime(), getParentForChildren(), isClean());
+        deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDeleteTime(),
+                getParentForChildren(),
+                isClean());
         deleteTime_ = null;
       }
       return deleteTimeBuilder_;
@@ -1795,29 +1616,22 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @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. */ @@ -1828,31 +1642,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1866,14 +1673,11 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1885,20 +1689,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; @@ -1907,21 +1709,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 { @@ -1929,35 +1730,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Output only. Description of the snapshot.
      * 
* * string description = 7; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1967,30 +1761,26 @@ public Builder clearDescription() { 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2000,12 +1790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Snapshot) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Snapshot) private static final com.google.bigtable.admin.v2.Snapshot DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Snapshot(); } @@ -2014,27 +1804,27 @@ public static com.google.bigtable.admin.v2.Snapshot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Snapshot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Snapshot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2049,4 +1839,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Snapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java similarity index 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 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java index 524f33cd2f..4b72609e4e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by SnapshotTable.
  *
@@ -32,50 +15,46 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
  */
-public final class SnapshotTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SnapshotTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
     SnapshotTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SnapshotTableMetadata.newBuilder() to construct.
   private SnapshotTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private SnapshotTableMetadata() {}
+  private SnapshotTableMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
   }
 
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
   /**
-   *
-   *
    * 
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
@@ -110,22 +82,17 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -133,14 +100,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -148,8 +112,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -164,14 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -179,14 +138,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -194,8 +150,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -208,7 +162,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -240,13 +194,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -256,25 +213,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.SnapshotTableMetadata other = - (com.google.bigtable.admin.v2.SnapshotTableMetadata) obj; + com.google.bigtable.admin.v2.SnapshotTableMetadata other = (com.google.bigtable.admin.v2.SnapshotTableMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -305,103 +264,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.SnapshotTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by SnapshotTable.
    *
@@ -413,32 +367,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
       com.google.bigtable.admin.v2.SnapshotTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
-              com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.SnapshotTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -462,9 +417,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -483,11 +438,8 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableMetadata result =
-          new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.SnapshotTableMetadata result = new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -495,15 +447,19 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ =
-            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
+        result.originalRequest_ = originalRequestBuilder_ == null
+            ? originalRequest_
+            : originalRequestBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ =
-            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
+        result.requestTime_ = requestTimeBuilder_ == null
+            ? requestTime_
+            : requestTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null
+            ? finishTime_
+            : finishTimeBuilder_.build();
       }
     }
 
@@ -511,39 +467,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.SnapshotTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.SnapshotTableMetadata.getDefaultInstance()) return this;
       if (other.hasOriginalRequest()) {
         mergeOriginalRequest(other.getOriginalRequest());
       }
@@ -588,31 +542,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -622,52 +578,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.SnapshotTableRequest,
-            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder,
-            com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>
-        originalRequestBuilder_;
+        com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> originalRequestBuilder_;
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -688,8 +630,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequ return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -708,8 +648,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -718,10 +656,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -734,8 +671,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -753,8 +688,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -767,27 +700,21 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ - public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -795,17 +722,14 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, - com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> + com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, - com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -813,47 +737,34 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -874,15 +785,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -893,8 +803,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -903,9 +811,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -918,8 +826,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -937,8 +843,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -951,8 +855,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -963,14 +865,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -978,17 +877,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -996,47 +892,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1057,15 +940,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1076,8 +958,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1086,9 +966,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1101,8 +981,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1120,8 +998,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1134,8 +1010,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1146,14 +1020,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1161,24 +1032,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1188,12 +1056,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.SnapshotTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.SnapshotTableMetadata) private static final com.google.bigtable.admin.v2.SnapshotTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.SnapshotTableMetadata(); } @@ -1202,27 +1070,27 @@ public static com.google.bigtable.admin.v2.SnapshotTableMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnapshotTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1237,4 +1105,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java index 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 fc268bd064..6882981b6a 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]
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableRequest}
  */
-public final class SnapshotTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SnapshotTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableRequest)
     SnapshotTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SnapshotTableRequest.newBuilder() to construct.
   private SnapshotTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SnapshotTableRequest() {
     name_ = "";
     cluster_ = "";
@@ -52,42 +34,35 @@ private SnapshotTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableRequest.class,
-            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -96,33 +71,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,22 +104,16 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CLUSTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ @java.lang.Override @@ -155,33 +122,31 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -190,12 +155,9 @@ public com.google.protobuf.ByteString getClusterBytes() { } public static final int SNAPSHOT_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object snapshotId_ = ""; /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the parent
    * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -204,7 +166,6 @@ public com.google.protobuf.ByteString getClusterBytes() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ @java.lang.Override @@ -213,15 +174,14 @@ public java.lang.String getSnapshotId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotId_ = s; return s; } } /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the parent
    * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -230,15 +190,16 @@ public java.lang.String getSnapshotId() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ @java.lang.Override - public com.google.protobuf.ByteString getSnapshotIdBytes() { + public com.google.protobuf.ByteString + getSnapshotIdBytes() { java.lang.Object ref = snapshotId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotId_ = b; return b; } else { @@ -249,8 +210,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { public static final int TTL_FIELD_NUMBER = 4; private com.google.protobuf.Duration ttl_; /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -259,7 +218,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ @java.lang.Override @@ -267,8 +225,6 @@ public boolean hasTtl() { return ttl_ != null; } /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -277,7 +233,6 @@ public boolean hasTtl() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ @java.lang.Override @@ -285,8 +240,6 @@ public com.google.protobuf.Duration getTtl() { return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; } /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -302,18 +255,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
-   *
-   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -322,29 +271,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -353,7 +302,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -400,7 +349,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, snapshotId_); } if (ttl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTtl()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -413,22 +363,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.SnapshotTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.SnapshotTableRequest other = - (com.google.bigtable.admin.v2.SnapshotTableRequest) obj; + com.google.bigtable.admin.v2.SnapshotTableRequest other = (com.google.bigtable.admin.v2.SnapshotTableRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getCluster().equals(other.getCluster())) return false; - if (!getSnapshotId().equals(other.getSnapshotId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; + if (!getSnapshotId() + .equals(other.getSnapshotId())) return false; if (hasTtl() != other.hasTtl()) return false; if (hasTtl()) { - if (!getTtl().equals(other.getTtl())) return false; + if (!getTtl() + .equals(other.getTtl())) return false; } - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,103 +412,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.SnapshotTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
@@ -567,32 +516,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.SnapshotTableRequest)
       com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.SnapshotTableRequest.class,
-              com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -610,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -631,11 +581,8 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableRequest result =
-          new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.SnapshotTableRequest result = new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -652,7 +599,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
         result.snapshotId_ = snapshotId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.ttl_ = ttlBuilder_ == null ? ttl_ : ttlBuilder_.build();
+        result.ttl_ = ttlBuilder_ == null
+            ? ttl_
+            : ttlBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -663,39 +612,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -703,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -754,43 +701,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                cluster_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                snapshotId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              cluster_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              snapshotId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTtlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -800,29 +743,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -831,25 +769,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -857,43 +792,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -903,25 +827,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -931,24 +849,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object cluster_ = ""; /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -957,25 +871,22 @@ public java.lang.String getCluster() { } } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -983,43 +894,32 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cluster_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCluster() { @@ -1029,25 +929,19 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000002; @@ -1057,8 +951,6 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object snapshotId_ = ""; /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1067,13 +959,13 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ public java.lang.String getSnapshotId() { java.lang.Object ref = snapshotId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotId_ = s; return s; @@ -1082,8 +974,6 @@ public java.lang.String getSnapshotId() { } } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1092,14 +982,15 @@ public java.lang.String getSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ - public com.google.protobuf.ByteString getSnapshotIdBytes() { + public com.google.protobuf.ByteString + getSnapshotIdBytes() { java.lang.Object ref = snapshotId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotId_ = b; return b; } else { @@ -1107,8 +998,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { } } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1117,22 +1006,18 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } snapshotId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1141,7 +1026,6 @@ public Builder setSnapshotId(java.lang.String value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSnapshotId() { @@ -1151,8 +1035,6 @@ public Builder clearSnapshotId() { return this; } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1161,14 +1043,12 @@ public Builder clearSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snapshotId_ = value; bitField0_ |= 0x00000004; @@ -1178,13 +1058,8 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration ttl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - ttlBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_; /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1193,15 +1068,12 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ public boolean hasTtl() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1210,7 +1082,6 @@ public boolean hasTtl() {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ public com.google.protobuf.Duration getTtl() { @@ -1221,8 +1092,6 @@ public com.google.protobuf.Duration getTtl() { } } /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1246,8 +1115,6 @@ public Builder setTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1257,7 +1124,8 @@ public Builder setTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration ttl = 4;
      */
-    public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (ttlBuilder_ == null) {
         ttl_ = builderForValue.build();
       } else {
@@ -1268,8 +1136,6 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1281,9 +1147,9 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && ttl_ != null
-            && ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          ttl_ != null &&
+          ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getTtlBuilder().mergeFrom(value);
         } else {
           ttl_ = value;
@@ -1296,8 +1162,6 @@ public Builder mergeTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1318,8 +1182,6 @@ public Builder clearTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1335,8 +1197,6 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() {
       return getTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1350,12 +1210,11 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
       if (ttlBuilder_ != null) {
         return ttlBuilder_.getMessageOrBuilder();
       } else {
-        return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_;
+        return ttl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : ttl_;
       }
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1366,16 +1225,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * .google.protobuf.Duration ttl = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getTtlFieldBuilder() {
       if (ttlBuilder_ == null) {
-        ttlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(getTtl(), getParentForChildren(), isClean());
+        ttlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTtl(),
+                getParentForChildren(),
+                isClean());
         ttl_ = null;
       }
       return ttlBuilder_;
@@ -1383,20 +1240,18 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1405,21 +1260,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1427,35 +1281,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1465,30 +1312,26 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1498,12 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.SnapshotTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.SnapshotTableRequest) private static final com.google.bigtable.admin.v2.SnapshotTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.SnapshotTableRequest(); } @@ -1512,27 +1355,27 @@ public static com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnapshotTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,4 +1390,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java index 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 9c72345ceb..820977dedf 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,41 +27,39 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Table();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Table_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetClusterStates();
       case 3:
         return internalGetColumnFamilies();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Table.class,
-            com.google.bigtable.admin.v2.Table.Builder.class);
+            com.google.bigtable.admin.v2.Table.class, com.google.bigtable.admin.v2.Table.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible timestamp granularities to use when keeping multiple versions
    * of data in a table.
@@ -87,10 +67,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.bigtable.admin.v2.Table.TimestampGranularity}
    */
-  public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum TimestampGranularity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -100,8 +79,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     TIMESTAMP_GRANULARITY_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -113,8 +90,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -124,8 +99,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     public static final int TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -134,6 +107,7 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE */ public static final int MILLIS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -158,12 +132,9 @@ public static TimestampGranularity valueOf(int value) { */ public static TimestampGranularity forNumber(int value) { switch (value) { - case 0: - return TIMESTAMP_GRANULARITY_UNSPECIFIED; - case 1: - return MILLIS; - default: - return null; + case 0: return TIMESTAMP_GRANULARITY_UNSPECIFIED; + case 1: return MILLIS; + default: return null; } } @@ -171,28 +142,28 @@ public static TimestampGranularity forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TimestampGranularity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TimestampGranularity findValueByNumber(int number) { + return TimestampGranularity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimestampGranularity findValueByNumber(int number) { - return TimestampGranularity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Table.getDescriptor().getEnumTypes().get(0); } @@ -201,7 +172,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TimestampGranularity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -219,18 +191,15 @@ private TimestampGranularity(int value) { } /** - * - * *
    * Defines a view over a table's fields.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.View} */ - public enum View implements com.google.protobuf.ProtocolMessageEnum { + public enum View + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -239,8 +208,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * Only populates `name`.
      * 
@@ -249,8 +216,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ NAME_ONLY(1), /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -259,8 +224,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA_VIEW(2), /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -270,8 +233,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     REPLICATION_VIEW(3),
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -280,8 +241,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_VIEW(5), /** - * - * *
      * Populates all fields.
      * 
@@ -293,8 +252,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -303,8 +260,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Only populates `name`.
      * 
@@ -313,8 +268,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAME_ONLY_VALUE = 1; /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -323,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_VIEW_VALUE = 2; /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -334,8 +285,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REPLICATION_VIEW_VALUE = 3;
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -344,8 +293,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_VIEW_VALUE = 5; /** - * - * *
      * Populates all fields.
      * 
@@ -354,6 +301,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -378,55 +326,52 @@ public static View valueOf(int value) { */ public static View forNumber(int value) { switch (value) { - case 0: - return VIEW_UNSPECIFIED; - case 1: - return NAME_ONLY; - case 2: - return SCHEMA_VIEW; - case 3: - return REPLICATION_VIEW; - case 5: - return ENCRYPTION_VIEW; - case 4: - return FULL; - default: - return null; + case 0: return VIEW_UNSPECIFIED; + case 1: return NAME_ONLY; + case 2: return SCHEMA_VIEW; + case 3: return REPLICATION_VIEW; + case 5: return ENCRYPTION_VIEW; + case 4: return FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + View> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public View findValueByNumber(int number) { + return View.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public View findValueByNumber(int number) { - return View.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Table.getDescriptor().getEnumTypes().get(1); } private static final View[] VALUES = values(); - public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static View valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -443,43 +388,30 @@ private View(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Table.View) } - public interface ClusterStateOrBuilder - extends + public interface ClusterStateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Table.ClusterState) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ int getReplicationStateValue(); /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -488,14 +420,11 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getEncryptionInfoList(); + java.util.List + getEncryptionInfoList(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -504,14 +433,10 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -520,14 +445,10 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getEncryptionInfoCount(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -536,15 +457,11 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getEncryptionInfoOrBuilderList(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -553,31 +470,27 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(int index); + com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( + int index); } /** - * - * *
    * The state of a table's data in a particular cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Table.ClusterState} */ - public static final class ClusterState extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterState extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Table.ClusterState) ClusterStateOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterState.newBuilder() to construct. private ClusterState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClusterState() { replicationState_ = 0; encryptionInfo_ = java.util.Collections.emptyList(); @@ -585,38 +498,34 @@ private ClusterState() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterState(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, - com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } /** - * - * *
      * Table replication states.
      * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.ClusterState.ReplicationState} */ - public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum { + public enum ReplicationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The replication state of the table is unknown in this cluster.
        * 
@@ -625,8 +534,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum */ STATE_NOT_KNOWN(0), /** - * - * *
        * The cluster was recently created, and the table must finish copying
        * over pre-existing data from other clusters before it can begin
@@ -637,8 +544,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       INITIALIZING(1),
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -648,8 +553,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       PLANNED_MAINTENANCE(2),
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -659,8 +562,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       UNPLANNED_MAINTENANCE(3),
       /**
-       *
-       *
        * 
        * The table can serve Data API requests from this cluster. Depending on
        * replication delay, reads may not immediately reflect the state of the
@@ -671,8 +572,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       READY(4),
       /**
-       *
-       *
        * 
        * The table is fully created and ready for use after a restore, and is
        * being optimized for performance. When optimizations are complete, the
@@ -686,8 +585,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
       ;
 
       /**
-       *
-       *
        * 
        * The replication state of the table is unknown in this cluster.
        * 
@@ -696,8 +593,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
        * The cluster was recently created, and the table must finish copying
        * over pre-existing data from other clusters before it can begin
@@ -708,8 +603,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int INITIALIZING_VALUE = 1;
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -719,8 +612,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int PLANNED_MAINTENANCE_VALUE = 2;
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -730,8 +621,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int UNPLANNED_MAINTENANCE_VALUE = 3;
       /**
-       *
-       *
        * 
        * The table can serve Data API requests from this cluster. Depending on
        * replication delay, reads may not immediately reflect the state of the
@@ -742,8 +631,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int READY_VALUE = 4;
       /**
-       *
-       *
        * 
        * The table is fully created and ready for use after a restore, and is
        * being optimized for performance. When optimizations are complete, the
@@ -754,6 +641,7 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int READY_OPTIMIZING_VALUE = 5;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -778,20 +666,13 @@ public static ReplicationState valueOf(int value) {
        */
       public static ReplicationState forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_NOT_KNOWN;
-          case 1:
-            return INITIALIZING;
-          case 2:
-            return PLANNED_MAINTENANCE;
-          case 3:
-            return UNPLANNED_MAINTENANCE;
-          case 4:
-            return READY;
-          case 5:
-            return READY_OPTIMIZING;
-          default:
-            return null;
+          case 0: return STATE_NOT_KNOWN;
+          case 1: return INITIALIZING;
+          case 2: return PLANNED_MAINTENANCE;
+          case 3: return UNPLANNED_MAINTENANCE;
+          case 4: return READY;
+          case 5: return READY_OPTIMIZING;
+          default: return null;
         }
       }
 
@@ -799,31 +680,29 @@ public static ReplicationState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ReplicationState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ReplicationState findValueByNumber(int number) {
+                return ReplicationState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ReplicationState findValueByNumber(int number) {
-                  return ReplicationState.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.Table.ClusterState.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.Table.ClusterState.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ReplicationState[] VALUES = values();
@@ -831,7 +710,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ReplicationState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -851,52 +731,33 @@ private ReplicationState(int value) {
     public static final int REPLICATION_STATE_FIELD_NUMBER = 1;
     private int replicationState_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override - public int getReplicationStateValue() { + @java.lang.Override public int getReplicationStateValue() { return replicationState_; } /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -905,17 +766,13 @@ public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getRepli
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getEncryptionInfoList() { return encryptionInfo_; } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -924,18 +781,14 @@ public java.util.List getEncryption
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getEncryptionInfoOrBuilderList() { return encryptionInfo_; } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -944,17 +797,13 @@ public java.util.List getEncryption
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getEncryptionInfoCount() { return encryptionInfo_.size(); } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -963,17 +812,13 @@ public int getEncryptionInfoCount() {
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) { return encryptionInfo_.get(index); } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -982,9 +827,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index)
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( @@ -993,7 +836,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1005,10 +847,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (replicationState_ - != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (replicationState_ != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN.getNumber()) { output.writeEnum(1, replicationState_); } for (int i = 0; i < encryptionInfo_.size(); i++) { @@ -1023,13 +864,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (replicationState_ - != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, replicationState_); + if (replicationState_ != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, replicationState_); } for (int i = 0; i < encryptionInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, encryptionInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, encryptionInfo_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1039,16 +880,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table.ClusterState)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Table.ClusterState other = - (com.google.bigtable.admin.v2.Table.ClusterState) obj; + com.google.bigtable.admin.v2.Table.ClusterState other = (com.google.bigtable.admin.v2.Table.ClusterState) obj; if (replicationState_ != other.replicationState_) return false; - if (!getEncryptionInfoList().equals(other.getEncryptionInfoList())) return false; + if (!getEncryptionInfoList() + .equals(other.getEncryptionInfoList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1072,93 +913,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Table.ClusterState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1168,41 +1005,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The state of a table's data in a particular cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Table.ClusterState} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Table.ClusterState) com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, - com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } // Construct using com.google.bigtable.admin.v2.Table.ClusterState.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1219,9 +1054,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override @@ -1240,18 +1075,14 @@ public com.google.bigtable.admin.v2.Table.ClusterState build() { @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState buildPartial() { - com.google.bigtable.admin.v2.Table.ClusterState result = - new com.google.bigtable.admin.v2.Table.ClusterState(this); + com.google.bigtable.admin.v2.Table.ClusterState result = new com.google.bigtable.admin.v2.Table.ClusterState(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.Table.ClusterState result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.Table.ClusterState result) { if (encryptionInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { encryptionInfo_ = java.util.Collections.unmodifiableList(encryptionInfo_); @@ -1274,41 +1105,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table.ClusterState resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Table.ClusterState) { - return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState) other); + return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState)other); } else { super.mergeFrom(other); return this; @@ -1316,8 +1144,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) { - if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) return this; if (other.replicationState_ != 0) { setReplicationStateValue(other.getReplicationStateValue()); } @@ -1339,10 +1166,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000002); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1374,32 +1200,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - replicationState_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.bigtable.admin.v2.EncryptionInfo m = - input.readMessage( - com.google.bigtable.admin.v2.EncryptionInfo.parser(), extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + replicationState_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.bigtable.admin.v2.EncryptionInfo m = + input.readMessage( + com.google.bigtable.admin.v2.EncryptionInfo.parser(), + extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1409,38 +1233,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int replicationState_ = 0; /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override - public int getReplicationStateValue() { + @java.lang.Override public int getReplicationStateValue() { return replicationState_; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for replicationState to set. * @return This builder for chaining. */ @@ -1451,44 +1263,28 @@ public Builder setReplicationStateValue(int value) { return this; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState - getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The replicationState to set. * @return This builder for chaining. */ - public Builder setReplicationState( - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { + public Builder setReplicationState(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { if (value == null) { throw new NullPointerException(); } @@ -1498,16 +1294,11 @@ public Builder setReplicationState( return this; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearReplicationState() { @@ -1518,25 +1309,18 @@ public Builder clearReplicationState() { } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - encryptionInfo_ = - new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1545,9 +1329,7 @@ private void ensureEncryptionInfoIsMutable() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getEncryptionInfoList() { if (encryptionInfoBuilder_ == null) { @@ -1557,8 +1339,6 @@ public java.util.List getEncryption } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1567,9 +1347,7 @@ public java.util.List getEncryption
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getEncryptionInfoCount() { if (encryptionInfoBuilder_ == null) { @@ -1579,8 +1357,6 @@ public int getEncryptionInfoCount() { } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1589,9 +1365,7 @@ public int getEncryptionInfoCount() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -1601,8 +1375,6 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1611,9 +1383,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index)
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo value) { @@ -1630,8 +1400,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1640,9 +1408,7 @@ public Builder setEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1656,8 +1422,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1666,9 +1430,7 @@ public Builder setEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -1684,8 +1446,6 @@ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1694,9 +1454,7 @@ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo value) { @@ -1713,8 +1471,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1723,9 +1479,7 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1739,8 +1493,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1749,9 +1501,7 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1765,8 +1515,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1775,15 +1523,14 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllEncryptionInfo( java.lang.Iterable values) { if (encryptionInfoBuilder_ == null) { ensureEncryptionInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, encryptionInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, encryptionInfo_); onChanged(); } else { encryptionInfoBuilder_.addAllMessages(values); @@ -1791,8 +1538,6 @@ public Builder addAllEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1801,9 +1546,7 @@ public Builder addAllEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { if (encryptionInfoBuilder_ == null) { @@ -1816,8 +1559,6 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1826,9 +1567,7 @@ public Builder clearEncryptionInfo() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -1841,8 +1580,6 @@ public Builder removeEncryptionInfo(int index) { return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1851,17 +1588,13 @@ public Builder removeEncryptionInfo(int index) {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder( int index) { return getEncryptionInfoFieldBuilder().getBuilder(index); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1870,21 +1603,16 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index) { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_.get(index); - } else { + return encryptionInfo_.get(index); } else { return encryptionInfoBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1893,12 +1621,10 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoOrBuilderList() { + public java.util.List + getEncryptionInfoOrBuilderList() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilderList(); } else { @@ -1906,8 +1632,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1916,17 +1640,13 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuilder() { - return getEncryptionInfoFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1935,18 +1655,14 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuilder( int index) { - return getEncryptionInfoFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1955,26 +1671,18 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoBuilderList() { + public java.util.List + getEncryptionInfoBuilderList() { return getEncryptionInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + encryptionInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( encryptionInfo_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1983,7 +1691,6 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil } return encryptionInfoBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1996,12 +1703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Table.ClusterState) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Table.ClusterState) private static final com.google.bigtable.admin.v2.Table.ClusterState DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Table.ClusterState(); } @@ -2010,28 +1717,27 @@ public static com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2046,15 +1752,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2062,7 +1766,6 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2071,15 +1774,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2087,15 +1789,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2104,43 +1807,32 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CLUSTER_STATES_FIELD_NUMBER = 2; - private static final class ClusterStatesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - internalGetClusterStates() { + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> clusterStates_; + private com.google.protobuf.MapField + internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterStatesDefaultEntryHolder.defaultEntry); } return clusterStates_; } - public int getClusterStatesCount() { return internalGetClusterStates().getMap().size(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2149,27 +1841,23 @@ public int getClusterStatesCount() {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterStates().getMap().containsKey(key); } - /** Use {@link #getClusterStatesMap()} instead. */ + /** + * Use {@link #getClusterStatesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterStates() { + public java.util.Map getClusterStates() { return getClusterStatesMap(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2178,18 +1866,13 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getClusterStatesMap() { + public java.util.Map getClusterStatesMap() { return internalGetClusterStates().getMap(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2198,25 +1881,20 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2225,16 +1903,12 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); if (!map.containsKey(key)) { @@ -2244,40 +1918,32 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 3; - private static final class ColumnFamiliesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; private com.google.protobuf.MapField - columnFamilies_; - - private com.google.protobuf.MapField - internalGetColumnFamilies() { + internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); } return columnFamilies_; } - public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -2286,22 +1952,20 @@ public int getColumnFamiliesCount() {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public boolean containsColumnFamilies(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsColumnFamilies(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetColumnFamilies().getMap().containsKey(key);
   }
-  /** Use {@link #getColumnFamiliesMap()} instead. */
+  /**
+   * Use {@link #getColumnFamiliesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getColumnFamilies() {
+  public java.util.Map getColumnFamilies() {
     return getColumnFamiliesMap();
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -2310,13 +1974,10 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public java.util.Map
-      getColumnFamiliesMap() {
+  public java.util.Map getColumnFamiliesMap() {
     return internalGetColumnFamilies().getMap();
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -2325,20 +1986,17 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+  public /* nullable */
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -2347,10 +2005,9 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     if (!map.containsKey(key)) {
@@ -2362,8 +2019,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
   public static final int GRANULARITY_FIELD_NUMBER = 4;
   private int granularity_ = 0;
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
    * table. Timestamps not matching the granularity will be rejected.
@@ -2371,19 +2026,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.
@@ -2391,35 +2040,23 @@ 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() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null - ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { + com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; } public static final int RESTORE_INFO_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a backup), this
    * field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -2427,49 +2064,34 @@ public boolean hasRestoreInfo() { return restoreInfo_ != null; } /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a backup), this
    * field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a backup), this
    * field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } public static final int CHANGE_STREAM_CONFIG_FIELD_NUMBER = 8; private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2477,7 +2099,6 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ @java.lang.Override @@ -2485,8 +2106,6 @@ public boolean hasChangeStreamConfig() { return changeStreamConfig_ != null; } /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2494,18 +2113,13 @@ public boolean hasChangeStreamConfig() {
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { - return changeStreamConfig_ == null - ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() - : changeStreamConfig_; + return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; } /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2516,16 +2130,12 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
-    return changeStreamConfig_ == null
-        ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
-        : changeStreamConfig_;
+    return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
   }
 
   public static final int DELETION_PROTECTION_FIELD_NUMBER = 9;
   private boolean deletionProtection_ = false;
   /**
-   *
-   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -2536,7 +2146,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamC
    * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -2545,7 +2154,6 @@ public boolean getDeletionProtection() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2557,17 +2165,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) { @@ -2591,42 +2206,41 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry - entry : internalGetClusterStates().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates__ = - ClusterStatesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, clusterStates__); - } - for (java.util.Map.Entry entry : - internalGetColumnFamilies().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetClusterStates().getMap().entrySet()) { + com.google.protobuf.MapEntry + clusterStates__ = ClusterStatesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, clusterStates__); + } + for (java.util.Map.Entry entry + : internalGetColumnFamilies().getMap().entrySet()) { com.google.protobuf.MapEntry - columnFamilies__ = - ColumnFamiliesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, columnFamilies__); - } - if (granularity_ - != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, granularity_); + columnFamilies__ = ColumnFamiliesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, columnFamilies__); + } + if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, granularity_); } if (restoreInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRestoreInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRestoreInfo()); } if (changeStreamConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getChangeStreamConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getChangeStreamConfig()); } if (deletionProtection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, deletionProtection_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, deletionProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2636,26 +2250,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; - if (!getName().equals(other.getName())) return false; - if (!internalGetClusterStates().equals(other.internalGetClusterStates())) return false; - if (!internalGetColumnFamilies().equals(other.internalGetColumnFamilies())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!internalGetClusterStates().equals( + other.internalGetClusterStates())) return false; + if (!internalGetColumnFamilies().equals( + other.internalGetColumnFamilies())) return false; if (granularity_ != other.granularity_) return false; if (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo().equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo() + .equals(other.getRestoreInfo())) return false; } if (hasChangeStreamConfig() != other.hasChangeStreamConfig()) return false; if (hasChangeStreamConfig()) { - if (!getChangeStreamConfig().equals(other.getChangeStreamConfig())) return false; + if (!getChangeStreamConfig() + .equals(other.getChangeStreamConfig())) return false; } - if (getDeletionProtection() != other.getDeletionProtection()) return false; + if (getDeletionProtection() + != other.getDeletionProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2688,109 +2308,106 @@ public int hashCode() { hash = (53 * hash) + getChangeStreamConfig().hashCode(); } hash = (37 * hash) + DELETION_PROTECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletionProtection()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeletionProtection()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Table parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Table parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Table parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Table parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Table prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A collection of user data indexed by row, column, and timestamp.
    * Each table is served using the resources of its parent cluster.
@@ -2798,56 +2415,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();
@@ -2871,9 +2491,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
@@ -2893,9 +2513,7 @@ public com.google.bigtable.admin.v2.Table build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Table buildPartial() {
       com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2917,14 +2535,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
         result.granularity_ = granularity_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.restoreInfo_ =
-            restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build();
+        result.restoreInfo_ = restoreInfoBuilder_ == null
+            ? restoreInfo_
+            : restoreInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.changeStreamConfig_ =
-            changeStreamConfigBuilder_ == null
-                ? changeStreamConfig_
-                : changeStreamConfigBuilder_.build();
+        result.changeStreamConfig_ = changeStreamConfigBuilder_ == null
+            ? changeStreamConfig_
+            : changeStreamConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.deletionProtection_ = deletionProtection_;
@@ -2935,39 +2553,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Table) {
-        return mergeFrom((com.google.bigtable.admin.v2.Table) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Table)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2981,9 +2598,11 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates());
+      internalGetMutableClusterStates().mergeFrom(
+          other.internalGetClusterStates());
       bitField0_ |= 0x00000002;
-      internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies());
+      internalGetMutableColumnFamilies().mergeFrom(
+          other.internalGetColumnFamilies());
       bitField0_ |= 0x00000004;
       if (other.granularity_ != 0) {
         setGranularityValue(other.getGranularityValue());
@@ -3023,72 +2642,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState>
-                    clusterStates__ =
-                        input.readMessage(
-                            ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableClusterStates()
-                    .getMutableMap()
-                    .put(clusterStates__.getKey(), clusterStates__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.bigtable.admin.v2.ColumnFamily>
-                    columnFamilies__ =
-                        input.readMessage(
-                            ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableColumnFamilies()
-                    .getMutableMap()
-                    .put(columnFamilies__.getKey(), columnFamilies__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                granularity_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 50:
-              {
-                input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            case 66:
-              {
-                input.readMessage(
-                    getChangeStreamConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 66
-            case 72:
-              {
-                deletionProtection_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              clusterStates__ = input.readMessage(
+                  ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableClusterStates().getMutableMap().put(
+                  clusterStates__.getKey(), clusterStates__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              columnFamilies__ = input.readMessage(
+                  ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableColumnFamilies().getMutableMap().put(
+                  columnFamilies__.getKey(), columnFamilies__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              granularity_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 50: {
+              input.readMessage(
+                  getRestoreInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            case 66: {
+              input.readMessage(
+                  getChangeStreamConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 66
+            case 72: {
+              deletionProtection_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 72
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3098,13 +2704,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]*`.
@@ -3112,13 +2715,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; @@ -3127,8 +2730,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]*`.
@@ -3136,14 +2737,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 { @@ -3151,8 +2753,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]*`.
@@ -3160,22 +2760,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3183,7 +2779,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3193,8 +2788,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3202,14 +2795,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3218,11 +2809,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> clusterStates_; + private com.google.protobuf.MapField internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3230,13 +2818,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } return clusterStates_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> + private com.google.protobuf.MapField internalGetMutableClusterStates() { if (clusterStates_ == null) { - clusterStates_ = - com.google.protobuf.MapField.newMapField(ClusterStatesDefaultEntryHolder.defaultEntry); + clusterStates_ = com.google.protobuf.MapField.newMapField( + ClusterStatesDefaultEntryHolder.defaultEntry); } if (!clusterStates_.isMutable()) { clusterStates_ = clusterStates_.copy(); @@ -3245,13 +2831,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { onChanged(); return clusterStates_; } - public int getClusterStatesCount() { return internalGetClusterStates().getMap().size(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3260,27 +2843,23 @@ public int getClusterStatesCount() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterStates().getMap().containsKey(key); } - /** Use {@link #getClusterStatesMap()} instead. */ + /** + * Use {@link #getClusterStatesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterStates() { + public java.util.Map getClusterStates() { return getClusterStatesMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3289,18 +2868,13 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getClusterStatesMap() { + public java.util.Map getClusterStatesMap() { return internalGetClusterStates().getMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3309,25 +2883,20 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3336,16 +2905,12 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); if (!map.containsKey(key)) { @@ -3353,15 +2918,13 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } return map.get(key); } - public Builder clearClusterStates() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableClusterStates().getMutableMap().clear(); + internalGetMutableClusterStates().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3370,18 +2933,18 @@ public Builder clearClusterStates() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusterStates().getMutableMap().remove(key); + public Builder removeClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusterStates().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableClusterStates() { @@ -3389,8 +2952,6 @@ public Builder removeClusterStates(java.lang.String key) { return internalGetMutableClusterStates().getMutableMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3399,25 +2960,19 @@ public Builder removeClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putClusterStates( - java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusterStates().getMutableMap().put(key, value); + java.lang.String key, + com.google.bigtable.admin.v2.Table.ClusterState value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusterStates().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3426,23 +2981,19 @@ public Builder putClusterStates(
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putAllClusterStates( java.util.Map values) { - internalGetMutableClusterStates().getMutableMap().putAll(values); + internalGetMutableClusterStates().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - columnFamilies_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; + private com.google.protobuf.MapField internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3450,13 +3001,11 @@ public Builder putAllClusterStates( } return columnFamilies_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + private com.google.protobuf.MapField internalGetMutableColumnFamilies() { if (columnFamilies_ == null) { - columnFamilies_ = - com.google.protobuf.MapField.newMapField(ColumnFamiliesDefaultEntryHolder.defaultEntry); + columnFamilies_ = com.google.protobuf.MapField.newMapField( + ColumnFamiliesDefaultEntryHolder.defaultEntry); } if (!columnFamilies_.isMutable()) { columnFamilies_ = columnFamilies_.copy(); @@ -3465,13 +3014,10 @@ public Builder putAllClusterStates( onChanged(); return columnFamilies_; } - public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3480,22 +3026,20 @@ public int getColumnFamiliesCount() {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public boolean containsColumnFamilies(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsColumnFamilies(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetColumnFamilies().getMap().containsKey(key);
     }
-    /** Use {@link #getColumnFamiliesMap()} instead. */
+    /**
+     * Use {@link #getColumnFamiliesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getColumnFamilies() {
+    public java.util.Map getColumnFamilies() {
       return getColumnFamiliesMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3504,13 +3048,10 @@ public boolean containsColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public java.util.Map
-        getColumnFamiliesMap() {
+    public java.util.Map getColumnFamiliesMap() {
       return internalGetColumnFamilies().getMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3519,20 +3060,17 @@ public boolean containsColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+    public /* nullable */
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3543,9 +3081,7 @@ public boolean containsColumnFamilies(java.lang.String key) {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
         java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       if (!map.containsKey(key)) {
@@ -3553,15 +3089,13 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
       }
       return map.get(key);
     }
-
     public Builder clearColumnFamilies() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableColumnFamilies().getMutableMap().clear();
+      internalGetMutableColumnFamilies().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3569,14 +3103,16 @@ public Builder clearColumnFamilies() {
      *
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
-    public Builder removeColumnFamilies(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableColumnFamilies().getMutableMap().remove(key);
+    public Builder removeColumnFamilies(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableColumnFamilies().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutableColumnFamilies() {
@@ -3584,8 +3120,6 @@ public Builder removeColumnFamilies(java.lang.String key) {
       return internalGetMutableColumnFamilies().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3594,20 +3128,16 @@ public Builder removeColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     public Builder putColumnFamilies(
-        java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableColumnFamilies().getMutableMap().put(key, value);
+        java.lang.String key,
+        com.google.bigtable.admin.v2.ColumnFamily value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableColumnFamilies().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3617,15 +3147,14 @@ public Builder putColumnFamilies(
      */
     public Builder putAllColumnFamilies(
         java.util.Map values) {
-      internalGetMutableColumnFamilies().getMutableMap().putAll(values);
+      internalGetMutableColumnFamilies().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private int granularity_ = 0;
     /**
-     *
-     *
      * 
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3633,19 +3162,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.
@@ -3653,10 +3176,7 @@ 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. */ @@ -3667,8 +3187,6 @@ public Builder setGranularityValue(int value) { return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3676,23 +3194,15 @@ 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() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null - ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3700,10 +3210,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. */ @@ -3717,8 +3224,6 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3726,10 +3231,7 @@ 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() { @@ -3741,61 +3243,42 @@ public Builder clearGranularity() { private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder> - restoreInfoBuilder_; + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> restoreInfoBuilder_; /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -3811,16 +3294,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) { @@ -3834,22 +3313,18 @@ public Builder setRestoreInfo( return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && restoreInfo_ != null - && restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + restoreInfo_ != null && + restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -3862,16 +3337,12 @@ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRestoreInfo() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3884,16 +3355,12 @@ public Builder clearRestoreInfo() { return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000010; @@ -3901,50 +3368,38 @@ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() return getRestoreInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? + com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder> + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( - getRestoreInfo(), getParentForChildren(), isClean()); + restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( + getRestoreInfo(), + getParentForChildren(), + isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -3952,13 +3407,8 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ChangeStreamConfig, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, - com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> - changeStreamConfigBuilder_; + com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> changeStreamConfigBuilder_; /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3966,15 +3416,12 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ public boolean hasChangeStreamConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3982,21 +3429,16 @@ public boolean hasChangeStreamConfig() {
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { if (changeStreamConfigBuilder_ == null) { - return changeStreamConfig_ == null - ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() - : changeStreamConfig_; + return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; } else { return changeStreamConfigBuilder_.getMessage(); } } /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4019,8 +3461,6 @@ public Builder setChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamCo
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4041,8 +3481,6 @@ public Builder setChangeStreamConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4053,10 +3491,9 @@ public Builder setChangeStreamConfig(
      */
     public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamConfig value) {
       if (changeStreamConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && changeStreamConfig_ != null
-            && changeStreamConfig_
-                != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          changeStreamConfig_ != null &&
+          changeStreamConfig_ != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
           getChangeStreamConfigBuilder().mergeFrom(value);
         } else {
           changeStreamConfig_ = value;
@@ -4069,8 +3506,6 @@ public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStream
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4090,8 +3525,6 @@ public Builder clearChangeStreamConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4106,8 +3539,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
       return getChangeStreamConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4116,19 +3547,15 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      *
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
-    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder
-        getChangeStreamConfigOrBuilder() {
+    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
       if (changeStreamConfigBuilder_ != null) {
         return changeStreamConfigBuilder_.getMessageOrBuilder();
       } else {
-        return changeStreamConfig_ == null
-            ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
-            : changeStreamConfig_;
+        return changeStreamConfig_ == null ?
+            com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4138,26 +3565,21 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.ChangeStreamConfig,
-            com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
-            com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>
+        com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> 
         getChangeStreamConfigFieldBuilder() {
       if (changeStreamConfigBuilder_ == null) {
-        changeStreamConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.ChangeStreamConfig,
-                com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
-                com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
-                getChangeStreamConfig(), getParentForChildren(), isClean());
+        changeStreamConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
+                getChangeStreamConfig(),
+                getParentForChildren(),
+                isClean());
         changeStreamConfig_ = null;
       }
       return changeStreamConfigBuilder_;
     }
 
-    private boolean deletionProtection_;
+    private boolean deletionProtection_ ;
     /**
-     *
-     *
      * 
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4168,7 +3590,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -4176,8 +3597,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:
@@ -4188,7 +3607,6 @@ public boolean getDeletionProtection() {
      * 
* * bool deletion_protection = 9; - * * @param value The deletionProtection to set. * @return This builder for chaining. */ @@ -4200,8 +3618,6 @@ public Builder setDeletionProtection(boolean value) { return this; } /** - * - * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4212,7 +3628,6 @@ public Builder setDeletionProtection(boolean value) {
      * 
* * bool deletion_protection = 9; - * * @return This builder for chaining. */ public Builder clearDeletionProtection() { @@ -4221,9 +3636,9 @@ public Builder clearDeletionProtection() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4233,12 +3648,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(); } @@ -4247,27 +3662,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; @@ -4282,4 +3697,6 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.bigtable.admin.v2.Table getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java index 65cd630589..3c944146ea 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,18 +84,14 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue); +com.google.bigtable.admin.v2.Table.ClusterState defaultValue); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -136,15 +100,12 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow(java.lang.String key); + com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( + java.lang.String key); /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -154,8 +115,6 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    */
   int getColumnFamiliesCount();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -163,13 +122,15 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  boolean containsColumnFamilies(java.lang.String key);
-  /** Use {@link #getColumnFamiliesMap()} instead. */
+  boolean containsColumnFamilies(
+      java.lang.String key);
+  /**
+   * Use {@link #getColumnFamiliesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getColumnFamilies();
+  java.util.Map
+  getColumnFamilies();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -177,10 +138,9 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  java.util.Map getColumnFamiliesMap();
+  java.util.Map
+  getColumnFamiliesMap();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -189,13 +149,11 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   /* nullable */
-  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue);
+com.google.bigtable.admin.v2.ColumnFamily defaultValue);
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -203,11 +161,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.lang.String key);
+  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
    * table. Timestamps not matching the granularity will be rejected.
@@ -215,16 +172,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.
@@ -232,61 +184,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(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -294,13 +227,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ boolean hasChangeStreamConfig(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -308,13 +238,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -326,8 +253,6 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
   com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -338,7 +263,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..044071e8c5 --- /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,309 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/table.proto + +package com.google.bigtable.admin.v2; + +public final class TableProto { + private TableProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Snapshot_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/bigtable/admin/v2/table.proto\022\030" + + "google.bigtable.admin.v2\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032\036google/protobuf/duration.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\027google/rp" + + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" + + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" + + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." + + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" + + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" + + "tention_period\030\001 \001(\0132\031.google.protobuf.D" + + "uration\"\337\t\n\005Table\022\014\n\004name\030\001 \001(\t\022P\n\016clust" + + "er_states\030\002 \003(\01322.google.bigtable.admin." + + "v2.Table.ClusterStatesEntryB\004\342A\001\003\022L\n\017col" + + "umn_families\030\003 \003(\01323.google.bigtable.adm" + + "in.v2.Table.ColumnFamiliesEntry\022O\n\013granu" + + "larity\030\004 \001(\01624.google.bigtable.admin.v2." + + "Table.TimestampGranularityB\004\342A\001\005\022A\n\014rest" + + "ore_info\030\006 \001(\0132%.google.bigtable.admin.v" + + "2.RestoreInfoB\004\342A\001\003\022J\n\024change_stream_con" + + "fig\030\010 \001(\0132,.google.bigtable.admin.v2.Cha" + + "ngeStreamConfig\022\033\n\023deletion_protection\030\t" + + " \001(\010\032\310\002\n\014ClusterState\022^\n\021replication_sta" + + "te\030\001 \001(\0162=.google.bigtable.admin.v2.Tabl" + + "e.ClusterState.ReplicationStateB\004\342A\001\003\022G\n" + + "\017encryption_info\030\002 \003(\0132(.google.bigtable" + + ".admin.v2.EncryptionInfoB\004\342A\001\003\"\216\001\n\020Repli" + + "cationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INIT" + + "IALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025U" + + "NPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020REA" + + "DY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n" + + "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigta" + + "ble.admin.v2.Table.ClusterState:\0028\001\032]\n\023C" + + "olumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value" + + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + + "Family:\0028\001\"I\n\024TimestampGranularity\022%\n!TI" + + "MESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MIL" + + "LIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tN" + + "AME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATI" + + "ON_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004" + + ":_\352A\\\n\"bigtableadmin.googleapis.com/Tabl" + + "e\0226projects/{project}/instances/{instanc" + + "e}/tables/{table}\"A\n\014ColumnFamily\0221\n\007gc_" + + "rule\030\001 \001(\0132 .google.bigtable.admin.v2.Gc" + + "Rule\"\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(" + + "\005H\000\022,\n\007max_age\030\002 \001(\0132\031.google.protobuf.D" + + "urationH\000\022E\n\014intersection\030\003 \001(\0132-.google" + + ".bigtable.admin.v2.GcRule.IntersectionH\000" + + "\0227\n\005union\030\004 \001(\0132&.google.bigtable.admin." + + "v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n\005rul" + + "es\030\001 \003(\0132 .google.bigtable.admin.v2.GcRu" + + "le\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigt" + + "able.admin.v2.GcRuleB\006\n\004rule\"\334\002\n\016Encrypt" + + "ionInfo\022V\n\017encryption_type\030\003 \001(\01627.googl" + + "e.bigtable.admin.v2.EncryptionInfo.Encry" + + "ptionTypeB\004\342A\001\003\0223\n\021encryption_status\030\004 \001" + + "(\0132\022.google.rpc.StatusB\004\342A\001\003\022J\n\017kms_key_" + + "version\030\002 \001(\tB1\342A\001\003\372A*\n(cloudkms.googlea" + + "pis.com/CryptoKeyVersion\"q\n\016EncryptionTy" + + "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031G" + + "OOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_M" + + "ANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004name" + + "\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.bi" + + "gtable.admin.v2.Table\022\027\n\017data_size_bytes" + + "\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0227\n\005state\030\006 \001(\0162" + + "(.google.bigtable.admin.v2.Snapshot.Stat" + + "e\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STATE" + + "_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{\352" + + "Ax\n%bigtableadmin.googleapis.com/Snapsho" + + "t\022Oprojects/{project}/instances/{instanc" + + "e}/clusters/{cluster}/snapshots/{snapsho" + + "t}\"\244\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\033\n\014source_ta" + + "ble\030\002 \001(\tB\005\342A\002\005\002\0225\n\013expire_time\030\003 \001(\0132\032." + + "google.protobuf.TimestampB\004\342A\001\002\0224\n\nstart" + + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022\030\n\nsize_bytes\030\006 \001(\003B\004\342" + + "A\001\003\022;\n\005state\030\007 \001(\0162&.google.bigtable.adm" + + "in.v2.Backup.StateB\004\342A\001\003\022G\n\017encryption_i" + + "nfo\030\t \001(\0132(.google.bigtable.admin.v2.Enc" + + "ryptionInfoB\004\342A\001\003\"7\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n" + + "#bigtableadmin.googleapis.com/Backup\022Kpr" + + "ojects/{project}/instances/{instance}/cl" + + "usters/{cluster}/backups/{backup}\"\250\001\n\nBa" + + "ckupInfo\022\024\n\006backup\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_" + + "time\030\002 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf" + + ".TimestampB\004\342A\001\003\022\032\n\014source_table\030\004 \001(\tB\004" + + "\342A\001\003*D\n\021RestoreSourceType\022#\n\037RESTORE_SOU" + + "RCE_TYPE_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034c" + + "om.google.bigtable.admin.v2B\nTableProtoP" + + "\001Z=google.golang.org/genproto/googleapis" + + "/bigtable/admin/v2;admin\252\002\036Google.Cloud." + + "Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigtabl" + + "e\\Admin\\V2\352\002\"Google::Cloud::Bigtable::Ad" + + "min::V2\352A\246\001\n(cloudkms.googleapis.com/Cry" + + "ptoKeyVersion\022zprojects/{project}/locati" + + "ons/{location}/keyRings/{key_ring}/crypt" + + "oKeys/{crypto_key}/cryptoKeyVersions/{cr" + + "ypto_key_version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, + new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, + new java.lang.String[] { "RetentionPeriod", }); + internal_static_google_bigtable_admin_v2_Table_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_descriptor, + new java.lang.String[] { "Name", "ClusterStates", "ColumnFamilies", "Granularity", "RestoreInfo", "ChangeStreamConfig", "DeletionProtection", }); + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, + new java.lang.String[] { "ReplicationState", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, + new java.lang.String[] { "GcRule", }); + internal_static_google_bigtable_admin_v2_GcRule_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_descriptor, + new java.lang.String[] { "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", }); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, + new java.lang.String[] { "Rules", }); + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, + new java.lang.String[] { "Rules", }); + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", }); + internal_static_google_bigtable_admin_v2_Snapshot_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Snapshot_descriptor, + new java.lang.String[] { "Name", "SourceTable", "DataSizeBytes", "CreateTime", "DeleteTime", "State", "Description", }); + internal_static_google_bigtable_admin_v2_Backup_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Backup_descriptor, + new java.lang.String[] { "Name", "SourceTable", "ExpireTime", "StartTime", "EndTime", "SizeBytes", "State", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, + new java.lang.String[] { "Backup", "StartTime", "EndTime", "SourceTable", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java index 5293a943ad..b89f2a8591 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the operation returned by
  * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
@@ -28,54 +11,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
  */
-public final class UndeleteTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UndeleteTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
     UndeleteTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UndeleteTableMetadata.newBuilder() to construct.
   private UndeleteTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UndeleteTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UndeleteTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -132,14 +106,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -147,8 +118,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -163,14 +132,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -178,14 +144,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -193,8 +156,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
@@ -207,7 +168,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -242,10 +203,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -255,22 +218,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UndeleteTableMetadata other = - (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj; + com.google.bigtable.admin.v2.UndeleteTableMetadata other = (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -299,103 +264,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
@@ -403,32 +363,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
       com.google.bigtable.admin.v2.UndeleteTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
-              com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UndeleteTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -469,11 +430,8 @@ public com.google.bigtable.admin.v2.UndeleteTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableMetadata result =
-          new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UndeleteTableMetadata result = new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -484,10 +442,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -495,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -574,31 +534,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -608,25 +568,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -635,21 +592,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -657,35 +613,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -695,21 +644,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -719,33 +664,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -756,8 +692,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -778,15 +712,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -797,8 +730,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -807,9 +738,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -822,8 +753,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -841,8 +770,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -855,8 +782,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -867,12 +792,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -880,17 +804,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -898,33 +819,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -935,8 +847,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -957,15 +867,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -976,8 +885,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -986,9 +893,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1001,8 +908,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1020,8 +925,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1034,8 +937,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1046,12 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1059,24 +959,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1086,12 +983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableMetadata) private static final com.google.bigtable.admin.v2.UndeleteTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableMetadata(); } @@ -1100,27 +997,27 @@ public static com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeleteTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java index 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 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java index 521033a2ef..7b5a197882 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
  */
-public final class UndeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UndeleteTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableRequest)
     UndeleteTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UndeleteTableRequest.newBuilder() to construct.
   private UndeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UndeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UndeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableRequest.class,
-            com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UndeleteTableRequest other = - (com.google.bigtable.admin.v2.UndeleteTableRequest) obj; + com.google.bigtable.admin.v2.UndeleteTableRequest other = (com.google.bigtable.admin.v2.UndeleteTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,103 +160,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableRequest)
       com.google.bigtable.admin.v2.UndeleteTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UndeleteTableRequest.class,
-              com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UndeleteTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.bigtable.admin.v2.UndeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableRequest result =
-          new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UndeleteTableRequest result = new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableRequest) private static final com.google.bigtable.admin.v2.UndeleteTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableRequest(); } @@ -616,27 +553,27 @@ public static com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeleteTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java new file mode 100644 index 0000000000..fbdabddecd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_table_admin.proto + +package com.google.bigtable.admin.v2; + +public interface UndeleteTableRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the table to be restored.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the table to be restored.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java similarity index 63% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java index f1c1c238bb..d1b7f52540 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java @@ -1,67 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ -public final class UpdateAppProfileMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAppProfileMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) UpdateAppProfileMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAppProfileMetadata.newBuilder() to construct. private UpdateAppProfileMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAppProfileMetadata() {} + private UpdateAppProfileMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAppProfileMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -91,13 +73,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateAppProfileMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateAppProfileMetadata other = - (com.google.bigtable.admin.v2.UpdateAppProfileMetadata) obj; + com.google.bigtable.admin.v2.UpdateAppProfileMetadata other = (com.google.bigtable.admin.v2.UpdateAppProfileMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -116,136 +97,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateAppProfileMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) com.google.bigtable.admin.v2.UpdateAppProfileMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateAppProfileMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -253,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override @@ -274,8 +250,7 @@ public com.google.bigtable.admin.v2.UpdateAppProfileMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileMetadata result = - new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(this); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata result = new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(this); onBuilt(); return result; } @@ -284,39 +259,38 @@ public com.google.bigtable.admin.v2.UpdateAppProfileMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileMetadata)other); } else { super.mergeFrom(other); return this; @@ -324,8 +298,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateAppProfileMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateAppProfileMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateAppProfileMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -352,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -368,9 +340,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -380,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateAppProfileMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateAppProfileMetadata) private static final com.google.bigtable.admin.v2.UpdateAppProfileMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(); } @@ -394,27 +366,27 @@ public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAppProfileMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAppProfileMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -429,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java new file mode 100644 index 0000000000..738fbc3ccd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface UpdateAppProfileMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index 14cf03c8fc..e86d4c0715 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java @@ -1,78 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ -public final class UpdateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) UpdateAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAppProfileRequest.newBuilder() to construct. private UpdateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAppProfileRequest() {} + private UpdateAppProfileRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } public static final int APP_PROFILE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ @java.lang.Override @@ -80,55 +57,38 @@ public boolean hasAppProfile() { return appProfile_ != null; } /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,16 +96,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -153,15 +109,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,14 +124,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_ = false; /** - * - * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -187,7 +137,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (appProfile_ != null) { output.writeMessage(1, getAppProfile()); } @@ -219,13 +169,16 @@ public int getSerializedSize() { size = 0; if (appProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAppProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAppProfile()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -235,23 +188,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateAppProfileRequest other = - (com.google.bigtable.admin.v2.UpdateAppProfileRequest) obj; + com.google.bigtable.admin.v2.UpdateAppProfileRequest other = (com.google.bigtable.admin.v2.UpdateAppProfileRequest) obj; if (hasAppProfile() != other.hasAppProfile()) return false; if (hasAppProfile()) { - if (!getAppProfile().equals(other.getAppProfile())) return false; + if (!getAppProfile() + .equals(other.getAppProfile())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,142 +227,139 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.UpdateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) com.google.bigtable.admin.v2.UpdateAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override @@ -448,11 +400,8 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileRequest result = - new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateAppProfileRequest result = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -460,10 +409,14 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null + ? appProfile_ + : appProfileBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.ignoreWarnings_ = ignoreWarnings_; @@ -474,39 +427,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance()) return this; if (other.hasAppProfile()) { mergeAppProfile(other.getAppProfile()); } @@ -551,31 +502,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,63 +536,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -657,17 +588,14 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder setAppProfile( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); } else { @@ -678,21 +606,17 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && appProfile_ != null - && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + appProfile_ != null && + appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -705,15 +629,11 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAppProfile() { bitField0_ = (bitField0_ & ~0x00000001); @@ -726,15 +646,11 @@ public Builder clearAppProfile() { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000001; @@ -742,48 +658,36 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), getParentForChildren(), isClean()); + appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), + getParentForChildren(), + isClean()); appProfile_ = null; } return appProfileBuilder_; @@ -791,58 +695,42 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -858,17 +746,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -879,21 +765,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -906,15 +789,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -927,15 +807,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -943,63 +820,50 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1007,14 +871,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -1026,14 +887,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1042,9 +900,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateAppProfileRequest) private static final com.google.bigtable.admin.v2.UpdateAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(); } @@ -1068,27 +926,27 @@ public static com.google.bigtable.admin.v2.UpdateAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,4 +961,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java index 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 f82cc2c561..b9b19cd353 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,70 +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; /** - * - * *
  * 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(); } - 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.
@@ -72,9 +52,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 @@ -82,8 +60,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.
@@ -91,9 +67,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 @@ -101,8 +75,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.
@@ -110,8 +82,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() { @@ -121,8 +92,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
@@ -131,9 +100,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 @@ -141,8 +108,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
@@ -151,9 +116,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 @@ -161,8 +124,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
@@ -171,8 +132,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() { @@ -180,7 +140,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (backup_ != null) { output.writeMessage(1, getBackup()); } @@ -209,10 +169,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; @@ -222,21 +184,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; @@ -262,136 +225,132 @@ 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(); @@ -410,9 +369,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 @@ -431,11 +390,8 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() { - com.google.bigtable.admin.v2.UpdateBackupRequest result = - new com.google.bigtable.admin.v2.UpdateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateBackupRequest result = new com.google.bigtable.admin.v2.UpdateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -443,10 +399,14 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -454,39 +414,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -494,8 +453,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()); } @@ -528,25 +486,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,18 +515,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> - backupBuilder_; + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -575,17 +528,13 @@ public Builder mergeFrom(
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -593,9 +542,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() { @@ -606,8 +553,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.
@@ -615,8 +560,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) { @@ -632,8 +576,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.
@@ -641,10 +583,10 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -655,8 +597,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.
@@ -664,14 +604,13 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && backup_ != null - && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + backup_ != null && + backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -684,8 +623,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.
@@ -693,8 +630,7 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -707,8 +643,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.
@@ -716,8 +650,7 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -725,8 +658,6 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -734,19 +665,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.
@@ -754,21 +683,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_; @@ -776,13 +701,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
@@ -791,17 +711,13 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -810,23 +726,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
@@ -835,8 +745,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) { @@ -852,8 +761,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
@@ -862,10 +769,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -876,8 +783,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
@@ -886,14 +791,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -906,8 +810,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
@@ -916,8 +818,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -930,8 +831,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
@@ -940,8 +839,7 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -949,8 +847,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -959,21 +855,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
@@ -982,28 +874,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); } @@ -1013,12 +901,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(); } @@ -1027,27 +915,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; @@ -1062,4 +950,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 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java index 80aa490b1d..39b078378f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ -public final class UpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateClusterMetadata) UpdateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterMetadata.newBuilder() to construct. private UpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateClusterMetadata() {} + private UpdateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, - com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster originalRequest_; /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
@@ -105,22 +77,17 @@ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -128,14 +95,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -143,8 +107,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -159,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -174,14 +133,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -189,8 +145,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -203,7 +157,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -235,13 +189,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateClusterMetadata other = - (com.google.bigtable.admin.v2.UpdateClusterMetadata) obj; + com.google.bigtable.admin.v2.UpdateClusterMetadata other = (com.google.bigtable.admin.v2.UpdateClusterMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -300,135 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateClusterMetadata) com.google.bigtable.admin.v2.UpdateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, - com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateClusterMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override @@ -473,11 +428,8 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateClusterMetadata result = - new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateClusterMetadata result = new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,15 +437,19 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } } @@ -501,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -541,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateClusterMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -578,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,52 +568,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Cluster originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -678,8 +620,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -698,8 +638,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -708,9 +646,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -723,8 +661,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -742,8 +678,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -756,8 +690,6 @@ public com.google.bigtable.admin.v2.Cluster.Builder getOriginalRequestBuilder() return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -768,14 +700,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -783,17 +712,14 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder * .google.bigtable.admin.v2.Cluster original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -801,47 +727,34 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -862,15 +775,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -881,8 +793,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -891,9 +801,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -906,8 +816,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -925,8 +833,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -939,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -951,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -966,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -984,47 +882,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1045,15 +930,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1064,8 +948,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1074,9 +956,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1089,8 +971,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1108,8 +988,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1122,8 +1000,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1134,14 +1010,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1149,24 +1022,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1176,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateClusterMetadata) private static final com.google.bigtable.admin.v2.UpdateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateClusterMetadata(); } @@ -1190,27 +1060,27 @@ public static com.google.bigtable.admin.v2.UpdateClusterMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1225,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java index 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 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java index 7d6ee16cfd..c253d3060d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ -public final class UpdateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateInstanceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) UpdateInstanceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateInstanceMetadata.newBuilder() to construct. private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateInstanceMetadata() {} + private UpdateInstanceMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, - com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
@@ -104,24 +76,18 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequ * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -129,14 +95,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -144,8 +107,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -160,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -175,14 +133,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -190,8 +145,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -204,7 +157,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -236,13 +189,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateInstanceMetadata other = - (com.google.bigtable.admin.v2.UpdateInstanceMetadata) obj; + com.google.bigtable.admin.v2.UpdateInstanceMetadata other = (com.google.bigtable.admin.v2.UpdateInstanceMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,135 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) com.google.bigtable.admin.v2.UpdateInstanceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, - com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateInstanceMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -453,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override @@ -474,11 +428,8 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateInstanceMetadata result = - new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateInstanceMetadata result = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -486,15 +437,19 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } } @@ -502,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata)other); } else { super.mergeFrom(other); return this; @@ -542,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateInstanceMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateInstanceMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateInstanceMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -579,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,60 +568,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder setOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -680,8 +620,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -700,21 +638,17 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder mergeOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -727,8 +661,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -746,42 +678,33 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder - getOriginalRequestBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder getOriginalRequestBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -789,17 +712,14 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -807,47 +727,34 @@ public Builder clearOriginalRequest() { private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -868,15 +775,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -887,8 +793,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -897,9 +801,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -912,8 +816,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -931,8 +833,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -945,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -957,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -972,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -990,47 +882,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1051,15 +930,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1070,8 +948,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1080,9 +956,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1095,8 +971,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1114,8 +988,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1128,8 +1000,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1140,14 +1010,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1155,24 +1022,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateInstanceMetadata) private static final com.google.bigtable.admin.v2.UpdateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(); } @@ -1196,27 +1060,27 @@ public static com.google.bigtable.admin.v2.UpdateInstanceMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java index 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 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java index 6afaf1fb24..a2d46208c9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Metadata type for the operation returned by
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -28,54 +11,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
  */
-public final class UpdateTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableMetadata)
     UpdateTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTableMetadata.newBuilder() to construct.
   private UpdateTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableMetadata.class,
-            com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -132,14 +106,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -147,8 +118,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -163,14 +132,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -178,14 +144,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -193,8 +156,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
@@ -207,7 +168,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -242,10 +203,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -255,22 +218,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateTableMetadata other = - (com.google.bigtable.admin.v2.UpdateTableMetadata) obj; + com.google.bigtable.admin.v2.UpdateTableMetadata other = (com.google.bigtable.admin.v2.UpdateTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -298,104 +263,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -403,32 +363,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateTableMetadata)
       com.google.bigtable.admin.v2.UpdateTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateTableMetadata.class,
-              com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -469,11 +430,8 @@ public com.google.bigtable.admin.v2.UpdateTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableMetadata result =
-          new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateTableMetadata result = new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -484,10 +442,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -495,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.UpdateTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -574,31 +534,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -608,25 +568,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -635,21 +592,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -657,35 +613,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -695,21 +644,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -719,33 +664,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -756,8 +692,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -778,15 +712,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -797,8 +730,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -807,9 +738,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -822,8 +753,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -841,8 +770,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -855,8 +782,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -867,12 +792,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -880,17 +804,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -898,33 +819,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -935,8 +847,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -957,15 +867,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -976,8 +885,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -986,9 +893,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1001,8 +908,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1020,8 +925,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1034,8 +937,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1046,12 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1059,24 +959,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1086,12 +983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateTableMetadata) private static final com.google.bigtable.admin.v2.UpdateTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateTableMetadata(); } @@ -1100,27 +997,27 @@ public static com.google.bigtable.admin.v2.UpdateTableMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java index 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 169a72bf0b..6364cde752 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -28,52 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableRequest}
  */
-public final class UpdateTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableRequest)
     UpdateTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTableRequest.newBuilder() to construct.
   private UpdateTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTableRequest() {}
+  private UpdateTableRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableRequest.class,
-            com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableRequest.class, com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
   }
 
   public static final int TABLE_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.Table table_;
   /**
-   *
-   *
    * 
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -81,16 +59,12 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -98,15 +72,12 @@ public com.google.bigtable.admin.v2.Table getTable() { return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { @@ -116,8 +87,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -133,9 +102,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -143,8 +110,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -160,9 +125,7 @@ public boolean hasUpdateMask() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -170,8 +133,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -187,8 +148,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,7 +156,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (table_ != null) { output.writeMessage(1, getTable()); } @@ -225,10 +185,12 @@ public int getSerializedSize() { size = 0; if (table_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTable()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,21 +200,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateTableRequest other = - (com.google.bigtable.admin.v2.UpdateTableRequest) obj; + com.google.bigtable.admin.v2.UpdateTableRequest other = (com.google.bigtable.admin.v2.UpdateTableRequest) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -278,104 +241,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -383,32 +341,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateTableRequest)
       com.google.bigtable.admin.v2.UpdateTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateTableRequest.class,
-              com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.UpdateTableRequest.class, com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +386,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -448,11 +407,8 @@ public com.google.bigtable.admin.v2.UpdateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableRequest result =
-          new com.google.bigtable.admin.v2.UpdateTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateTableRequest result = new com.google.bigtable.admin.v2.UpdateTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -460,10 +416,14 @@ public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null
+            ? table_
+            : tableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -471,39 +431,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()) return this;
       if (other.hasTable()) {
         mergeTable(other.getTable());
       }
@@ -545,25 +503,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -573,42 +532,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.Table table_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.Table,
-            com.google.bigtable.admin.v2.Table.Builder,
-            com.google.bigtable.admin.v2.TableOrBuilder>
-        tableBuilder_;
+        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_;
     /**
-     *
-     *
      * 
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -619,15 +566,12 @@ public com.google.bigtable.admin.v2.Table getTable() { } } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -643,17 +587,15 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { @@ -664,21 +606,18 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && table_ != null - && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + table_ != null && + table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -691,15 +630,12 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000001); @@ -712,15 +648,12 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000001; @@ -728,46 +661,38 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; @@ -775,13 +700,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -797,17 +717,13 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -823,23 +739,17 @@ public boolean hasUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -855,8 +765,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -872,8 +781,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -889,10 +796,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -903,8 +810,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -920,14 +825,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -940,8 +844,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -957,8 +859,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -971,8 +872,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -988,8 +887,7 @@ public Builder clearUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -997,8 +895,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1014,21 +910,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1044,28 +936,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateTableRequest) private static final com.google.bigtable.admin.v2.UpdateTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateTableRequest(); } @@ -1089,27 +977,27 @@ public static com.google.bigtable.admin.v2.UpdateTableRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java index 5a15314207..a8ea344413 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java @@ -1,72 +1,43 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; -public interface UpdateTableRequestOrBuilder - extends +public interface UpdateTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.bigtable.admin.v2.Table getTable(); /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -82,15 +53,11 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -106,15 +73,11 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -130,8 +93,7 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java new file mode 100644 index 0000000000..cd9c3735ce --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -0,0 +1,578 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public final class BigtableProto { + private BigtableProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n!google/bigtable/v2/bigtable.proto\022\022goo" + + "gle.bigtable.v2\032\034google/api/annotations." + + "proto\032\027google/api/client.proto\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\032\030google/api/routing.proto\032\035go" + + "ogle/bigtable/v2/data.proto\032&google/bigt" + + "able/v2/request_stats.proto\032\036google/prot" + + "obuf/duration.proto\032\037google/protobuf/tim" + + "estamp.proto\032\036google/protobuf/wrappers.p" + + "roto\032\027google/rpc/status.proto\"\243\003\n\017ReadRo" + + "wsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" + + "p_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.googl" + + "e.bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.g" + + "oogle.bigtable.v2.RowFilter\022\022\n\nrows_limi" + + "t\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.go" + + "ogle.bigtable.v2.ReadRowsRequest.Request" + + "StatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSt" + + "atsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIE" + + "D\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_S" + + "TATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chun" + + "ks\030\001 \003(\0132..google.bigtable.v2.ReadRowsRe" + + "sponse.CellChunk\022\034\n\024last_scanned_row_key" + + "\030\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.b" + + "igtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n" + + "\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.go" + + "ogle.protobuf.StringValue\022.\n\tqualifier\030\003" + + " \001(\0132\033.google.protobuf.BytesValue\022\030\n\020tim" + + "estamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005v" + + "alue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_" + + "row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow" + + "_status\"o\n\024SampleRowKeysRequest\022?\n\ntable" + + "_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goog" + + "leapis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t" + + "\">\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001" + + "(\014\022\024\n\014offset_bytes\030\002 \001(\003\"\271\001\n\020MutateRowRe" + + "quest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigt" + + "ableadmin.googleapis.com/Table\022\026\n\016app_pr" + + "ofile_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\0225\n" + + "\tmutations\030\003 \003(\0132\034.google.bigtable.v2.Mu" + + "tationB\004\342A\001\002\"\023\n\021MutateRowResponse\"\201\002\n\021Mu" + + "tateRowsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + + "\022\026\n\016app_profile_id\030\003 \001(\t\022B\n\007entries\030\002 \003(" + + "\0132+.google.bigtable.v2.MutateRowsRequest" + + ".EntryB\004\342A\001\002\032O\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0225" + + "\n\tmutations\030\002 \003(\0132\034.google.bigtable.v2.M" + + "utationB\004\342A\001\002\"\344\001\n\022MutateRowsResponse\022=\n\007" + + "entries\030\001 \003(\0132,.google.bigtable.v2.Mutat" + + "eRowsResponse.Entry\022?\n\017rate_limit_info\030\003" + + " \001(\0132!.google.bigtable.v2.RateLimitInfoH" + + "\000\210\001\001\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002" + + " \001(\0132\022.google.rpc.StatusB\022\n\020_rate_limit_" + + "info\"J\n\rRateLimitInfo\022)\n\006period\030\001 \001(\0132\031." + + "google.protobuf.Duration\022\016\n\006factor\030\002 \001(\001" + + "\"\260\002\n\030CheckAndMutateRowRequest\022?\n\ntable_n" + + "ame\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.google" + + "apis.com/Table\022\026\n\016app_profile_id\030\007 \001(\t\022\025" + + "\n\007row_key\030\002 \001(\014B\004\342A\001\002\0227\n\020predicate_filte" + + "r\030\006 \001(\0132\035.google.bigtable.v2.RowFilter\0224" + + "\n\016true_mutations\030\004 \003(\0132\034.google.bigtable" + + ".v2.Mutation\0225\n\017false_mutations\030\005 \003(\0132\034." + + "google.bigtable.v2.Mutation\"6\n\031CheckAndM" + + "utateRowResponse\022\031\n\021predicate_matched\030\001 " + + "\001(\010\"j\n\022PingAndWarmRequest\022<\n\004name\030\001 \001(\tB" + + ".\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/I" + + "nstance\022\026\n\016app_profile_id\030\002 \001(\t\"\025\n\023PingA" + + "ndWarmResponse\"\311\001\n\031ReadModifyWriteRowReq" + + "uest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigta" + + "bleadmin.googleapis.com/Table\022\026\n\016app_pro" + + "file_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\022<\n\005" + + "rules\030\003 \003(\0132\'.google.bigtable.v2.ReadMod" + + "ifyWriteRuleB\004\342A\001\002\"B\n\032ReadModifyWriteRow" + + "Response\022$\n\003row\030\001 \001(\0132\027.google.bigtable." + + "v2.Row\"\207\001\n,GenerateInitialChangeStreamPa" + + "rtitionsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + + "\022\026\n\016app_profile_id\030\002 \001(\t\"g\n-GenerateInit" + + "ialChangeStreamPartitionsResponse\0226\n\tpar" + + "tition\030\001 \001(\0132#.google.bigtable.v2.Stream" + + "Partition\"\234\003\n\027ReadChangeStreamRequest\022?\n" + + "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\022\026\n\016app_profile_id" + + "\030\002 \001(\t\0226\n\tpartition\030\003 \001(\0132#.google.bigta" + + "ble.v2.StreamPartition\0220\n\nstart_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampH\000\022K\n\023cont" + + "inuation_tokens\030\006 \001(\0132,.google.bigtable." + + "v2.StreamContinuationTokensH\000\022,\n\010end_tim" + + "e\030\005 \001(\0132\032.google.protobuf.Timestamp\0225\n\022h" + + "eartbeat_duration\030\007 \001(\0132\031.google.protobu" + + "f.DurationB\014\n\nstart_from\"\251\n\n\030ReadChangeS" + + "treamResponse\022N\n\013data_change\030\001 \001(\01327.goo" + + "gle.bigtable.v2.ReadChangeStreamResponse" + + ".DataChangeH\000\022K\n\theartbeat\030\002 \001(\01326.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.H" + + "eartbeatH\000\022P\n\014close_stream\030\003 \001(\01328.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.C" + + "loseStreamH\000\032\364\001\n\rMutationChunk\022X\n\nchunk_" + + "info\030\001 \001(\0132D.google.bigtable.v2.ReadChan" + + "geStreamResponse.MutationChunk.ChunkInfo" + + "\022.\n\010mutation\030\002 \001(\0132\034.google.bigtable.v2." + + "Mutation\032Y\n\tChunkInfo\022\032\n\022chunked_value_s" + + "ize\030\001 \001(\005\022\034\n\024chunked_value_offset\030\002 \001(\005\022" + + "\022\n\nlast_chunk\030\003 \001(\010\032\306\003\n\nDataChange\022J\n\004ty" + + "pe\030\001 \001(\0162<.google.bigtable.v2.ReadChange" + + "StreamResponse.DataChange.Type\022\031\n\021source" + + "_cluster_id\030\002 \001(\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020co" + + "mmit_timestamp\030\004 \001(\0132\032.google.protobuf.T" + + "imestamp\022\022\n\ntiebreaker\030\005 \001(\005\022J\n\006chunks\030\006" + + " \003(\0132:.google.bigtable.v2.ReadChangeStre" + + "amResponse.MutationChunk\022\014\n\004done\030\010 \001(\010\022\r" + + "\n\005token\030\t \001(\t\022;\n\027estimated_low_watermark" + + "\030\n \001(\0132\032.google.protobuf.Timestamp\"P\n\004Ty" + + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GA" + + "RBAGE_COLLECTION\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n" + + "\tHeartbeat\022G\n\022continuation_token\030\001 \001(\0132+" + + ".google.bigtable.v2.StreamContinuationTo" + + "ken\022;\n\027estimated_low_watermark\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\032\270\001\n\013CloseStream" + + "\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Status\022H\n\023" + + "continuation_tokens\030\002 \003(\0132+.google.bigta" + + "ble.v2.StreamContinuationToken\022;\n\016new_pa" + + "rtitions\030\003 \003(\0132#.google.bigtable.v2.Stre" + + "amPartitionB\017\n\rstream_record2\327\030\n\010Bigtabl" + + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + + "RowsRequest\032$.google.bigtable.v2.ReadRow" + + "sResponse\"\301\001\332A\ntable_name\332A\031table_name,a" + + "pp_profile_id\202\323\344\223\002>\"9/v2/{table_name=pro" + + "jects/*/instances/*/tables/*}:readRows:\001" + + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + + "ble.v2.SampleRowKeysRequest\032).google.big" + + "table.v2.SampleRowKeysResponse\"\303\001\332A\ntabl" + + "e_name\332A\031table_name,app_profile_id\202\323\344\223\002@" + + "\022>/v2/{table_name=projects/*/instances/*" + + "/tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_" + + "name\022,{table_name=projects/*/instances/*" + + "/tables/*}\022\020\n\016app_profile_id0\001\022\301\002\n\tMutat" + + "eRow\022$.google.bigtable.v2.MutateRowReque" + + "st\032%.google.bigtable.v2.MutateRowRespons" + + "e\"\346\001\332A\034table_name,row_key,mutations\332A+ta" + + "ble_name,row_key,mutations,app_profile_i" + + "d\202\323\344\223\002?\":/v2/{table_name=projects/*/inst" + + "ances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\n" + + "table_name\022,{table_name=projects/*/insta" + + "nces/*/tables/*}\022\020\n\016app_profile_id\022\263\002\n\nM" + + "utateRows\022%.google.bigtable.v2.MutateRow" + + "sRequest\032&.google.bigtable.v2.MutateRows" + + "Response\"\323\001\332A\022table_name,entries\332A!table" + + "_name,entries,app_profile_id\202\323\344\223\002@\";/v2/" + + "{table_name=projects/*/instances/*/table" + + "s/*}:mutateRows:\001*\212\323\344\223\002N\022:\n\ntable_name\022," + + "{table_name=projects/*/instances/*/table" + + "s/*}\022\020\n\016app_profile_id0\001\022\255\003\n\021CheckAndMut" + + "ateRow\022,.google.bigtable.v2.CheckAndMuta" + + "teRowRequest\032-.google.bigtable.v2.CheckA" + + "ndMutateRowResponse\"\272\002\332ABtable_name,row_" + + "key,predicate_filter,true_mutations,fals" + + "e_mutations\332AQtable_name,row_key,predica" + + "te_filter,true_mutations,false_mutations" + + ",app_profile_id\202\323\344\223\002G\"B/v2/{table_name=p" + + "rojects/*/instances/*/tables/*}:checkAnd" + + "MutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table" + + "_name=projects/*/instances/*/tables/*}\022\020" + + "\n\016app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + + "e.bigtable.v2.PingAndWarmResponse\"\215\001\332A\004n" + + "ame\332A\023name,app_profile_id\202\323\344\223\002+\"&/v2/{na" + + "me=projects/*/instances/*}:ping:\001*\212\323\344\223\0029" + + "\022%\n\004name\022\035{name=projects/*/instances/*}\022" + + "\020\n\016app_profile_id\022\335\002\n\022ReadModifyWriteRow" + + "\022-.google.bigtable.v2.ReadModifyWriteRow" + + "Request\032..google.bigtable.v2.ReadModifyW" + + "riteRowResponse\"\347\001\332A\030table_name,row_key," + + "rules\332A\'table_name,row_key,rules,app_pro" + + "file_id\202\323\344\223\002H\"C/v2/{table_name=projects/" + + "*/instances/*/tables/*}:readModifyWriteR" + + "ow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=p" + + "rojects/*/instances/*/tables/*}\022\020\n\016app_p" + + "rofile_id\022\273\002\n%GenerateInitialChangeStrea" + + "mPartitions\022@.google.bigtable.v2.Generat" + + "eInitialChangeStreamPartitionsRequest\032A." + + "google.bigtable.v2.GenerateInitialChange" + + "StreamPartitionsResponse\"\212\001\332A\ntable_name" + + "\332A\031table_name,app_profile_id\202\323\344\223\002[\"V/v2/" + + "{table_name=projects/*/instances/*/table" + + "s/*}:generateInitialChangeStreamPartitio" + + "ns:\001*0\001\022\346\001\n\020ReadChangeStream\022+.google.bi" + + "gtable.v2.ReadChangeStreamRequest\032,.goog" + + "le.bigtable.v2.ReadChangeStreamResponse\"" + + "u\332A\ntable_name\332A\031table_name,app_profile_" + + "id\202\323\344\223\002F\"A/v2/{table_name=projects/*/ins" + + "tances/*/tables/*}:readChangeStream:\001*0\001" + + "\032\333\002\312A\027bigtable.googleapis.com\322A\275\002https:/" + + "/www.googleapis.com/auth/bigtable.data,h" + + "ttps://www.googleapis.com/auth/bigtable." + + "data.readonly,https://www.googleapis.com" + + "/auth/cloud-bigtable.data,https://www.go" + + "ogleapis.com/auth/cloud-bigtable.data.re" + + "adonly,https://www.googleapis.com/auth/c" + + "loud-platform,https://www.googleapis.com" + + "/auth/cloud-platform.read-onlyB\353\002\n\026com.g" + + "oogle.bigtable.v2B\rBigtableProtoP\001Z:goog" + + "le.golang.org/genproto/googleapis/bigtab" + + "le/v2;bigtable\252\002\030Google.Cloud.Bigtable.V" + + "2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::C" + + "loud::Bigtable::V2\352AP\n%bigtableadmin.goo" + + "gleapis.com/Instance\022\'projects/{project}" + + "/instances/{instance}\352A\\\n\"bigtableadmin." + + "googleapis.com/Table\0226projects/{project}" + + "/instances/{instance}/tables/{table}b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.api.RoutingProto.getDescriptor(), + com.google.bigtable.v2.DataProto.getDescriptor(), + com.google.bigtable.v2.RequestStatsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Rows", "Filter", "RowsLimit", "RequestStatsView", "Reversed", }); + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, + new java.lang.String[] { "Chunks", "LastScannedRowKey", "RequestStats", }); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, + new java.lang.String[] { "RowKey", "FamilyName", "Qualifier", "TimestampMicros", "Labels", "Value", "ValueSize", "ResetRow", "CommitRow", "RowStatus", }); + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", }); + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, + new java.lang.String[] { "RowKey", "OffsetBytes", }); + internal_static_google_bigtable_v2_MutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Mutations", }); + internal_static_google_bigtable_v2_MutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Entries", }); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, + new java.lang.String[] { "RowKey", "Mutations", }); + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, + new java.lang.String[] { "Entries", "RateLimitInfo", "RateLimitInfo", }); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, + new java.lang.String[] { "Index", "Status", }); + internal_static_google_bigtable_v2_RateLimitInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RateLimitInfo_descriptor, + new java.lang.String[] { "Period", "Factor", }); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "PredicateFilter", "TrueMutations", "FalseMutations", }); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, + new java.lang.String[] { "PredicateMatched", }); + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, + new java.lang.String[] { "Name", "AppProfileId", }); + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Rules", }); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, + new java.lang.String[] { "Row", }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, + new java.lang.String[] { "Partition", }); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Partition", "StartTime", "ContinuationTokens", "EndTime", "HeartbeatDuration", "StartFrom", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, + new java.lang.String[] { "DataChange", "Heartbeat", "CloseStream", "StreamRecord", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, + new java.lang.String[] { "ChunkInfo", "Mutation", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, + new java.lang.String[] { "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, + new java.lang.String[] { "Type", "SourceClusterId", "RowKey", "CommitTimestamp", "Tiebreaker", "Chunks", "Done", "Token", "EstimatedLowWatermark", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, + new java.lang.String[] { "ContinuationToken", "EstimatedLowWatermark", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, + new java.lang.String[] { "Status", "ContinuationTokens", "NewPartitions", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.api.RoutingProto.routing); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.RoutingProto.getDescriptor(); + com.google.bigtable.v2.DataProto.getDescriptor(); + com.google.bigtable.v2.RequestStatsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java similarity index 72% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java index 3ed0a5d5f6..a59a55e5f7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java @@ -1,62 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column/timestamp of a table.
  * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ -public final class Cell extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cell extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Cell) CellOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cell.newBuilder() to construct. private Cell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cell() { value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cell(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } @@ -64,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long timestampMicros_ = 0L; /** - * - * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -76,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -87,8 +68,6 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -96,7 +75,6 @@ public long getTimestampMicros() {
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -105,47 +83,38 @@ public com.google.protobuf.ByteString getValue() { } public static final int LABELS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { return labels_; } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -153,23 +122,20 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (timestampMicros_ != 0L) { output.writeInt64(1, timestampMicros_); } @@ -201,10 +168,12 @@ public int getSerializedSize() { size = 0; if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, timestampMicros_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } { int dataSize = 0; @@ -222,16 +191,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Cell)) { return super.equals(obj); } com.google.bigtable.v2.Cell other = (com.google.bigtable.v2.Cell) obj; - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getValue().equals(other.getValue())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,7 +216,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); if (getLabelsCount() > 0) { @@ -256,145 +229,146 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Cell parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Cell parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Cell parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Cell parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Cell parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Cell parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Cell parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Cell parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Cell parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Cell parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Cell parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Cell parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Cell prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column/timestamp of a table.
    * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Cell) com.google.bigtable.v2.CellOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } // Construct using com.google.bigtable.v2.Cell.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestampMicros_ = 0L; value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @@ -415,9 +389,7 @@ public com.google.bigtable.v2.Cell build() { @java.lang.Override public com.google.bigtable.v2.Cell buildPartial() { com.google.bigtable.v2.Cell result = new com.google.bigtable.v2.Cell(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -440,39 +412,38 @@ private void buildPartial0(com.google.bigtable.v2.Cell result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Cell) { - return mergeFrom((com.google.bigtable.v2.Cell) other); + return mergeFrom((com.google.bigtable.v2.Cell)other); } else { super.mergeFrom(other); return this; @@ -523,32 +494,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - value_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLabelsIsMutable(); - labels_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + value_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLabelsIsMutable(); + labels_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,13 +525,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long timestampMicros_; + private long timestampMicros_ ; /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -575,7 +539,6 @@ public Builder mergeFrom(
      * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -583,8 +546,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -595,7 +556,6 @@ public long getTimestampMicros() {
      * 
* * int64 timestamp_micros = 1; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -607,8 +567,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -619,7 +577,6 @@ public Builder setTimestampMicros(long value) {
      * 
* * int64 timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -631,8 +588,6 @@ public Builder clearTimestampMicros() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -640,7 +595,6 @@ public Builder clearTimestampMicros() {
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -648,8 +602,6 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -657,22 +609,17 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -680,7 +627,6 @@ public Builder setValue(com.google.protobuf.ByteString value) {
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -692,7 +638,6 @@ public Builder clearValue() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -700,43 +645,35 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { labels_.makeImmutable(); return labels_; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -744,37 +681,31 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index to set the value at. * @param value The labels to set. * @return This builder for chaining. */ - public Builder setLabels(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLabels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000004; @@ -782,21 +713,17 @@ public Builder setLabels(int index, java.lang.String value) { return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param value The labels to add. * @return This builder for chaining. */ - public Builder addLabels(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000004; @@ -804,58 +731,50 @@ public Builder addLabels(java.lang.String value) { return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param values The labels to add. * @return This builder for chaining. */ - public Builder addAllLabels(java.lang.Iterable values) { + public Builder addAllLabels( + java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param value The bytes of the labels to add. * @return This builder for chaining. */ - public Builder addLabelsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -863,9 +782,9 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,12 +794,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Cell) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Cell) private static final com.google.bigtable.v2.Cell DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Cell(); } @@ -889,27 +808,27 @@ public static com.google.bigtable.v2.Cell getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cell parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cell parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,4 +843,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Cell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java index 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 d8aa4723ee..919df20bfe 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowRequest} */ -public final class CheckAndMutateRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckAndMutateRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowRequest) CheckAndMutateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckAndMutateRowRequest.newBuilder() to construct. private CheckAndMutateRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckAndMutateRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -47,42 +29,35 @@ private CheckAndMutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, - com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -91,33 +66,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -126,19 +99,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ @java.lang.Override @@ -147,30 +116,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -181,15 +150,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -200,8 +166,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int PREDICATE_FILTER_FIELD_NUMBER = 6; private com.google.bigtable.v2.RowFilter predicateFilter_; /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -210,7 +174,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -218,8 +181,6 @@ public boolean hasPredicateFilter() { return predicateFilter_ != null; } /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -228,18 +189,13 @@ public boolean hasPredicateFilter() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getPredicateFilter() { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -251,18 +207,13 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-    return predicateFilter_ == null
-        ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-        : predicateFilter_;
+    return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
   }
 
   public static final int TRUE_MUTATIONS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List trueMutations_;
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -278,8 +229,6 @@ public java.util.List getTrueMutationsList() {
     return trueMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -291,13 +240,11 @@ public java.util.List getTrueMutationsList() {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTrueMutationsOrBuilderList() {
     return trueMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -313,8 +260,6 @@ public int getTrueMutationsCount() {
     return trueMutations_.size();
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -330,8 +275,6 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
     return trueMutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -343,17 +286,15 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+      int index) {
     return trueMutations_.get(index);
   }
 
   public static final int FALSE_MUTATIONS_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private java.util.List falseMutations_;
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -369,8 +310,6 @@ public java.util.List getFalseMutationsList() {
     return falseMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -382,13 +321,11 @@ public java.util.List getFalseMutationsList() {
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFalseMutationsOrBuilderList() {
     return falseMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -404,8 +341,6 @@ public int getFalseMutationsCount() {
     return falseMutations_.size();
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -421,8 +356,6 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
     return falseMutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -434,12 +367,12 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+      int index) {
     return falseMutations_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -451,7 +384,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -483,16 +417,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
     }
     if (!rowKey_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, rowKey_);
     }
     for (int i = 0; i < trueMutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, trueMutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, trueMutations_.get(i));
     }
     for (int i = 0; i < falseMutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, falseMutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, falseMutations_.get(i));
     }
     if (predicateFilter_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPredicateFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPredicateFilter());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, appProfileId_);
@@ -505,23 +443,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.CheckAndMutateRowRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.CheckAndMutateRowRequest other =
-        (com.google.bigtable.v2.CheckAndMutateRowRequest) obj;
+    com.google.bigtable.v2.CheckAndMutateRowRequest other = (com.google.bigtable.v2.CheckAndMutateRowRequest) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
-    if (!getRowKey().equals(other.getRowKey())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getAppProfileId()
+        .equals(other.getAppProfileId())) return false;
+    if (!getRowKey()
+        .equals(other.getRowKey())) return false;
     if (hasPredicateFilter() != other.hasPredicateFilter()) return false;
     if (hasPredicateFilter()) {
-      if (!getPredicateFilter().equals(other.getPredicateFilter())) return false;
+      if (!getPredicateFilter()
+          .equals(other.getPredicateFilter())) return false;
     }
-    if (!getTrueMutationsList().equals(other.getTrueMutationsList())) return false;
-    if (!getFalseMutationsList().equals(other.getFalseMutationsList())) return false;
+    if (!getTrueMutationsList()
+        .equals(other.getTrueMutationsList())) return false;
+    if (!getFalseMutationsList()
+        .equals(other.getFalseMutationsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -556,136 +499,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.CheckAndMutateRowRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for Bigtable.CheckAndMutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.CheckAndMutateRowRequest) com.google.bigtable.v2.CheckAndMutateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, - com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.CheckAndMutateRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -716,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override @@ -737,18 +676,14 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowRequest buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowRequest result = - new com.google.bigtable.v2.CheckAndMutateRowRequest(this); + com.google.bigtable.v2.CheckAndMutateRowRequest result = new com.google.bigtable.v2.CheckAndMutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.CheckAndMutateRowRequest result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.CheckAndMutateRowRequest result) { if (trueMutationsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { trueMutations_ = java.util.Collections.unmodifiableList(trueMutations_); @@ -781,8 +716,9 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul result.rowKey_ = rowKey_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.predicateFilter_ = - predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build(); + result.predicateFilter_ = predicateFilterBuilder_ == null + ? predicateFilter_ + : predicateFilterBuilder_.build(); } } @@ -790,39 +726,38 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -830,8 +765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) { - if (other == com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; @@ -866,10 +800,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) trueMutationsBuilder_ = null; trueMutations_ = other.trueMutations_; bitField0_ = (bitField0_ & ~0x00000010); - trueMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTrueMutationsFieldBuilder() - : null; + trueMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTrueMutationsFieldBuilder() : null; } else { trueMutationsBuilder_.addAllMessages(other.trueMutations_); } @@ -893,10 +826,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) falseMutationsBuilder_ = null; falseMutations_ = other.falseMutations_; bitField0_ = (bitField0_ & ~0x00000020); - falseMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFalseMutationsFieldBuilder() - : null; + falseMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFalseMutationsFieldBuilder() : null; } else { falseMutationsBuilder_.addAllMessages(other.falseMutations_); } @@ -928,61 +860,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 34: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (trueMutationsBuilder_ == null) { - ensureTrueMutationsIsMutable(); - trueMutations_.add(m); - } else { - trueMutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (falseMutationsBuilder_ == null) { - ensureFalseMutationsIsMutable(); - falseMutations_.add(m); - } else { - falseMutationsBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - input.readMessage(getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 34: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (trueMutationsBuilder_ == null) { + ensureTrueMutationsIsMutable(); + trueMutations_.add(m); + } else { + trueMutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (falseMutationsBuilder_ == null) { + ensureFalseMutationsIsMutable(); + falseMutations_.add(m); + } else { + falseMutationsBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + input.readMessage( + getPredicateFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,29 +923,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1023,25 +949,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1049,43 +972,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1095,25 +1007,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1123,21 +1029,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1146,22 +1050,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1169,37 +1072,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1209,22 +1105,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1234,15 +1126,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -1250,37 +1139,29 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1292,13 +1173,8 @@ public Builder clearRowKey() { private com.google.bigtable.v2.RowFilter predicateFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RowFilter, - com.google.bigtable.v2.RowFilter.Builder, - com.google.bigtable.v2.RowFilterOrBuilder> - predicateFilterBuilder_; + com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_; /** - * - * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1307,15 +1183,12 @@ public Builder clearRowKey() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1324,21 +1197,16 @@ public boolean hasPredicateFilter() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1362,8 +1230,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1373,7 +1239,8 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
      *
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
-    public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+    public Builder setPredicateFilter(
+        com.google.bigtable.v2.RowFilter.Builder builderForValue) {
       if (predicateFilterBuilder_ == null) {
         predicateFilter_ = builderForValue.build();
       } else {
@@ -1384,8 +1251,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1397,9 +1262,9 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
      */
     public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       if (predicateFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && predicateFilter_ != null
-            && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          predicateFilter_ != null &&
+          predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getPredicateFilterBuilder().mergeFrom(value);
         } else {
           predicateFilter_ = value;
@@ -1412,8 +1277,6 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1434,8 +1297,6 @@ public Builder clearPredicateFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1451,8 +1312,6 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
       return getPredicateFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1466,14 +1325,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
       if (predicateFilterBuilder_ != null) {
         return predicateFilterBuilder_.getMessageOrBuilder();
       } else {
-        return predicateFilter_ == null
-            ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-            : predicateFilter_;
+        return predicateFilter_ == null ?
+            com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1484,41 +1340,32 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
         getPredicateFilterFieldBuilder() {
       if (predicateFilterBuilder_ == null) {
-        predicateFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter,
-                com.google.bigtable.v2.RowFilter.Builder,
-                com.google.bigtable.v2.RowFilterOrBuilder>(
-                getPredicateFilter(), getParentForChildren(), isClean());
+        predicateFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                getPredicateFilter(),
+                getParentForChildren(),
+                isClean());
         predicateFilter_ = null;
       }
       return predicateFilterBuilder_;
     }
 
     private java.util.List trueMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTrueMutationsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         trueMutations_ = new java.util.ArrayList(trueMutations_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
-        trueMutationsBuilder_;
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> trueMutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1537,8 +1384,6 @@ public java.util.List getTrueMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1557,8 +1402,6 @@ public int getTrueMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1577,8 +1420,6 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1589,7 +1430,8 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder setTrueMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder setTrueMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (trueMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1603,8 +1445,6 @@ public Builder setTrueMutations(int index, com.google.bigtable.v2.Mutation value
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1627,8 +1467,6 @@ public Builder setTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1653,8 +1491,6 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1665,7 +1501,8 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation value) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder addTrueMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (trueMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1679,8 +1516,6 @@ public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1691,7 +1526,8 @@ public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder addTrueMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+    public Builder addTrueMutations(
+        com.google.bigtable.v2.Mutation.Builder builderForValue) {
       if (trueMutationsBuilder_ == null) {
         ensureTrueMutationsIsMutable();
         trueMutations_.add(builderForValue.build());
@@ -1702,8 +1538,6 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1726,8 +1560,6 @@ public Builder addTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1742,7 +1574,8 @@ public Builder addAllTrueMutations(
         java.lang.Iterable values) {
       if (trueMutationsBuilder_ == null) {
         ensureTrueMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trueMutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, trueMutations_);
         onChanged();
       } else {
         trueMutationsBuilder_.addAllMessages(values);
@@ -1750,8 +1583,6 @@ public Builder addAllTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1773,8 +1604,6 @@ public Builder clearTrueMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1796,8 +1625,6 @@ public Builder removeTrueMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1808,12 +1635,11 @@ public Builder removeTrueMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(int index) {
+    public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(
+        int index) {
       return getTrueMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1824,16 +1650,14 @@ public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(int index
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
+    public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+        int index) {
       if (trueMutationsBuilder_ == null) {
-        return trueMutations_.get(index);
-      } else {
+        return trueMutations_.get(index);  } else {
         return trueMutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1844,8 +1668,8 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public java.util.List
-        getTrueMutationsOrBuilderList() {
+    public java.util.List 
+         getTrueMutationsOrBuilderList() {
       if (trueMutationsBuilder_ != null) {
         return trueMutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1853,8 +1677,6 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1866,12 +1688,10 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
     public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder() {
-      return getTrueMutationsFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance());
+      return getTrueMutationsFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1882,13 +1702,12 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder() {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(int index) {
-      return getTrueMutationsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance());
+    public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(
+        int index) {
+      return getTrueMutationsFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1899,21 +1718,16 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(int index
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public java.util.List getTrueMutationsBuilderList() {
+    public java.util.List 
+         getTrueMutationsBuilderList() {
       return getTrueMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
         getTrueMutationsFieldBuilder() {
       if (trueMutationsBuilder_ == null) {
-        trueMutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Mutation,
-                com.google.bigtable.v2.Mutation.Builder,
-                com.google.bigtable.v2.MutationOrBuilder>(
+        trueMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
                 trueMutations_,
                 ((bitField0_ & 0x00000010) != 0),
                 getParentForChildren(),
@@ -1924,24 +1738,18 @@ public java.util.List getTrueMutationsB
     }
 
     private java.util.List falseMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFalseMutationsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
         falseMutations_ = new java.util.ArrayList(falseMutations_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
-        falseMutationsBuilder_;
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> falseMutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1960,8 +1768,6 @@ public java.util.List getFalseMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1980,8 +1786,6 @@ public int getFalseMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2000,8 +1804,6 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2012,7 +1814,8 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder setFalseMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder setFalseMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (falseMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2026,8 +1829,6 @@ public Builder setFalseMutations(int index, com.google.bigtable.v2.Mutation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2050,8 +1851,6 @@ public Builder setFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2076,8 +1875,6 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2088,7 +1885,8 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation value) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder addFalseMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (falseMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2102,8 +1900,6 @@ public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2114,7 +1910,8 @@ public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation valu
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder addFalseMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+    public Builder addFalseMutations(
+        com.google.bigtable.v2.Mutation.Builder builderForValue) {
       if (falseMutationsBuilder_ == null) {
         ensureFalseMutationsIsMutable();
         falseMutations_.add(builderForValue.build());
@@ -2125,8 +1922,6 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2149,8 +1944,6 @@ public Builder addFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2165,7 +1958,8 @@ public Builder addAllFalseMutations(
         java.lang.Iterable values) {
       if (falseMutationsBuilder_ == null) {
         ensureFalseMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, falseMutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, falseMutations_);
         onChanged();
       } else {
         falseMutationsBuilder_.addAllMessages(values);
@@ -2173,8 +1967,6 @@ public Builder addAllFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2196,8 +1988,6 @@ public Builder clearFalseMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2219,8 +2009,6 @@ public Builder removeFalseMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2231,12 +2019,11 @@ public Builder removeFalseMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(int index) {
+    public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(
+        int index) {
       return getFalseMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2247,16 +2034,14 @@ public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(int inde
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index) {
+    public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+        int index) {
       if (falseMutationsBuilder_ == null) {
-        return falseMutations_.get(index);
-      } else {
+        return falseMutations_.get(index);  } else {
         return falseMutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2267,8 +2052,8 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public java.util.List
-        getFalseMutationsOrBuilderList() {
+    public java.util.List 
+         getFalseMutationsOrBuilderList() {
       if (falseMutationsBuilder_ != null) {
         return falseMutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2276,8 +2061,6 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2289,12 +2072,10 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
     public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder() {
-      return getFalseMutationsFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance());
+      return getFalseMutationsFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2305,13 +2086,12 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder() {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(int index) {
-      return getFalseMutationsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance());
+    public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(
+        int index) {
+      return getFalseMutationsFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2322,21 +2102,16 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(int inde
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public java.util.List getFalseMutationsBuilderList() {
+    public java.util.List 
+         getFalseMutationsBuilderList() {
       return getFalseMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
         getFalseMutationsFieldBuilder() {
       if (falseMutationsBuilder_ == null) {
-        falseMutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Mutation,
-                com.google.bigtable.v2.Mutation.Builder,
-                com.google.bigtable.v2.MutationOrBuilder>(
+        falseMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
                 falseMutations_,
                 ((bitField0_ & 0x00000020) != 0),
                 getParentForChildren(),
@@ -2345,9 +2120,9 @@ public java.util.List getFalseMutations
       }
       return falseMutationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2357,12 +2132,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.CheckAndMutateRowRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.CheckAndMutateRowRequest)
   private static final com.google.bigtable.v2.CheckAndMutateRowRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.CheckAndMutateRowRequest();
   }
@@ -2371,27 +2146,27 @@ public static com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CheckAndMutateRowRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CheckAndMutateRowRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2406,4 +2181,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
index c39724cfff..ef260cd0d0 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
@@ -1,105 +1,70 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface CheckAndMutateRowRequestOrBuilder
-    extends
+public interface CheckAndMutateRowRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -108,13 +73,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ boolean hasPredicateFilter(); /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -123,13 +85,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ com.google.bigtable.v2.RowFilter getPredicateFilter(); /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -142,8 +101,6 @@ public interface CheckAndMutateRowRequestOrBuilder
   com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -154,10 +111,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  java.util.List getTrueMutationsList();
+  java.util.List 
+      getTrueMutationsList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -170,8 +126,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   com.google.bigtable.v2.Mutation getTrueMutations(int index);
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -184,8 +138,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   int getTrueMutationsCount();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -196,11 +148,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  java.util.List
+  java.util.List 
       getTrueMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -211,11 +161,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index);
+  com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -226,10 +175,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  java.util.List getFalseMutationsList();
+  java.util.List 
+      getFalseMutationsList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -242,8 +190,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   com.google.bigtable.v2.Mutation getFalseMutations(int index);
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -256,8 +202,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   int getFalseMutationsCount();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -268,11 +212,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  java.util.List
+  java.util.List 
       getFalseMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -283,5 +225,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index);
+  com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
similarity index 65%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
index f45e7842ed..dad96e0501 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Response message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ -public final class CheckAndMutateRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckAndMutateRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowResponse) CheckAndMutateRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckAndMutateRowResponse.newBuilder() to construct. private CheckAndMutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CheckAndMutateRowResponse() {} + private CheckAndMutateRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, - com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } public static final int PREDICATE_MATCHED_FIELD_NUMBER = 1; private boolean predicateMatched_ = false; /** - * - * *
    * Whether or not the request's `predicate_filter` yielded any results for
    * the specified row.
    * 
* * bool predicate_matched = 1; - * * @return The predicateMatched. */ @java.lang.Override @@ -80,7 +59,6 @@ public boolean getPredicateMatched() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (predicateMatched_ != false) { output.writeBool(1, predicateMatched_); } @@ -106,7 +85,8 @@ public int getSerializedSize() { size = 0; if (predicateMatched_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, predicateMatched_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, predicateMatched_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.CheckAndMutateRowResponse)) { return super.equals(obj); } - com.google.bigtable.v2.CheckAndMutateRowResponse other = - (com.google.bigtable.v2.CheckAndMutateRowResponse) obj; + com.google.bigtable.v2.CheckAndMutateRowResponse other = (com.google.bigtable.v2.CheckAndMutateRowResponse) obj; - if (getPredicateMatched() != other.getPredicateMatched()) return false; + if (getPredicateMatched() + != other.getPredicateMatched()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,142 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PREDICATE_MATCHED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPredicateMatched()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPredicateMatched()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.CheckAndMutateRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.CheckAndMutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.CheckAndMutateRowResponse) com.google.bigtable.v2.CheckAndMutateRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, - com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.CheckAndMutateRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -282,9 +259,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override @@ -303,11 +280,8 @@ public com.google.bigtable.v2.CheckAndMutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowResponse buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowResponse result = - new com.google.bigtable.v2.CheckAndMutateRowResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.CheckAndMutateRowResponse result = new com.google.bigtable.v2.CheckAndMutateRowResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -323,39 +297,38 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -363,8 +336,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowResponse other) { - if (other == com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance()) return this; if (other.getPredicateMatched() != false) { setPredicateMatched(other.getPredicateMatched()); } @@ -394,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - predicateMatched_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + predicateMatched_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -416,20 +386,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean predicateMatched_; + private boolean predicateMatched_ ; /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @return The predicateMatched. */ @java.lang.Override @@ -437,15 +403,12 @@ public boolean getPredicateMatched() { return predicateMatched_; } /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @param value The predicateMatched to set. * @return This builder for chaining. */ @@ -457,15 +420,12 @@ public Builder setPredicateMatched(boolean value) { return this; } /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @return This builder for chaining. */ public Builder clearPredicateMatched() { @@ -474,9 +434,9 @@ public Builder clearPredicateMatched() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -486,12 +446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.CheckAndMutateRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.CheckAndMutateRowResponse) private static final com.google.bigtable.v2.CheckAndMutateRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.CheckAndMutateRowResponse(); } @@ -500,27 +460,27 @@ public static com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckAndMutateRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckAndMutateRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -535,4 +495,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java new file mode 100644 index 0000000000..4e64fe2a6b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public interface CheckAndMutateRowResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether or not the request's `predicate_filter` yielded any results for
+   * the specified row.
+   * 
+ * + * bool predicate_matched = 1; + * @return The predicateMatched. + */ + boolean getPredicateMatched(); +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java index c30742d5d9..70ab2d5102 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column intersection of a
  * table.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Column}
  */
-public final class Column extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Column extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Column)
     ColumnOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Column.newBuilder() to construct.
   private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Column() {
     qualifier_ = com.google.protobuf.ByteString.EMPTY;
     cells_ = java.util.Collections.emptyList();
@@ -45,19 +27,20 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Column();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Column_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
   }
@@ -65,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int QUALIFIER_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The unique key which identifies this column within its family. This is the
    * same key that's used to identify the column in, for example, a RowFilter
@@ -76,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -85,12 +65,9 @@ public com.google.protobuf.ByteString getQualifier() { } public static final int CELLS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List cells_; /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -102,8 +79,6 @@ public java.util.List getCellsList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -111,12 +86,11 @@ public java.util.List getCellsList() { * repeated .google.bigtable.v2.Cell cells = 2; */ @java.lang.Override - public java.util.List getCellsOrBuilderList() { + public java.util.List + getCellsOrBuilderList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -128,8 +102,6 @@ public int getCellsCount() { return cells_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -141,8 +113,6 @@ public com.google.bigtable.v2.Cell getCells(int index) { return cells_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -150,12 +120,12 @@ public com.google.bigtable.v2.Cell getCells(int index) { * repeated .google.bigtable.v2.Cell cells = 2; */ @java.lang.Override - public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index) { + public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index) { return cells_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,7 +137,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!qualifier_.isEmpty()) { output.writeBytes(1, qualifier_); } @@ -184,10 +155,12 @@ public int getSerializedSize() { size = 0; if (!qualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, qualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, qualifier_); } for (int i = 0; i < cells_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cells_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, cells_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,15 +170,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Column)) { return super.equals(obj); } com.google.bigtable.v2.Column other = (com.google.bigtable.v2.Column) obj; - if (!getQualifier().equals(other.getQualifier())) return false; - if (!getCellsList().equals(other.getCellsList())) return false; + if (!getQualifier() + .equals(other.getQualifier())) return false; + if (!getCellsList() + .equals(other.getCellsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,103 +203,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Column parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Column parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Column parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Column parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Column parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Column parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Column parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Column parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Column parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column intersection of a
    * table.
@@ -332,30 +303,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Column}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Column)
       com.google.bigtable.v2.ColumnOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Column_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Column.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -372,7 +346,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
     }
 
@@ -394,9 +369,7 @@ public com.google.bigtable.v2.Column build() {
     public com.google.bigtable.v2.Column buildPartial() {
       com.google.bigtable.v2.Column result = new com.google.bigtable.v2.Column(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -424,39 +397,38 @@ private void buildPartial0(com.google.bigtable.v2.Column result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Column) {
-        return mergeFrom((com.google.bigtable.v2.Column) other);
+        return mergeFrom((com.google.bigtable.v2.Column)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,10 +458,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
             cellsBuilder_ = null;
             cells_ = other.cells_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            cellsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCellsFieldBuilder()
-                    : null;
+            cellsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCellsFieldBuilder() : null;
           } else {
             cellsBuilder_.addAllMessages(other.cells_);
           }
@@ -521,31 +492,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                qualifier_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Cell m =
-                    input.readMessage(com.google.bigtable.v2.Cell.parser(), extensionRegistry);
-                if (cellsBuilder_ == null) {
-                  ensureCellsIsMutable();
-                  cells_.add(m);
-                } else {
-                  cellsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              qualifier_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Cell m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Cell.parser(),
+                      extensionRegistry);
+              if (cellsBuilder_ == null) {
+                ensureCellsIsMutable();
+                cells_.add(m);
+              } else {
+                cellsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -555,13 +525,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -571,7 +538,6 @@ public Builder mergeFrom(
      * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -579,8 +545,6 @@ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } /** - * - * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -590,22 +554,17 @@ public com.google.protobuf.ByteString getQualifier() {
      * 
* * bytes qualifier = 1; - * * @param value The qualifier to set. * @return This builder for chaining. */ public Builder setQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } qualifier_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -615,7 +574,6 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes qualifier = 1; - * * @return This builder for chaining. */ public Builder clearQualifier() { @@ -625,24 +583,19 @@ public Builder clearQualifier() { return this; } - private java.util.List cells_ = java.util.Collections.emptyList(); - + private java.util.List cells_ = + java.util.Collections.emptyList(); private void ensureCellsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { cells_ = new java.util.ArrayList(cells_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder> - cellsBuilder_; + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> cellsBuilder_; /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -657,8 +610,6 @@ public java.util.List getCellsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -673,8 +624,6 @@ public int getCellsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -689,15 +638,14 @@ public com.google.bigtable.v2.Cell getCells(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder setCells(int index, com.google.bigtable.v2.Cell value) { + public Builder setCells( + int index, com.google.bigtable.v2.Cell value) { if (cellsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,15 +659,14 @@ public Builder setCells(int index, com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder setCells(int index, com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder setCells( + int index, com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.set(index, builderForValue.build()); @@ -730,8 +677,6 @@ public Builder setCells(int index, com.google.bigtable.v2.Cell.Builder builderFo return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -752,15 +697,14 @@ public Builder addCells(com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(int index, com.google.bigtable.v2.Cell value) { + public Builder addCells( + int index, com.google.bigtable.v2.Cell value) { if (cellsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -774,15 +718,14 @@ public Builder addCells(int index, com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder addCells( + com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.add(builderForValue.build()); @@ -793,15 +736,14 @@ public Builder addCells(com.google.bigtable.v2.Cell.Builder builderForValue) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(int index, com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder addCells( + int index, com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.add(index, builderForValue.build()); @@ -812,18 +754,18 @@ public Builder addCells(int index, com.google.bigtable.v2.Cell.Builder builderFo return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addAllCells(java.lang.Iterable values) { + public Builder addAllCells( + java.lang.Iterable values) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cells_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cells_); onChanged(); } else { cellsBuilder_.addAllMessages(values); @@ -831,8 +773,6 @@ public Builder addAllCells(java.lang.Iterable * Must not be empty. Sorted in order of decreasing "timestamp_micros". *
@@ -850,8 +790,6 @@ public Builder clearCells() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -869,43 +807,39 @@ public Builder removeCells(int index) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.Cell.Builder getCellsBuilder(int index) { + public com.google.bigtable.v2.Cell.Builder getCellsBuilder( + int index) { return getCellsFieldBuilder().getBuilder(index); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index) { + public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index) { if (cellsBuilder_ == null) { - return cells_.get(index); - } else { + return cells_.get(index); } else { return cellsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public java.util.List getCellsOrBuilderList() { + public java.util.List + getCellsOrBuilderList() { if (cellsBuilder_ != null) { return cellsBuilder_.getMessageOrBuilderList(); } else { @@ -913,8 +847,6 @@ public java.util.List getCellsOr } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -922,53 +854,49 @@ public java.util.List getCellsOr * repeated .google.bigtable.v2.Cell cells = 2; */ public com.google.bigtable.v2.Cell.Builder addCellsBuilder() { - return getCellsFieldBuilder().addBuilder(com.google.bigtable.v2.Cell.getDefaultInstance()); + return getCellsFieldBuilder().addBuilder( + com.google.bigtable.v2.Cell.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.Cell.Builder addCellsBuilder(int index) { - return getCellsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Cell.getDefaultInstance()); + public com.google.bigtable.v2.Cell.Builder addCellsBuilder( + int index) { + return getCellsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Cell.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public java.util.List getCellsBuilderList() { + public java.util.List + getCellsBuilderList() { return getCellsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder> + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> getCellsFieldBuilder() { if (cellsBuilder_ == null) { - cellsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder>( - cells_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + cellsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder>( + cells_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); cells_ = null; } return cellsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +906,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Column) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Column) private static final com.google.bigtable.v2.Column DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Column(); } @@ -992,27 +920,27 @@ public static com.google.bigtable.v2.Column getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Column parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Column parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java index 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 2bb57f9f5f..7ab75c7ee0 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies a contiguous range of columns within a single column family.
  * The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to
@@ -30,55 +13,49 @@
  *
  * Protobuf type {@code google.bigtable.v2.ColumnRange}
  */
-public final class ColumnRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ColumnRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ColumnRange)
     ColumnRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ColumnRange.newBuilder() to construct.
   private ColumnRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ColumnRange() {
     familyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnRange();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ColumnRange.class,
-            com.google.bigtable.v2.ColumnRange.Builder.class);
+            com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
   }
 
   private int startQualifierCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startQualifier_;
-
   public enum StartQualifierCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_QUALIFIER_CLOSED(2),
     START_QUALIFIER_OPEN(3),
     STARTQUALIFIER_NOT_SET(0);
     private final int value;
-
     private StartQualifierCase(int value) {
       this.value = value;
     }
@@ -94,40 +71,33 @@ public static StartQualifierCase valueOf(int value) {
 
     public static StartQualifierCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return START_QUALIFIER_CLOSED;
-        case 3:
-          return START_QUALIFIER_OPEN;
-        case 0:
-          return STARTQUALIFIER_NOT_SET;
-        default:
-          return null;
+        case 2: return START_QUALIFIER_CLOSED;
+        case 3: return START_QUALIFIER_OPEN;
+        case 0: return STARTQUALIFIER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartQualifierCase getStartQualifierCase() {
-    return StartQualifierCase.forNumber(startQualifierCase_);
+  public StartQualifierCase
+  getStartQualifierCase() {
+    return StartQualifierCase.forNumber(
+        startQualifierCase_);
   }
 
   private int endQualifierCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object endQualifier_;
-
   public enum EndQualifierCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_QUALIFIER_CLOSED(4),
     END_QUALIFIER_OPEN(5),
     ENDQUALIFIER_NOT_SET(0);
     private final int value;
-
     private EndQualifierCase(int value) {
       this.value = value;
     }
@@ -143,39 +113,32 @@ public static EndQualifierCase valueOf(int value) {
 
     public static EndQualifierCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return END_QUALIFIER_CLOSED;
-        case 5:
-          return END_QUALIFIER_OPEN;
-        case 0:
-          return ENDQUALIFIER_NOT_SET;
-        default:
-          return null;
+        case 4: return END_QUALIFIER_CLOSED;
+        case 5: return END_QUALIFIER_OPEN;
+        case 0: return ENDQUALIFIER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndQualifierCase getEndQualifierCase() {
-    return EndQualifierCase.forNumber(endQualifierCase_);
+  public EndQualifierCase
+  getEndQualifierCase() {
+    return EndQualifierCase.forNumber(
+        endQualifierCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
-   *
-   *
    * 
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -184,29 +147,29 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -216,14 +179,11 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int START_QUALIFIER_CLOSED_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ @java.lang.Override @@ -231,14 +191,11 @@ public boolean hasStartQualifierClosed() { return startQualifierCase_ == 2; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ @java.lang.Override @@ -251,14 +208,11 @@ public com.google.protobuf.ByteString getStartQualifierClosed() { public static final int START_QUALIFIER_OPEN_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ @java.lang.Override @@ -266,14 +220,11 @@ public boolean hasStartQualifierOpen() { return startQualifierCase_ == 3; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ @java.lang.Override @@ -286,14 +237,11 @@ public com.google.protobuf.ByteString getStartQualifierOpen() { public static final int END_QUALIFIER_CLOSED_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ @java.lang.Override @@ -301,14 +249,11 @@ public boolean hasEndQualifierClosed() { return endQualifierCase_ == 4; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ @java.lang.Override @@ -321,14 +266,11 @@ public com.google.protobuf.ByteString getEndQualifierClosed() { public static final int END_QUALIFIER_OPEN_FIELD_NUMBER = 5; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ @java.lang.Override @@ -336,14 +278,11 @@ public boolean hasEndQualifierOpen() { return endQualifierCase_ == 5; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ @java.lang.Override @@ -355,7 +294,6 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,21 +305,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } if (startQualifierCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startQualifier_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startQualifier_); } if (startQualifierCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) startQualifier_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) startQualifier_); } if (endQualifierCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endQualifier_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endQualifier_); } if (endQualifierCase_ == 5) { - output.writeBytes(5, (com.google.protobuf.ByteString) endQualifier_); + output.writeBytes( + 5, (com.google.protobuf.ByteString) endQualifier_); } getUnknownFields().writeTo(output); } @@ -396,24 +339,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (startQualifierCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startQualifier_); } if (startQualifierCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) startQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) startQualifier_); } if (endQualifierCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endQualifier_); } if (endQualifierCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 5, (com.google.protobuf.ByteString) endQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 5, (com.google.protobuf.ByteString) endQualifier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -423,21 +366,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ColumnRange)) { return super.equals(obj); } com.google.bigtable.v2.ColumnRange other = (com.google.bigtable.v2.ColumnRange) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getStartQualifierCase().equals(other.getStartQualifierCase())) return false; switch (startQualifierCase_) { case 2: - if (!getStartQualifierClosed().equals(other.getStartQualifierClosed())) return false; + if (!getStartQualifierClosed() + .equals(other.getStartQualifierClosed())) return false; break; case 3: - if (!getStartQualifierOpen().equals(other.getStartQualifierOpen())) return false; + if (!getStartQualifierOpen() + .equals(other.getStartQualifierOpen())) return false; break; case 0: default: @@ -445,10 +391,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndQualifierCase().equals(other.getEndQualifierCase())) return false; switch (endQualifierCase_) { case 4: - if (!getEndQualifierClosed().equals(other.getEndQualifierClosed())) return false; + if (!getEndQualifierClosed() + .equals(other.getEndQualifierClosed())) return false; break; case 5: - if (!getEndQualifierOpen().equals(other.getEndQualifierOpen())) return false; + if (!getEndQualifierOpen() + .equals(other.getEndQualifierOpen())) return false; break; case 0: default: @@ -495,103 +443,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ColumnRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ColumnRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ColumnRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ColumnRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ColumnRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ColumnRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ColumnRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ColumnRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of columns within a single column family.
    * The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to
@@ -601,32 +545,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ColumnRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ColumnRange)
       com.google.bigtable.v2.ColumnRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ColumnRange.class,
-              com.google.bigtable.v2.ColumnRange.Builder.class);
+              com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ColumnRange.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -640,9 +585,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
     }
 
     @java.lang.Override
@@ -662,9 +607,7 @@ public com.google.bigtable.v2.ColumnRange build() {
     @java.lang.Override
     public com.google.bigtable.v2.ColumnRange buildPartial() {
       com.google.bigtable.v2.ColumnRange result = new com.google.bigtable.v2.ColumnRange(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -688,39 +631,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ColumnRange result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ColumnRange) {
-        return mergeFrom((com.google.bigtable.v2.ColumnRange) other);
+        return mergeFrom((com.google.bigtable.v2.ColumnRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -735,36 +677,30 @@ public Builder mergeFrom(com.google.bigtable.v2.ColumnRange other) {
         onChanged();
       }
       switch (other.getStartQualifierCase()) {
-        case START_QUALIFIER_CLOSED:
-          {
-            setStartQualifierClosed(other.getStartQualifierClosed());
-            break;
-          }
-        case START_QUALIFIER_OPEN:
-          {
-            setStartQualifierOpen(other.getStartQualifierOpen());
-            break;
-          }
-        case STARTQUALIFIER_NOT_SET:
-          {
-            break;
-          }
+        case START_QUALIFIER_CLOSED: {
+          setStartQualifierClosed(other.getStartQualifierClosed());
+          break;
+        }
+        case START_QUALIFIER_OPEN: {
+          setStartQualifierOpen(other.getStartQualifierOpen());
+          break;
+        }
+        case STARTQUALIFIER_NOT_SET: {
+          break;
+        }
       }
       switch (other.getEndQualifierCase()) {
-        case END_QUALIFIER_CLOSED:
-          {
-            setEndQualifierClosed(other.getEndQualifierClosed());
-            break;
-          }
-        case END_QUALIFIER_OPEN:
-          {
-            setEndQualifierOpen(other.getEndQualifierOpen());
-            break;
-          }
-        case ENDQUALIFIER_NOT_SET:
-          {
-            break;
-          }
+        case END_QUALIFIER_CLOSED: {
+          setEndQualifierClosed(other.getEndQualifierClosed());
+          break;
+        }
+        case END_QUALIFIER_OPEN: {
+          setEndQualifierOpen(other.getEndQualifierOpen());
+          break;
+        }
+        case ENDQUALIFIER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -792,43 +728,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                startQualifier_ = input.readBytes();
-                startQualifierCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                startQualifier_ = input.readBytes();
-                startQualifierCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                endQualifier_ = input.readBytes();
-                endQualifierCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                endQualifier_ = input.readBytes();
-                endQualifierCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              startQualifier_ = input.readBytes();
+              startQualifierCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              startQualifier_ = input.readBytes();
+              startQualifierCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              endQualifier_ = input.readBytes();
+              endQualifierCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              endQualifier_ = input.readBytes();
+              endQualifierCase_ = 5;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -838,12 +768,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startQualifierCase_ = 0;
     private java.lang.Object startQualifier_;
-
-    public StartQualifierCase getStartQualifierCase() {
-      return StartQualifierCase.forNumber(startQualifierCase_);
+    public StartQualifierCase
+        getStartQualifierCase() {
+      return StartQualifierCase.forNumber(
+          startQualifierCase_);
     }
 
     public Builder clearStartQualifier() {
@@ -855,9 +785,10 @@ public Builder clearStartQualifier() {
 
     private int endQualifierCase_ = 0;
     private java.lang.Object endQualifier_;
-
-    public EndQualifierCase getEndQualifierCase() {
-      return EndQualifierCase.forNumber(endQualifierCase_);
+    public EndQualifierCase
+        getEndQualifierCase() {
+      return EndQualifierCase.forNumber(
+          endQualifierCase_);
     }
 
     public Builder clearEndQualifier() {
@@ -871,20 +802,18 @@ public Builder clearEndQualifier() {
 
     private java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -893,21 +822,20 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -915,35 +843,28 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -953,21 +874,17 @@ public Builder clearFamilyName() { return this; } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -976,28 +893,22 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ public boolean hasStartQualifierClosed() { return startQualifierCase_ == 2; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ public com.google.protobuf.ByteString getStartQualifierClosed() { @@ -1007,35 +918,27 @@ public com.google.protobuf.ByteString getStartQualifierClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @param value The startQualifierClosed to set. * @return This builder for chaining. */ public Builder setStartQualifierClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startQualifierCase_ = 2; startQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return This builder for chaining. */ public Builder clearStartQualifierClosed() { @@ -1048,28 +951,22 @@ public Builder clearStartQualifierClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ public boolean hasStartQualifierOpen() { return startQualifierCase_ == 3; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ public com.google.protobuf.ByteString getStartQualifierOpen() { @@ -1079,35 +976,27 @@ public com.google.protobuf.ByteString getStartQualifierOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @param value The startQualifierOpen to set. * @return This builder for chaining. */ public Builder setStartQualifierOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startQualifierCase_ = 3; startQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return This builder for chaining. */ public Builder clearStartQualifierOpen() { @@ -1120,28 +1009,22 @@ public Builder clearStartQualifierOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ public boolean hasEndQualifierClosed() { return endQualifierCase_ == 4; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ public com.google.protobuf.ByteString getEndQualifierClosed() { @@ -1151,35 +1034,27 @@ public com.google.protobuf.ByteString getEndQualifierClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @param value The endQualifierClosed to set. * @return This builder for chaining. */ public Builder setEndQualifierClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endQualifierCase_ = 4; endQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return This builder for chaining. */ public Builder clearEndQualifierClosed() { @@ -1192,28 +1067,22 @@ public Builder clearEndQualifierClosed() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ public boolean hasEndQualifierOpen() { return endQualifierCase_ == 5; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ public com.google.protobuf.ByteString getEndQualifierOpen() { @@ -1223,35 +1092,27 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @param value The endQualifierOpen to set. * @return This builder for chaining. */ public Builder setEndQualifierOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endQualifierCase_ = 5; endQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return This builder for chaining. */ public Builder clearEndQualifierOpen() { @@ -1262,9 +1123,9 @@ public Builder clearEndQualifierOpen() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1274,12 +1135,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ColumnRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ColumnRange) private static final com.google.bigtable.v2.ColumnRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ColumnRange(); } @@ -1288,27 +1149,27 @@ public static com.google.bigtable.v2.ColumnRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1323,4 +1184,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ColumnRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java index 989fc4a487..f88745783f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java @@ -1,149 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface ColumnRangeOrBuilder - extends +public interface ColumnRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ColumnRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ boolean hasStartQualifierClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ com.google.protobuf.ByteString getStartQualifierClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ boolean hasStartQualifierOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ com.google.protobuf.ByteString getStartQualifierOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ boolean hasEndQualifierClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ com.google.protobuf.ByteString getEndQualifierClosed(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ boolean hasEndQualifierOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ com.google.protobuf.ByteString getEndQualifierOpen(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java new file mode 100644 index 0000000000..f28469a17a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -0,0 +1,358 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/data.proto + +package com.google.bigtable.v2; + +public final class DataProto { + private DataProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Row_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Family_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Family_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Column_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Column_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Cell_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Cell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ColumnRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ValueRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamPartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\035google/bigtable/v2/data.proto\022\022google." + + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" + + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" + + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" + + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" + + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." + + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" + + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" + + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" + + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" + + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" + + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" + + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." + + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" + + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" + + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" + + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" + + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" + + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" + + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" + + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" + + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" + + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" + + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" + + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" + + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" + + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" + + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" + + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" + + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" + + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" + + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" + + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" + + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" + + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" + + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" + + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" + + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" + + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" + + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" + + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" + + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" + + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" + + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" + + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" + + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" + + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" + + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" + + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" + + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" + + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" + + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" + + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" + + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." + + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." + + "google.bigtable.v2.Mutation.DeleteFromCo" + + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" + + "gle.bigtable.v2.Mutation.DeleteFromFamil" + + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" + + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" + + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" + + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" + + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" + + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" + + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" + + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" + + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" + + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" + + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" + + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" + + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" + + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" + + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" + + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" + + "tinuationToken\"`\n\027StreamContinuationToke" + + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" + + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" + + ".google.bigtable.v2B\tDataProtoP\001Z:google" + + ".golang.org/genproto/googleapis/bigtable" + + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" + + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" + + "ud::Bigtable::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_bigtable_v2_Row_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_Row_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Row_descriptor, + new java.lang.String[] { "Key", "Families", }); + internal_static_google_bigtable_v2_Family_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_Family_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Family_descriptor, + new java.lang.String[] { "Name", "Columns", }); + internal_static_google_bigtable_v2_Column_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_Column_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Column_descriptor, + new java.lang.String[] { "Qualifier", "Cells", }); + internal_static_google_bigtable_v2_Cell_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_Cell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Cell_descriptor, + new java.lang.String[] { "TimestampMicros", "Value", "Labels", }); + internal_static_google_bigtable_v2_RowRange_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowRange_descriptor, + new java.lang.String[] { "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", }); + internal_static_google_bigtable_v2_RowSet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowSet_descriptor, + new java.lang.String[] { "RowKeys", "RowRanges", }); + internal_static_google_bigtable_v2_ColumnRange_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ColumnRange_descriptor, + new java.lang.String[] { "FamilyName", "StartQualifierClosed", "StartQualifierOpen", "EndQualifierClosed", "EndQualifierOpen", "StartQualifier", "EndQualifier", }); + internal_static_google_bigtable_v2_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_TimestampRange_descriptor, + new java.lang.String[] { "StartTimestampMicros", "EndTimestampMicros", }); + internal_static_google_bigtable_v2_ValueRange_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ValueRange_descriptor, + new java.lang.String[] { "StartValueClosed", "StartValueOpen", "EndValueClosed", "EndValueOpen", "StartValue", "EndValue", }); + internal_static_google_bigtable_v2_RowFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_descriptor, + new java.lang.String[] { "Chain", "Interleave", "Condition", "Sink", "PassAllFilter", "BlockAllFilter", "RowKeyRegexFilter", "RowSampleFilter", "FamilyNameRegexFilter", "ColumnQualifierRegexFilter", "ColumnRangeFilter", "TimestampRangeFilter", "ValueRegexFilter", "ValueRangeFilter", "CellsPerRowOffsetFilter", "CellsPerRowLimitFilter", "CellsPerColumnLimitFilter", "StripValueTransformer", "ApplyLabelTransformer", "Filter", }); + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, + new java.lang.String[] { "Filters", }); + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, + new java.lang.String[] { "Filters", }); + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, + new java.lang.String[] { "PredicateFilter", "TrueFilter", "FalseFilter", }); + internal_static_google_bigtable_v2_Mutation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_descriptor, + new java.lang.String[] { "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", }); + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimeRange", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, + new java.lang.String[] { "FamilyName", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", }); + internal_static_google_bigtable_v2_StreamPartition_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamPartition_descriptor, + new java.lang.String[] { "RowRange", }); + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, + new java.lang.String[] { "Tokens", }); + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, + new java.lang.String[] { "Partition", "Token", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java index ff42d226cb..b8953d29a8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column family intersection
  * of a table.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Family}
  */
-public final class Family extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Family extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Family)
     FamilyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Family.newBuilder() to construct.
   private Family(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Family() {
     name_ = "";
     columns_ = java.util.Collections.emptyList();
@@ -45,30 +27,28 @@ private Family() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Family();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Family_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -107,15 +85,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,12 +103,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List columns_; /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -141,8 +117,6 @@ public java.util.List getColumnsList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -150,13 +124,11 @@ public java.util.List getColumnsList() { * repeated .google.bigtable.v2.Column columns = 2; */ @java.lang.Override - public java.util.List + public java.util.List getColumnsOrBuilderList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -168,8 +140,6 @@ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -181,8 +151,6 @@ public com.google.bigtable.v2.Column getColumns(int index) { return columns_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -190,12 +158,12 @@ public com.google.bigtable.v2.Column getColumns(int index) { * repeated .google.bigtable.v2.Column columns = 2; */ @java.lang.Override - public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { + public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,7 +196,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,15 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Family)) { return super.equals(obj); } com.google.bigtable.v2.Family other = (com.google.bigtable.v2.Family) obj; - if (!getName().equals(other.getName())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,103 +240,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Family parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Family parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Family parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Family parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Family parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Family parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Family parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Family parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Family parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Family parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Family parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Family parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Family prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column family intersection
    * of a table.
@@ -372,30 +340,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Family}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Family)
       com.google.bigtable.v2.FamilyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Family_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Family.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,7 +383,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
     }
 
@@ -434,9 +406,7 @@ public com.google.bigtable.v2.Family build() {
     public com.google.bigtable.v2.Family buildPartial() {
       com.google.bigtable.v2.Family result = new com.google.bigtable.v2.Family(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -464,39 +434,38 @@ private void buildPartial0(com.google.bigtable.v2.Family result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Family) {
-        return mergeFrom((com.google.bigtable.v2.Family) other);
+        return mergeFrom((com.google.bigtable.v2.Family)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -528,10 +497,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            columnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getColumnsFieldBuilder()
-                    : null;
+            columnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getColumnsFieldBuilder() : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -563,31 +531,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Column m =
-                    input.readMessage(com.google.bigtable.v2.Column.parser(), extensionRegistry);
-                if (columnsBuilder_ == null) {
-                  ensureColumnsIsMutable();
-                  columns_.add(m);
-                } else {
-                  columnsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Column m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Column.parser(),
+                      extensionRegistry);
+              if (columnsBuilder_ == null) {
+                ensureColumnsIsMutable();
+                columns_.add(m);
+              } else {
+                columnsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -597,13 +564,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -614,13 +578,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -629,8 +593,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -641,14 +603,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -656,8 +619,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -668,22 +629,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -694,7 +651,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -704,8 +660,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -716,14 +670,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -732,24 +684,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder> - columnsBuilder_; + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> columnsBuilder_; /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -764,8 +710,6 @@ public java.util.List getColumnsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -780,8 +724,6 @@ public int getColumnsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -796,15 +738,14 @@ public com.google.bigtable.v2.Column getColumns(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder setColumns(int index, com.google.bigtable.v2.Column value) { + public Builder setColumns( + int index, com.google.bigtable.v2.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -818,15 +759,14 @@ public Builder setColumns(int index, com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder setColumns(int index, com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder setColumns( + int index, com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); @@ -837,8 +777,6 @@ public Builder setColumns(int index, com.google.bigtable.v2.Column.Builder build return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -859,15 +797,14 @@ public Builder addColumns(com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(int index, com.google.bigtable.v2.Column value) { + public Builder addColumns( + int index, com.google.bigtable.v2.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -881,15 +818,14 @@ public Builder addColumns(int index, com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder addColumns( + com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); @@ -900,15 +836,14 @@ public Builder addColumns(com.google.bigtable.v2.Column.Builder builderForValue) return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(int index, com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder addColumns( + int index, com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); @@ -919,8 +854,6 @@ public Builder addColumns(int index, com.google.bigtable.v2.Column.Builder build return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -931,7 +864,8 @@ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -939,8 +873,6 @@ public Builder addAllColumns( return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -958,8 +890,6 @@ public Builder clearColumns() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -977,44 +907,39 @@ public Builder removeColumns(int index) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.Column.Builder getColumnsBuilder(int index) { + public com.google.bigtable.v2.Column.Builder getColumnsBuilder( + int index) { return getColumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { + public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index) { if (columnsBuilder_ == null) { - return columns_.get(index); - } else { + return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -1022,8 +947,6 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -1031,54 +954,49 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { * repeated .google.bigtable.v2.Column columns = 2; */ public com.google.bigtable.v2.Column.Builder addColumnsBuilder() { - return getColumnsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Column.getDefaultInstance()); + return getColumnsFieldBuilder().addBuilder( + com.google.bigtable.v2.Column.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.Column.Builder addColumnsBuilder(int index) { - return getColumnsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Column.getDefaultInstance()); + public com.google.bigtable.v2.Column.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Column.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public java.util.List getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder> + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder>( - columns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder>( + columns_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); columns_ = null; } return columnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1088,12 +1006,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Family) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Family) private static final com.google.bigtable.v2.Family DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Family(); } @@ -1102,27 +1020,27 @@ public static com.google.bigtable.v2.Family getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Family parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Family parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1137,4 +1055,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Family getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java index 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/FeatureFlags.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java similarity index 60% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java index 50e46734fb..c27a1609c1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/feature_flags.proto package com.google.bigtable.v2; /** - * - * *
  * Feature flags supported by a client.
  * This is intended to be sent as part of request metadata to assure the server
@@ -34,51 +17,63 @@
  *
  * Protobuf type {@code google.bigtable.v2.FeatureFlags}
  */
-public final class FeatureFlags extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FeatureFlags extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.FeatureFlags)
     FeatureFlagsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FeatureFlags.newBuilder() to construct.
   private FeatureFlags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FeatureFlags() {}
+  private FeatureFlags() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FeatureFlags();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.FeatureFlagsProto
-        .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.FeatureFlagsProto
-        .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.FeatureFlags.class,
-            com.google.bigtable.v2.FeatureFlags.Builder.class);
+            com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
+  }
+
+  public static final int REVERSE_SCANS_FIELD_NUMBER = 1;
+  private boolean reverseScans_ = false;
+  /**
+   * 
+   * Notify the server that the client supports reverse scans. The server will
+   * reject ReadRowsRequests with the reverse bit set when this is absent.
+   * 
+ * + * bool reverse_scans = 1; + * @return The reverseScans. + */ + @java.lang.Override + public boolean getReverseScans() { + return reverseScans_; } public static final int MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER = 3; private boolean mutateRowsRateLimit_ = false; /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse.
    * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -87,7 +82,6 @@ public boolean getMutateRowsRateLimit() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +93,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 (reverseScans_ != false) { + output.writeBool(1, reverseScans_); + } if (mutateRowsRateLimit_ != false) { output.writeBool(3, mutateRowsRateLimit_); } @@ -112,8 +110,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (reverseScans_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, reverseScans_); + } if (mutateRowsRateLimit_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, mutateRowsRateLimit_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, mutateRowsRateLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,14 +126,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.FeatureFlags)) { return super.equals(obj); } com.google.bigtable.v2.FeatureFlags other = (com.google.bigtable.v2.FeatureFlags) obj; - if (getMutateRowsRateLimit() != other.getMutateRowsRateLimit()) return false; + if (getReverseScans() + != other.getReverseScans()) return false; + if (getMutateRowsRateLimit() + != other.getMutateRowsRateLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +148,110 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REVERSE_SCANS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReverseScans()); hash = (37 * hash) + MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMutateRowsRateLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMutateRowsRateLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.FeatureFlags parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.FeatureFlags parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.FeatureFlags parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.FeatureFlags parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.FeatureFlags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Feature flags supported by a client.
    * This is intended to be sent as part of request metadata to assure the server
@@ -259,44 +265,46 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.FeatureFlags}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FeatureFlags)
       com.google.bigtable.v2.FeatureFlagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.FeatureFlags.class,
-              com.google.bigtable.v2.FeatureFlags.Builder.class);
+              com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.FeatureFlags.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
+      reverseScans_ = false;
       mutateRowsRateLimit_ = false;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
@@ -316,9 +324,7 @@ public com.google.bigtable.v2.FeatureFlags build() {
     @java.lang.Override
     public com.google.bigtable.v2.FeatureFlags buildPartial() {
       com.google.bigtable.v2.FeatureFlags result = new com.google.bigtable.v2.FeatureFlags(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -326,6 +332,9 @@ public com.google.bigtable.v2.FeatureFlags buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
+        result.reverseScans_ = reverseScans_;
+      }
+      if (((from_bitField0_ & 0x00000002) != 0)) {
         result.mutateRowsRateLimit_ = mutateRowsRateLimit_;
       }
     }
@@ -334,39 +343,38 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.FeatureFlags) {
-        return mergeFrom((com.google.bigtable.v2.FeatureFlags) other);
+        return mergeFrom((com.google.bigtable.v2.FeatureFlags)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -375,6 +383,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.bigtable.v2.FeatureFlags other) {
       if (other == com.google.bigtable.v2.FeatureFlags.getDefaultInstance()) return this;
+      if (other.getReverseScans() != false) {
+        setReverseScans(other.getReverseScans());
+      }
       if (other.getMutateRowsRateLimit() != false) {
         setMutateRowsRateLimit(other.getMutateRowsRateLimit());
       }
@@ -404,19 +415,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 24:
-              {
-                mutateRowsRateLimit_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              reverseScans_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 24: {
+              mutateRowsRateLimit_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            default: {
+              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,20 +440,63 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean mutateRowsRateLimit_;
+    private boolean reverseScans_ ;
     /**
+     * 
+     * Notify the server that the client supports reverse scans. The server will
+     * reject ReadRowsRequests with the reverse bit set when this is absent.
+     * 
* + * bool reverse_scans = 1; + * @return The reverseScans. + */ + @java.lang.Override + public boolean getReverseScans() { + return reverseScans_; + } + /** + *
+     * Notify the server that the client supports reverse scans. The server will
+     * reject ReadRowsRequests with the reverse bit set when this is absent.
+     * 
* + * bool reverse_scans = 1; + * @param value The reverseScans to set. + * @return This builder for chaining. + */ + public Builder setReverseScans(boolean value) { + + reverseScans_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Notify the server that the client supports reverse scans. The server will
+     * reject ReadRowsRequests with the reverse bit set when this is absent.
+     * 
+ * + * bool reverse_scans = 1; + * @return This builder for chaining. + */ + public Builder clearReverseScans() { + bitField0_ = (bitField0_ & ~0x00000001); + reverseScans_ = false; + onChanged(); + return this; + } + + private boolean mutateRowsRateLimit_ ; + /** *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse.
      * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -447,46 +504,40 @@ public boolean getMutateRowsRateLimit() { return mutateRowsRateLimit_; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse.
      * 
* * bool mutate_rows_rate_limit = 3; - * * @param value The mutateRowsRateLimit to set. * @return This builder for chaining. */ public Builder setMutateRowsRateLimit(boolean value) { mutateRowsRateLimit_ = value; - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse.
      * 
* * bool mutate_rows_rate_limit = 3; - * * @return This builder for chaining. */ public Builder clearMutateRowsRateLimit() { - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); mutateRowsRateLimit_ = 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); } @@ -496,12 +547,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FeatureFlags) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.FeatureFlags) private static final com.google.bigtable.v2.FeatureFlags DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.FeatureFlags(); } @@ -510,27 +561,27 @@ public static com.google.bigtable.v2.FeatureFlags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeatureFlags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeatureFlags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -545,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.FeatureFlags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java new file mode 100644 index 0000000000..8801139048 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/feature_flags.proto + +package com.google.bigtable.v2; + +public interface FeatureFlagsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FeatureFlags) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Notify the server that the client supports reverse scans. The server will
+   * reject ReadRowsRequests with the reverse bit set when this is absent.
+   * 
+ * + * bool reverse_scans = 1; + * @return The reverseScans. + */ + boolean getReverseScans(); + + /** + *
+   * Notify the server that the client enables batch write flow control by
+   * requesting RateLimitInfo from MutateRowsResponse.
+   * 
+ * + * bool mutate_rows_rate_limit = 3; + * @return The mutateRowsRateLimit. + */ + boolean getMutateRowsRateLimit(); +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java new file mode 100644 index 0000000000..eef2c4fac1 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/feature_flags.proto + +package com.google.bigtable.v2; + +public final class FeatureFlagsProto { + private FeatureFlagsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_FeatureFlags_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/bigtable/v2/feature_flags.proto" + + "\022\022google.bigtable.v2\"E\n\014FeatureFlags\022\025\n\r" + + "reverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate_" + + "limit\030\003 \001(\010B\275\001\n\026com.google.bigtable.v2B\021" + + "FeatureFlagsProtoP\001Z:google.golang.org/g" + + "enproto/googleapis/bigtable/v2;bigtable\252" + + "\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Clou" + + "d\\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_FeatureFlags_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_FeatureFlags_descriptor, + new java.lang.String[] { "ReverseScans", "MutateRowsRateLimit", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java index 2828e6bcc6..3c667a798d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java @@ -1,70 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; /** - * - * *
  * FullReadStatsView captures all known information about a read.
  * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ -public final class FullReadStatsView extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FullReadStatsView extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.FullReadStatsView) FullReadStatsViewOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FullReadStatsView.newBuilder() to construct. private FullReadStatsView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FullReadStatsView() {} + private FullReadStatsView() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FullReadStatsView(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, - com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } public static final int READ_ITERATION_STATS_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -73,7 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ @java.lang.Override @@ -81,8 +60,6 @@ public boolean hasReadIterationStats() { return readIterationStats_ != null; } /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -91,18 +68,13 @@ public boolean hasReadIterationStats() {
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ @java.lang.Override public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { - return readIterationStats_ == null - ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() - : readIterationStats_; + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -114,23 +86,18 @@ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() {
-    return readIterationStats_ == null
-        ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
-        : readIterationStats_;
+    return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
   }
 
   public static final int REQUEST_LATENCY_STATS_FIELD_NUMBER = 2;
   private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
   /**
-   *
-   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ @java.lang.Override @@ -138,26 +105,19 @@ public boolean hasRequestLatencyStats() { return requestLatencyStats_ != null; } /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ @java.lang.Override public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; + return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; } /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
@@ -167,13 +127,10 @@ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() {
-    return requestLatencyStats_ == null
-        ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
-        : requestLatencyStats_;
+    return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +142,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (readIterationStats_ != null) {
       output.writeMessage(1, getReadIterationStats());
     }
@@ -202,10 +160,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (readIterationStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIterationStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReadIterationStats());
     }
     if (requestLatencyStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestLatencyStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRequestLatencyStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,7 +175,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.FullReadStatsView)) {
       return super.equals(obj);
@@ -224,11 +184,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasReadIterationStats() != other.hasReadIterationStats()) return false;
     if (hasReadIterationStats()) {
-      if (!getReadIterationStats().equals(other.getReadIterationStats())) return false;
+      if (!getReadIterationStats()
+          .equals(other.getReadIterationStats())) return false;
     }
     if (hasRequestLatencyStats() != other.hasRequestLatencyStats()) return false;
     if (hasRequestLatencyStats()) {
-      if (!getRequestLatencyStats().equals(other.getRequestLatencyStats())) return false;
+      if (!getRequestLatencyStats()
+          .equals(other.getRequestLatencyStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -254,136 +216,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.FullReadStatsView parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.FullReadStatsView prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * FullReadStatsView captures all known information about a read.
    * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FullReadStatsView) com.google.bigtable.v2.FullReadStatsViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, - com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } // Construct using com.google.bigtable.v2.FullReadStatsView.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override @@ -423,11 +381,8 @@ public com.google.bigtable.v2.FullReadStatsView build() { @java.lang.Override public com.google.bigtable.v2.FullReadStatsView buildPartial() { - com.google.bigtable.v2.FullReadStatsView result = - new com.google.bigtable.v2.FullReadStatsView(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.FullReadStatsView result = new com.google.bigtable.v2.FullReadStatsView(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,16 +390,14 @@ public com.google.bigtable.v2.FullReadStatsView buildPartial() { private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readIterationStats_ = - readIterationStatsBuilder_ == null - ? readIterationStats_ - : readIterationStatsBuilder_.build(); + result.readIterationStats_ = readIterationStatsBuilder_ == null + ? readIterationStats_ + : readIterationStatsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestLatencyStats_ = - requestLatencyStatsBuilder_ == null - ? requestLatencyStats_ - : requestLatencyStatsBuilder_.build(); + result.requestLatencyStats_ = requestLatencyStatsBuilder_ == null + ? requestLatencyStats_ + : requestLatencyStatsBuilder_.build(); } } @@ -452,39 +405,38 @@ private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.FullReadStatsView) { - return mergeFrom((com.google.bigtable.v2.FullReadStatsView) other); + return mergeFrom((com.google.bigtable.v2.FullReadStatsView)other); } else { super.mergeFrom(other); return this; @@ -525,27 +477,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getReadIterationStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadIterationStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestLatencyStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,18 +506,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIterationStats, - com.google.bigtable.v2.ReadIterationStats.Builder, - com.google.bigtable.v2.ReadIterationStatsOrBuilder> - readIterationStatsBuilder_; + com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> readIterationStatsBuilder_; /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -575,15 +520,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ public boolean hasReadIterationStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -592,21 +534,16 @@ public boolean hasReadIterationStats() {
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { if (readIterationStatsBuilder_ == null) { - return readIterationStats_ == null - ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() - : readIterationStats_; + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } else { return readIterationStatsBuilder_.getMessage(); } } /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -630,8 +567,6 @@ public Builder setReadIterationStats(com.google.bigtable.v2.ReadIterationStats v
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -653,8 +588,6 @@ public Builder setReadIterationStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -666,10 +599,9 @@ public Builder setReadIterationStats(
      */
     public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) {
       if (readIterationStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && readIterationStats_ != null
-            && readIterationStats_
-                != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          readIterationStats_ != null &&
+          readIterationStats_ != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
           getReadIterationStatsBuilder().mergeFrom(value);
         } else {
           readIterationStats_ = value;
@@ -682,8 +614,6 @@ public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -704,8 +634,6 @@ public Builder clearReadIterationStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -721,8 +649,6 @@ public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBu
       return getReadIterationStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -736,14 +662,11 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
       if (readIterationStatsBuilder_ != null) {
         return readIterationStatsBuilder_.getMessageOrBuilder();
       } else {
-        return readIterationStats_ == null
-            ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
-            : readIterationStats_;
+        return readIterationStats_ == null ?
+            com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -754,17 +677,14 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
      * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.ReadIterationStats,
-            com.google.bigtable.v2.ReadIterationStats.Builder,
-            com.google.bigtable.v2.ReadIterationStatsOrBuilder>
+        com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> 
         getReadIterationStatsFieldBuilder() {
       if (readIterationStatsBuilder_ == null) {
-        readIterationStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.ReadIterationStats,
-                com.google.bigtable.v2.ReadIterationStats.Builder,
-                com.google.bigtable.v2.ReadIterationStatsOrBuilder>(
-                getReadIterationStats(), getParentForChildren(), isClean());
+        readIterationStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder>(
+                getReadIterationStats(),
+                getParentForChildren(),
+                isClean());
         readIterationStats_ = null;
       }
       return readIterationStatsBuilder_;
@@ -772,49 +692,36 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
 
     private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestLatencyStats,
-            com.google.bigtable.v2.RequestLatencyStats.Builder,
-            com.google.bigtable.v2.RequestLatencyStatsOrBuilder>
-        requestLatencyStatsBuilder_;
+        com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder> requestLatencyStatsBuilder_;
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ public boolean hasRequestLatencyStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { if (requestLatencyStatsBuilder_ == null) { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; + return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; } else { return requestLatencyStatsBuilder_.getMessage(); } } /** - * - * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -836,8 +743,6 @@ public Builder setRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -857,8 +762,6 @@ public Builder setRequestLatencyStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -868,10 +771,9 @@ public Builder setRequestLatencyStats(
      */
     public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) {
       if (requestLatencyStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && requestLatencyStats_ != null
-            && requestLatencyStats_
-                != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          requestLatencyStats_ != null &&
+          requestLatencyStats_ != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
           getRequestLatencyStatsBuilder().mergeFrom(value);
         } else {
           requestLatencyStats_ = value;
@@ -884,8 +786,6 @@ public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencySta
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -904,8 +804,6 @@ public Builder clearRequestLatencyStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -919,8 +817,6 @@ public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStats
       return getRequestLatencyStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -932,14 +828,11 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
       if (requestLatencyStatsBuilder_ != null) {
         return requestLatencyStatsBuilder_.getMessageOrBuilder();
       } else {
-        return requestLatencyStats_ == null
-            ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
-            : requestLatencyStats_;
+        return requestLatencyStats_ == null ?
+            com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -948,24 +841,21 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
      * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestLatencyStats,
-            com.google.bigtable.v2.RequestLatencyStats.Builder,
-            com.google.bigtable.v2.RequestLatencyStatsOrBuilder>
+        com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder> 
         getRequestLatencyStatsFieldBuilder() {
       if (requestLatencyStatsBuilder_ == null) {
-        requestLatencyStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RequestLatencyStats,
-                com.google.bigtable.v2.RequestLatencyStats.Builder,
-                com.google.bigtable.v2.RequestLatencyStatsOrBuilder>(
-                getRequestLatencyStats(), getParentForChildren(), isClean());
+        requestLatencyStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder>(
+                getRequestLatencyStats(),
+                getParentForChildren(),
+                isClean());
         requestLatencyStats_ = null;
       }
       return requestLatencyStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -975,12 +865,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FullReadStatsView)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.FullReadStatsView)
   private static final com.google.bigtable.v2.FullReadStatsView DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.FullReadStatsView();
   }
@@ -989,27 +879,27 @@ public static com.google.bigtable.v2.FullReadStatsView getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FullReadStatsView parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FullReadStatsView parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1024,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
similarity index 78%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
index e98b57f732..1b0c49af90 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface FullReadStatsViewOrBuilder
-    extends
+public interface FullReadStatsViewOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FullReadStatsView)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -34,13 +16,10 @@ public interface FullReadStatsViewOrBuilder
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ boolean hasReadIterationStats(); /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -49,13 +28,10 @@ public interface FullReadStatsViewOrBuilder
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ com.google.bigtable.v2.ReadIterationStats getReadIterationStats(); /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -68,34 +44,26 @@ public interface FullReadStatsViewOrBuilder
   com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ boolean hasRequestLatencyStats(); /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats(); /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
similarity index 63%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
index 92e6ea0edd..fef510e911 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
  */
-public final class GenerateInitialChangeStreamPartitionsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateInitialChangeStreamPartitionsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
     GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsRequest.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateInitialChangeStreamPartitionsRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -47,32 +27,28 @@ private GenerateInitialChangeStreamPartitionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -80,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -92,15 +65,14 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -108,18 +80,17 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -128,12 +99,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -141,7 +109,6 @@ public com.google.protobuf.ByteString getTableNameBytes() {
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -150,15 +117,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -166,15 +132,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -183,7 +150,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -225,16 +192,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,105 +224,98 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { + public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -362,33 +323,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,16 +360,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-        getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-          .getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -422,17 +381,13 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest build
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result =
-          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
+    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.tableName_ = tableName_;
@@ -446,51 +401,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) {
-        return mergeFrom(
-            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) other);
+        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
-      if (other
-          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
+      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance()) return this;
       if (!other.getTableName().isEmpty()) {
         tableName_ = other.tableName_;
         bitField0_ |= 0x00000001;
@@ -527,25 +477,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                appProfileId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              appProfileId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -555,13 +502,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object tableName_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -569,16 +513,14 @@ public Builder mergeFrom(
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -587,8 +529,6 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -596,17 +536,16 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -614,8 +553,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -623,25 +560,19 @@ public com.google.protobuf.ByteString getTableNameBytes() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -649,10 +580,7 @@ public Builder setTableName(java.lang.String value) {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -662,8 +590,6 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -671,17 +597,13 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -691,8 +613,6 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -700,13 +620,13 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -715,8 +635,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -724,14 +642,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -739,8 +658,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -748,22 +665,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -771,7 +684,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -781,8 +693,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -790,23 +700,21 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,59 +724,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java index f488a7b681..db460c51a1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder - extends +public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -33,16 +15,11 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -50,17 +27,13 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -68,13 +41,10 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -82,8 +52,8 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java similarity index 60% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java index d35a5ca0f6..19b77e2f38 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
  */
-public final class GenerateInitialChangeStreamPartitionsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateInitialChangeStreamPartitionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
     GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsResponse.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private GenerateInitialChangeStreamPartitionsResponse() {}
+  private GenerateInitialChangeStreamPartitionsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
   }
 
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
-   *
-   *
    * 
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -81,25 +58,18 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * A partition of the change stream.
    * 
@@ -108,13 +78,10 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +93,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partition_ != null) { output.writeMessage(1, getPartition()); } @@ -140,7 +108,8 @@ public int getSerializedSize() { size = 0; if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +119,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,105 +152,98 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { + public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -289,33 +251,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,16 +291,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-        getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-          .getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -352,20 +312,18 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buil
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result =
-          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
+    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
       }
     }
 
@@ -373,51 +331,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) {
-        return mergeFrom(
-            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) other);
+        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
-      if (other
-          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
+      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance()) return this;
       if (other.hasPartition()) {
         mergePartition(other.getPartition());
       }
@@ -447,19 +400,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -469,52 +422,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamPartition,
-            com.google.bigtable.v2.StreamPartition.Builder,
-            com.google.bigtable.v2.StreamPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * A partition of the change stream.
      * 
@@ -535,15 +474,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -554,8 +492,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -564,9 +500,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -579,8 +515,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -598,8 +532,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -612,8 +544,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * A partition of the change stream.
      * 
@@ -624,14 +554,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * A partition of the change stream.
      * 
@@ -639,24 +566,21 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -666,59 +590,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java index 67fa71db7b..c8c79888d2 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder - extends +public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * A partition of the change stream.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java index f021a3fbc6..826c7cb2bf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowRequest} */ -public final class MutateRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowRequest) MutateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowRequest.newBuilder() to construct. private MutateRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -46,42 +28,35 @@ private MutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, - com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -125,19 +98,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ @java.lang.Override @@ -146,30 +115,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,14 +149,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -196,98 +162,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List mutations_; /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -325,10 +271,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, rowKey_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, mutations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_); @@ -341,17 +289,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowRequest)) { return super.equals(obj); } com.google.bigtable.v2.MutateRowRequest other = (com.google.bigtable.v2.MutateRowRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,136 +330,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.MutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowRequest) com.google.bigtable.v2.MutateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, - com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override @@ -547,12 +495,9 @@ public com.google.bigtable.v2.MutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowRequest buildPartial() { - com.google.bigtable.v2.MutateRowRequest result = - new com.google.bigtable.v2.MutateRowRequest(this); + com.google.bigtable.v2.MutateRowRequest result = new com.google.bigtable.v2.MutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -586,39 +531,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -658,10 +602,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000008); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -693,43 +636,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -739,29 +679,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -770,25 +705,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -796,43 +728,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -842,25 +763,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -870,21 +785,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -893,22 +806,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -916,37 +828,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -956,22 +861,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -981,14 +882,11 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -996,35 +894,27 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1035,33 +925,25 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationsBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -1071,17 +953,13 @@ public java.util.List getMutationsList() { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -1091,17 +969,13 @@ public int getMutationsCount() { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -1111,19 +985,16 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1137,17 +1008,13 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1161,17 +1028,13 @@ public Builder setMutations( return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -1187,19 +1050,16 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1213,19 +1073,16 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -1236,17 +1093,13 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1260,23 +1113,20 @@ public Builder addMutations( return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -1284,17 +1134,13 @@ public Builder addAllMutations( return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -1307,17 +1153,13 @@ public Builder clearMutations() { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -1330,56 +1172,45 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1387,75 +1218,62 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1465,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowRequest) private static final com.google.bigtable.v2.MutateRowRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowRequest(); } @@ -1479,27 +1297,27 @@ public static com.google.bigtable.v2.MutateRowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1514,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java index 3bb86b6295..e2ca3d477d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -1,169 +1,119 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface MutateRowRequestOrBuilder - extends +public interface MutateRowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.Mutation getMutations(int index); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); + com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java index c8d0e069bf..b946b1117a 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java @@ -1,67 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ -public final class MutateRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowResponse) MutateRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowResponse.newBuilder() to construct. private MutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutateRowResponse() {} + private MutateRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, - com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -91,7 +73,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowResponse)) { return super.equals(obj); @@ -114,136 +96,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.MutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowResponse) com.google.bigtable.v2.MutateRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, - com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -251,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override @@ -272,8 +250,7 @@ public com.google.bigtable.v2.MutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowResponse buildPartial() { - com.google.bigtable.v2.MutateRowResponse result = - new com.google.bigtable.v2.MutateRowResponse(this); + com.google.bigtable.v2.MutateRowResponse result = new com.google.bigtable.v2.MutateRowResponse(this); onBuilt(); return result; } @@ -282,39 +259,38 @@ public com.google.bigtable.v2.MutateRowResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -349,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -365,9 +340,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -377,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowResponse) private static final com.google.bigtable.v2.MutateRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowResponse(); } @@ -391,27 +366,27 @@ public static com.google.bigtable.v2.MutateRowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -426,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java new file mode 100644 index 0000000000..10333c3818 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public interface MutateRowResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index b6538ff0cf..02d18e2160 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest} */ -public final class MutateRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest) MutateRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowsRequest.newBuilder() to construct. private MutateRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowsRequest() { tableName_ = ""; appProfileId_ = ""; @@ -45,133 +27,108 @@ private MutateRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, - com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); } - public interface EntryOrBuilder - extends + public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.Mutation getMutations(int index); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); + com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index); } /** - * - * *
    * A mutation for a given row.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */ - public static final class Entry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Entry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entry() { rowKey_ = com.google.protobuf.ByteString.EMPTY; mutations_ = java.util.Collections.emptyList(); @@ -179,36 +136,32 @@ private Entry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -217,98 +170,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List mutations_; /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -337,10 +270,12 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mutations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -350,16 +285,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowsRequest.Entry)) { return super.equals(obj); } - com.google.bigtable.v2.MutateRowsRequest.Entry other = - (com.google.bigtable.v2.MutateRowsRequest.Entry) obj; + com.google.bigtable.v2.MutateRowsRequest.Entry other = (com.google.bigtable.v2.MutateRowsRequest.Entry) obj; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -382,94 +318,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowsRequest.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -479,41 +411,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A mutation for a given row.
      * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsRequest.Entry) com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsRequest.Entry.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -530,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override @@ -551,18 +481,14 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsRequest.Entry result = - new com.google.bigtable.v2.MutateRowsRequest.Entry(this); + com.google.bigtable.v2.MutateRowsRequest.Entry result = new com.google.bigtable.v2.MutateRowsRequest.Entry(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.MutateRowsRequest.Entry result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.MutateRowsRequest.Entry result) { if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); @@ -585,41 +511,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest.Entry result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry)other); } else { super.mergeFrom(other); return this; @@ -627,8 +550,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { - if (other == com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()) return this; if (other.getRowKey() != com.google.protobuf.ByteString.EMPTY) { setRowKey(other.getRowKey()); } @@ -650,10 +572,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000002); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -685,32 +606,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -720,19 +639,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -740,35 +655,27 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -779,33 +686,25 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationsBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -815,17 +714,13 @@ public java.util.List getMutationsList() { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -835,17 +730,13 @@ public int getMutationsCount() { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -855,19 +746,16 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -881,17 +769,13 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -905,17 +789,13 @@ public Builder setMutations( return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -931,19 +811,16 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -957,19 +834,16 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -980,17 +854,13 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1004,23 +874,20 @@ public Builder addMutations( return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -1028,17 +895,13 @@ public Builder addAllMutations( return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -1051,17 +914,13 @@ public Builder clearMutations() { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -1074,56 +933,45 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1131,73 +979,59 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1210,12 +1044,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsRequest.Entry) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsRequest.Entry) private static final com.google.bigtable.v2.MutateRowsRequest.Entry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsRequest.Entry(); } @@ -1224,28 +1058,27 @@ public static com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,24 +1093,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -1286,32 +1114,30 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1320,19 +1146,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ @java.lang.Override @@ -1341,30 +1163,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1373,12 +1195,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } public static final int ENTRIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List entries_; /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1387,17 +1206,13 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1406,18 +1221,14 @@ public java.util.List getEntries
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1426,17 +1237,13 @@ public java.util.List getEntries
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1445,17 +1252,13 @@ public int getEntriesCount() {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1464,17 +1267,15 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1486,7 +1287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -1509,7 +1311,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, appProfileId_); @@ -1522,16 +1325,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.MutateRowsRequest other = (com.google.bigtable.v2.MutateRowsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getEntriesList().equals(other.getEntriesList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1556,136 +1362,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableService.MutateRows.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsRequest) com.google.bigtable.v2.MutateRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, - com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1703,9 +1505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override @@ -1724,12 +1526,9 @@ public com.google.bigtable.v2.MutateRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest buildPartial() { - com.google.bigtable.v2.MutateRowsRequest result = - new com.google.bigtable.v2.MutateRowsRequest(this); + com.google.bigtable.v2.MutateRowsRequest result = new com.google.bigtable.v2.MutateRowsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1760,39 +1559,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -1829,10 +1627,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000004); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1864,38 +1661,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.MutateRowsRequest.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.bigtable.v2.MutateRowsRequest.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1905,28 +1699,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1935,24 +1724,21 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1960,41 +1746,30 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -2004,24 +1779,18 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -2031,21 +1800,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -2054,22 +1821,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -2077,37 +1843,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -2117,22 +1876,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -2141,25 +1896,18 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { } private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - entries_ = - new java.util.ArrayList(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> - entriesBuilder_; + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> entriesBuilder_; /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2168,9 +1916,7 @@ private void ensureEntriesIsMutable() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getEntriesList() { if (entriesBuilder_ == null) { @@ -2180,8 +1926,6 @@ public java.util.List getEntries } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2190,9 +1934,7 @@ public java.util.List getEntries
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -2202,8 +1944,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2212,9 +1952,7 @@ public int getEntriesCount() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { if (entriesBuilder_ == null) { @@ -2224,8 +1962,6 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2234,11 +1970,10 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { + public Builder setEntries( + int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2252,8 +1987,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2262,9 +1995,7 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntries( int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2278,8 +2009,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2288,9 +2017,7 @@ public Builder setEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { @@ -2306,8 +2033,6 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value) return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2316,11 +2041,10 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value)
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { + public Builder addEntries( + int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2334,8 +2058,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2344,9 +2066,7 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries( com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2360,8 +2080,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2370,9 +2088,7 @@ public Builder addEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries( int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2386,8 +2102,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2396,15 +2110,14 @@ public Builder addEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -2412,8 +2125,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2422,9 +2133,7 @@ public Builder addAllEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -2437,8 +2146,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2447,9 +2154,7 @@ public Builder clearEntries() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -2462,8 +2167,6 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2472,16 +2175,13 @@ public Builder removeEntries(int index) {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2490,20 +2190,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2512,12 +2208,10 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -2525,8 +2219,6 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2535,17 +2227,13 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2554,17 +2242,14 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); + public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2573,34 +2258,29 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2610,12 +2290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsRequest) private static final com.google.bigtable.v2.MutateRowsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsRequest(); } @@ -2624,27 +2304,27 @@ public static com.google.bigtable.v2.MutateRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2659,4 +2339,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java index 483d0f714f..633d5e0fc7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java @@ -1,89 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface MutateRowsRequestOrBuilder - extends +public interface MutateRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -92,14 +60,11 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -108,14 +73,10 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -124,14 +85,10 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getEntriesCount(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -140,15 +97,11 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -157,9 +110,8 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java index ceb8bf9aec..222029c3b0 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java @@ -1,89 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ -public final class MutateRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse) MutateRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowsResponse.newBuilder() to construct. private MutateRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowsResponse() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, - com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); } - public interface EntryOrBuilder - extends + public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; - * * @return The index. */ long getIndex(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -92,13 +67,10 @@ public interface EntryOrBuilder
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -107,13 +79,10 @@ public interface EntryOrBuilder
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -126,59 +95,53 @@ public interface EntryOrBuilder
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
-   *
-   *
    * 
    * The result of applying a passed mutation in the original request.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry} */ - public static final class Entry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Entry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Entry() {} + private Entry() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private long index_ = 0L; /** - * - * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -189,8 +152,6 @@ public long getIndex() { public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -199,7 +160,6 @@ public long getIndex() {
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -207,8 +167,6 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -217,7 +175,6 @@ public boolean hasStatus() {
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -225,8 +182,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -242,7 +197,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -254,7 +208,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (index_ != 0L) {
         output.writeInt64(1, index_);
       }
@@ -271,10 +226,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (index_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, index_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt64Size(1, index_);
       }
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -284,18 +241,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.MutateRowsResponse.Entry)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.MutateRowsResponse.Entry other =
-          (com.google.bigtable.v2.MutateRowsResponse.Entry) obj;
+      com.google.bigtable.v2.MutateRowsResponse.Entry other = (com.google.bigtable.v2.MutateRowsResponse.Entry) obj;
 
-      if (getIndex() != other.getIndex()) return false;
+      if (getIndex()
+          != other.getIndex()) return false;
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -309,7 +267,8 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + INDEX_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIndex());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+          getIndex());
       if (hasStatus()) {
         hash = (37 * hash) + STATUS_FIELD_NUMBER;
         hash = (53 * hash) + getStatus().hashCode();
@@ -320,93 +279,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.MutateRowsResponse.Entry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -416,41 +371,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The result of applying a passed mutation in the original request.
      * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsResponse.Entry) com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsResponse.Entry.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override @@ -486,11 +439,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsResponse.Entry result = - new com.google.bigtable.v2.MutateRowsResponse.Entry(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.MutateRowsResponse.Entry result = new com.google.bigtable.v2.MutateRowsResponse.Entry(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -501,7 +451,9 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul result.index_ = index_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); } } @@ -509,41 +461,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry)other); } else { super.mergeFrom(other); return this; @@ -551,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.MutateRowsResponse.Entry other) { - if (other == com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()) return this; if (other.getIndex() != 0L) { setIndex(other.getIndex()); } @@ -585,25 +533,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,20 +560,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long index_; + private long index_ ; /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -634,15 +577,12 @@ public long getIndex() { return index_; } /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ @@ -654,15 +594,12 @@ public Builder setIndex(long value) { return this; } /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -674,11 +611,8 @@ public Builder clearIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -687,15 +621,12 @@ public Builder clearIndex() {
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -704,7 +635,6 @@ public boolean hasStatus() {
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -715,8 +645,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -740,8 +668,6 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -751,7 +677,8 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(
+          com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
         } else {
@@ -762,8 +689,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -775,9 +700,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
        */
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && status_ != null
-              && status_ != com.google.rpc.Status.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            status_ != null &&
+            status_ != com.google.rpc.Status.getDefaultInstance()) {
             getStatusBuilder().mergeFrom(value);
           } else {
             status_ = value;
@@ -790,8 +715,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -812,8 +735,6 @@ public Builder clearStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -829,8 +750,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
         return getStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -844,12 +763,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ?
+              com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -860,19 +778,18 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.rpc.Status,
-                  com.google.rpc.Status.Builder,
-                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                  getStatus(),
+                  getParentForChildren(),
+                  isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -885,12 +802,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsResponse.Entry)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsResponse.Entry)
     private static final com.google.bigtable.v2.MutateRowsResponse.Entry DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsResponse.Entry();
     }
@@ -899,28 +816,27 @@ public static com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstance
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Entry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Entry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -935,16 +851,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   public static final int ENTRIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
@@ -956,8 +870,6 @@ public java.util.List getEntrie return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -965,13 +877,11 @@ public java.util.List getEntrie * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -983,8 +893,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -996,8 +904,6 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -1005,15 +911,14 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } public static final int RATE_LIMIT_INFO_FIELD_NUMBER = 3; private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1021,7 +926,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ @java.lang.Override @@ -1029,8 +933,6 @@ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1038,18 +940,13 @@ public boolean hasRateLimitInfo() {
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ @java.lang.Override public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { - return rateLimitInfo_ == null - ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() - : rateLimitInfo_; + return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; } /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1060,13 +957,10 @@ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder() {
-    return rateLimitInfo_ == null
-        ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
-        : rateLimitInfo_;
+    return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1078,7 +972,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < entries_.size(); i++) {
       output.writeMessage(1, entries_.get(i));
     }
@@ -1095,10 +990,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < entries_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, entries_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimitInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRateLimitInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1108,18 +1005,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.MutateRowsResponse)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.MutateRowsResponse other =
-        (com.google.bigtable.v2.MutateRowsResponse) obj;
+    com.google.bigtable.v2.MutateRowsResponse other = (com.google.bigtable.v2.MutateRowsResponse) obj;
 
-    if (!getEntriesList().equals(other.getEntriesList())) return false;
+    if (!getEntriesList()
+        .equals(other.getEntriesList())) return false;
     if (hasRateLimitInfo() != other.hasRateLimitInfo()) return false;
     if (hasRateLimitInfo()) {
-      if (!getRateLimitInfo().equals(other.getRateLimitInfo())) return false;
+      if (!getRateLimitInfo()
+          .equals(other.getRateLimitInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1145,127 +1043,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.MutateRowsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.MutateRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for BigtableService.MutateRows.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsResponse) com.google.bigtable.v2.MutateRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, - com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsResponse.newBuilder() @@ -1273,18 +1164,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntriesFieldBuilder(); getRateLimitInfoFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1196,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override @@ -1326,12 +1217,9 @@ public com.google.bigtable.v2.MutateRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse buildPartial() { - com.google.bigtable.v2.MutateRowsResponse result = - new com.google.bigtable.v2.MutateRowsResponse(this); + com.google.bigtable.v2.MutateRowsResponse result = new com.google.bigtable.v2.MutateRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1352,8 +1240,9 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.rateLimitInfo_ = - rateLimitInfoBuilder_ == null ? rateLimitInfo_ : rateLimitInfoBuilder_.build(); + result.rateLimitInfo_ = rateLimitInfoBuilder_ == null + ? rateLimitInfo_ + : rateLimitInfoBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1363,39 +1252,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -1422,10 +1310,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsResponse other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1460,33 +1347,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.MutateRowsResponse.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 26: - { - input.readMessage(getRateLimitInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.MutateRowsResponse.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 26: { + input.readMessage( + getRateLimitInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1496,29 +1382,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> - entriesBuilder_; + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> entriesBuilder_; /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1533,8 +1411,6 @@ public java.util.List getEntrie } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1549,8 +1425,6 @@ public int getEntriesCount() { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1565,15 +1439,14 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { + public Builder setEntries( + int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1587,8 +1460,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1607,8 +1478,6 @@ public Builder setEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1629,15 +1498,14 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsResponse.Entry value) return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { + public Builder addEntries( + int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1651,8 +1519,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1671,8 +1537,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1691,8 +1555,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1703,7 +1565,8 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -1711,8 +1574,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1730,8 +1591,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1749,44 +1608,39 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder getEntriesBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -1794,8 +1648,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1803,48 +1655,42 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); + public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; @@ -1852,13 +1698,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RateLimitInfo, - com.google.bigtable.v2.RateLimitInfo.Builder, - com.google.bigtable.v2.RateLimitInfoOrBuilder> - rateLimitInfoBuilder_; + com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> rateLimitInfoBuilder_; /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1866,15 +1707,12 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1882,21 +1720,16 @@ public boolean hasRateLimitInfo() {
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { if (rateLimitInfoBuilder_ == null) { - return rateLimitInfo_ == null - ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() - : rateLimitInfo_; + return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; } else { return rateLimitInfoBuilder_.getMessage(); } } /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1919,8 +1752,6 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1929,7 +1760,8 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
      *
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
-    public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
+    public Builder setRateLimitInfo(
+        com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
       if (rateLimitInfoBuilder_ == null) {
         rateLimitInfo_ = builderForValue.build();
       } else {
@@ -1940,8 +1772,6 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1952,9 +1782,9 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder bui
      */
     public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       if (rateLimitInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && rateLimitInfo_ != null
-            && rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          rateLimitInfo_ != null &&
+          rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
           getRateLimitInfoBuilder().mergeFrom(value);
         } else {
           rateLimitInfo_ = value;
@@ -1967,8 +1797,6 @@ public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1988,8 +1816,6 @@ public Builder clearRateLimitInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2004,8 +1830,6 @@ public com.google.bigtable.v2.RateLimitInfo.Builder getRateLimitInfoBuilder() {
       return getRateLimitInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2018,14 +1842,11 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
       if (rateLimitInfoBuilder_ != null) {
         return rateLimitInfoBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimitInfo_ == null
-            ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
-            : rateLimitInfo_;
+        return rateLimitInfo_ == null ?
+            com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2035,24 +1856,21 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RateLimitInfo,
-            com.google.bigtable.v2.RateLimitInfo.Builder,
-            com.google.bigtable.v2.RateLimitInfoOrBuilder>
+        com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> 
         getRateLimitInfoFieldBuilder() {
       if (rateLimitInfoBuilder_ == null) {
-        rateLimitInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RateLimitInfo,
-                com.google.bigtable.v2.RateLimitInfo.Builder,
-                com.google.bigtable.v2.RateLimitInfoOrBuilder>(
-                getRateLimitInfo(), getParentForChildren(), isClean());
+        rateLimitInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder>(
+                getRateLimitInfo(),
+                getParentForChildren(),
+                isClean());
         rateLimitInfo_ = null;
       }
       return rateLimitInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2062,12 +1880,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsResponse)
   private static final com.google.bigtable.v2.MutateRowsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsResponse();
   }
@@ -2076,27 +1894,27 @@ public static com.google.bigtable.v2.MutateRowsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MutateRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MutateRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2111,4 +1929,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.MutateRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
similarity index 77%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
index 8afab73c07..10b19662b4 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface MutateRowsResponseOrBuilder
-    extends
+public interface MutateRowsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -44,8 +25,6 @@ public interface MutateRowsResponseOrBuilder */ com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -54,30 +33,25 @@ public interface MutateRowsResponseOrBuilder */ int getEntriesCount(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -85,13 +59,10 @@ public interface MutateRowsResponseOrBuilder
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ boolean hasRateLimitInfo(); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -99,13 +70,10 @@ public interface MutateRowsResponseOrBuilder
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ com.google.bigtable.v2.RateLimitInfo getRateLimitInfo(); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
similarity index 72%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
index 63ca8083b1..12f9cdef19 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
@@ -1,112 +1,85 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specifies a particular change to be made to the contents of a row.
  * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ -public final class Mutation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Mutation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation) MutationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Mutation.newBuilder() to construct. private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Mutation() {} + private Mutation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Mutation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } - public interface SetCellOrBuilder - extends + public interface SetCellOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.SetCell) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -116,43 +89,36 @@ public interface SetCellOrBuilder
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ com.google.protobuf.ByteString getValue(); } /** - * - * *
    * A Mutation which sets the value of the specified cell.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.SetCell} */ - public static final class SetCell extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SetCell extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.SetCell) SetCellOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetCell.newBuilder() to construct. private SetCell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetCell() { familyName_ = ""; columnQualifier_ = com.google.protobuf.ByteString.EMPTY; @@ -161,39 +127,34 @@ private SetCell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetCell(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, - com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -202,30 +163,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -236,15 +197,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -255,8 +213,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 3; private long timestampMicros_ = 0L; /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -266,7 +222,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -277,14 +232,11 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -293,7 +245,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +256,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -331,13 +283,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, timestampMicros_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -347,17 +302,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.SetCell)) { return super.equals(obj); } com.google.bigtable.v2.Mutation.SetCell other = (com.google.bigtable.v2.Mutation.SetCell) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,7 +333,8 @@ public int hashCode() { hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -382,94 +342,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation.SetCell parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.SetCell prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -479,41 +435,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which sets the value of the specified cell.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.SetCell} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.SetCell) com.google.bigtable.v2.Mutation.SetCellOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, - com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.SetCell.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override @@ -547,11 +501,8 @@ public com.google.bigtable.v2.Mutation.SetCell build() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell buildPartial() { - com.google.bigtable.v2.Mutation.SetCell result = - new com.google.bigtable.v2.Mutation.SetCell(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.Mutation.SetCell result = new com.google.bigtable.v2.Mutation.SetCell(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -576,41 +527,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.SetCell result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.SetCell) { - return mergeFrom((com.google.bigtable.v2.Mutation.SetCell) other); + return mergeFrom((com.google.bigtable.v2.Mutation.SetCell)other); } else { super.mergeFrom(other); return this; @@ -659,37 +607,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - columnQualifier_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - value_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + columnQualifier_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + value_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,26 +642,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object familyName_ = ""; /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -727,22 +667,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -750,37 +689,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -790,22 +722,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -813,18 +741,14 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.ByteString columnQualifier_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -832,37 +756,29 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -872,10 +788,8 @@ public Builder clearColumnQualifier() { return this; } - private long timestampMicros_; + private long timestampMicros_ ; /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -885,7 +799,6 @@ public Builder clearColumnQualifier() {
        * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -893,8 +806,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -904,7 +815,6 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 3; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -916,8 +826,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -927,7 +835,6 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 3; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -939,14 +846,11 @@ public Builder clearTimestampMicros() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -954,35 +858,27 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -991,7 +887,6 @@ public Builder clearValue() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1004,12 +899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.SetCell) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.SetCell) private static final com.google.bigtable.v2.Mutation.SetCell DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.SetCell(); } @@ -1018,28 +913,27 @@ public static com.google.bigtable.v2.Mutation.SetCell getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetCell parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetCell parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,81 +948,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.SetCell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromColumnOrBuilder - extends + public interface DeleteFromColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ boolean hasTimeRange(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ com.google.bigtable.v2.TimestampRange getTimeRange(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
@@ -1138,8 +1016,6 @@ public interface DeleteFromColumnOrBuilder com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder(); } /** - * - * *
    * A Mutation which deletes cells from the specified column, optionally
    * restricting the deletions to a given timestamp range.
@@ -1147,16 +1023,15 @@ public interface DeleteFromColumnOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromColumn}
    */
-  public static final class DeleteFromColumn extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DeleteFromColumn extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromColumn)
       DeleteFromColumnOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DeleteFromColumn.newBuilder() to construct.
     private DeleteFromColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DeleteFromColumn() {
       familyName_ = "";
       columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -1164,39 +1039,34 @@ private DeleteFromColumn() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DeleteFromColumn();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+              com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
     }
 
     public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -1205,30 +1075,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -1239,15 +1109,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -1258,14 +1125,11 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIME_RANGE_FIELD_NUMBER = 3; private com.google.bigtable.v2.TimestampRange timeRange_; /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ @java.lang.Override @@ -1273,25 +1137,18 @@ public boolean hasTimeRange() { return timeRange_ != null; } /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ @java.lang.Override public com.google.bigtable.v2.TimestampRange getTimeRange() { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
@@ -1300,13 +1157,10 @@ public com.google.bigtable.v2.TimestampRange getTimeRange() { */ @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1318,7 +1172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -1341,10 +1196,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (timeRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimeRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1354,19 +1211,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromColumn other = - (com.google.bigtable.v2.Mutation.DeleteFromColumn) obj; + com.google.bigtable.v2.Mutation.DeleteFromColumn other = (com.google.bigtable.v2.Mutation.DeleteFromColumn) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; if (hasTimeRange() != other.hasTimeRange()) return false; if (hasTimeRange()) { - if (!getTimeRange().equals(other.getTimeRange())) return false; + if (!getTimeRange() + .equals(other.getTimeRange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1393,93 +1252,89 @@ public int hashCode() { } public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1489,8 +1344,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes cells from the specified column, optionally
      * restricting the deletions to a given timestamp range.
@@ -1498,33 +1351,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromColumn}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromColumn)
         com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
-                com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+                com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1540,9 +1393,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
       }
 
       @java.lang.Override
@@ -1561,11 +1414,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.Mutation.DeleteFromColumn buildPartial() {
-        com.google.bigtable.v2.Mutation.DeleteFromColumn result =
-            new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.Mutation.DeleteFromColumn result = new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1579,7 +1429,9 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
           result.columnQualifier_ = columnQualifier_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.timeRange_ = timeRangeBuilder_ == null ? timeRange_ : timeRangeBuilder_.build();
+          result.timeRange_ = timeRangeBuilder_ == null
+              ? timeRange_
+              : timeRangeBuilder_.build();
         }
       }
 
@@ -1587,41 +1439,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn) {
-          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn) other);
+          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1629,8 +1478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromColumn other) {
-        if (other == com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) return this;
         if (!other.getFamilyName().isEmpty()) {
           familyName_ = other.familyName_;
           bitField0_ |= 0x00000001;
@@ -1668,31 +1516,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  familyName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  columnQualifier_ = input.readBytes();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getTimeRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                familyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                columnQualifier_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getTimeRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1702,26 +1548,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object familyName_ = "";
       /**
-       *
-       *
        * 
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -1730,22 +1573,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -1753,37 +1595,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -1793,22 +1628,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -1816,18 +1647,14 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.ByteString columnQualifier_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -1835,37 +1662,29 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -1877,47 +1696,34 @@ public Builder clearColumnQualifier() { private com.google.bigtable.v2.TimestampRange timeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> - timeRangeBuilder_; + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timeRangeBuilder_; /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ public com.google.bigtable.v2.TimestampRange getTimeRange() { if (timeRangeBuilder_ == null) { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1938,15 +1744,14 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; */ - public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builderForValue) { + public Builder setTimeRange( + com.google.bigtable.v2.TimestampRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); } else { @@ -1957,8 +1762,6 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1967,9 +1770,9 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde */ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { if (timeRangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && timeRange_ != null - && timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + timeRange_ != null && + timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { getTimeRangeBuilder().mergeFrom(value); } else { timeRange_ = value; @@ -1982,8 +1785,6 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2001,8 +1802,6 @@ public Builder clearTimeRange() { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2015,8 +1814,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimeRangeBuilder() { return getTimeRangeFieldBuilder().getBuilder(); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2027,14 +1824,11 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? + com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2042,22 +1836,18 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { * .google.bigtable.v2.TimestampRange time_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { - timeRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder>( - getTimeRange(), getParentForChildren(), isClean()); + timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder>( + getTimeRange(), + getParentForChildren(), + isClean()); timeRange_ = null; } return timeRangeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2070,12 +1860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromColumn) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromColumn) private static final com.google.bigtable.v2.Mutation.DeleteFromColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromColumn(); } @@ -2084,28 +1874,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2120,98 +1909,85 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromFamilyOrBuilder - extends + public interface DeleteFromFamilyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); } /** - * - * *
    * A Mutation which deletes all cells from the specified column family.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class DeleteFromFamily extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteFromFamily extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromFamily) DeleteFromFamilyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromFamily.newBuilder() to construct. private DeleteFromFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFromFamily() { familyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFromFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -2220,30 +1996,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -2252,7 +2028,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2264,7 +2039,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -2288,15 +2064,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromFamily other = - (com.google.bigtable.v2.Mutation.DeleteFromFamily) obj; + com.google.bigtable.v2.Mutation.DeleteFromFamily other = (com.google.bigtable.v2.Mutation.DeleteFromFamily) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2316,93 +2092,89 @@ public int hashCode() { } public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromFamily prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2412,41 +2184,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes all cells from the specified column family.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2456,9 +2226,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override @@ -2477,11 +2247,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromFamily result = - new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.Mutation.DeleteFromFamily result = new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2497,41 +2264,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromFamily resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily) other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily)other); } else { super.mergeFrom(other); return this; @@ -2539,8 +2303,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromFamily other) { - if (other == com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; bitField0_ |= 0x00000001; @@ -2572,19 +2335,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2594,26 +2355,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object familyName_ = ""; /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -2622,22 +2380,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -2645,37 +2402,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -2685,29 +2435,24 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2720,12 +2465,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromFamily) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromFamily) private static final com.google.bigtable.v2.Mutation.DeleteFromFamily DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromFamily(); } @@ -2734,28 +2479,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromFamily parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromFamily parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2770,56 +2514,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromRowOrBuilder - extends + public interface DeleteFromRowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromRow) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * A Mutation which deletes all cells from the containing row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class DeleteFromRow extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteFromRow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromRow) DeleteFromRowOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromRow.newBuilder() to construct. private DeleteFromRow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeleteFromRow() {} + private DeleteFromRow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFromRow(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2831,7 +2572,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -2849,13 +2591,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromRow)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromRow other = - (com.google.bigtable.v2.Mutation.DeleteFromRow) obj; + com.google.bigtable.v2.Mutation.DeleteFromRow other = (com.google.bigtable.v2.Mutation.DeleteFromRow) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2873,94 +2614,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromRow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2970,41 +2707,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes all cells from the containing row.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromRow) com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3012,9 +2747,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override @@ -3033,8 +2768,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRow buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromRow result = - new com.google.bigtable.v2.Mutation.DeleteFromRow(this); + com.google.bigtable.v2.Mutation.DeleteFromRow result = new com.google.bigtable.v2.Mutation.DeleteFromRow(this); onBuilt(); return result; } @@ -3043,41 +2777,38 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromRow) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromRow) other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromRow)other); } else { super.mergeFrom(other); return this; @@ -3085,8 +2816,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromRow other) { - if (other == com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3113,13 +2843,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3129,7 +2858,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3142,12 +2870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromRow) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromRow) private static final com.google.bigtable.v2.Mutation.DeleteFromRow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromRow(); } @@ -3156,28 +2884,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromRow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromRow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3192,16 +2919,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int mutationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mutation_; - public enum MutationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SET_CELL(1), DELETE_FROM_COLUMN(2), @@ -3209,7 +2934,6 @@ public enum MutationCase DELETE_FROM_ROW(4), MUTATION_NOT_SET(0); private final int value; - private MutationCase(int value) { this.value = value; } @@ -3225,40 +2949,32 @@ public static MutationCase valueOf(int value) { public static MutationCase forNumber(int value) { switch (value) { - case 1: - return SET_CELL; - case 2: - return DELETE_FROM_COLUMN; - case 3: - return DELETE_FROM_FAMILY; - case 4: - return DELETE_FROM_ROW; - case 0: - return MUTATION_NOT_SET; - default: - return null; + case 1: return SET_CELL; + case 2: return DELETE_FROM_COLUMN; + case 3: return DELETE_FROM_FAMILY; + case 4: return DELETE_FROM_ROW; + case 0: return MUTATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public MutationCase getMutationCase() { - return MutationCase.forNumber(mutationCase_); + public MutationCase + getMutationCase() { + return MutationCase.forNumber( + mutationCase_); } public static final int SET_CELL_FIELD_NUMBER = 1; /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3266,26 +2982,21 @@ public boolean hasSetCell() { return mutationCase_ == 1; } /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell getSetCell() { if (mutationCase_ == 1) { - return (com.google.bigtable.v2.Mutation.SetCell) mutation_; + return (com.google.bigtable.v2.Mutation.SetCell) mutation_; } return com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } /** - * - * *
    * Set a cell's value.
    * 
@@ -3295,21 +3006,18 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { if (mutationCase_ == 1) { - return (com.google.bigtable.v2.Mutation.SetCell) mutation_; + return (com.google.bigtable.v2.Mutation.SetCell) mutation_; } return com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } public static final int DELETE_FROM_COLUMN_FIELD_NUMBER = 2; /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -3317,26 +3025,21 @@ public boolean hasDeleteFromColumn() { return mutationCase_ == 2; } /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { if (mutationCase_ == 2) { - return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } /** - * - * *
    * Deletes cells from a column.
    * 
@@ -3346,21 +3049,18 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder() { if (mutationCase_ == 2) { - return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } public static final int DELETE_FROM_FAMILY_FIELD_NUMBER = 3; /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ @java.lang.Override @@ -3368,26 +3068,21 @@ public boolean hasDeleteFromFamily() { return mutationCase_ == 3; } /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { if (mutationCase_ == 3) { - return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } /** - * - * *
    * Deletes cells from a column family.
    * 
@@ -3397,21 +3092,18 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder() { if (mutationCase_ == 3) { - return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } public static final int DELETE_FROM_ROW_FIELD_NUMBER = 4; /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ @java.lang.Override @@ -3419,26 +3111,21 @@ public boolean hasDeleteFromRow() { return mutationCase_ == 4; } /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { if (mutationCase_ == 4) { - return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } /** - * - * *
    * Deletes cells from the entire row.
    * 
@@ -3448,13 +3135,12 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder() { if (mutationCase_ == 4) { - return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3466,7 +3152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mutationCase_ == 1) { output.writeMessage(1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); } @@ -3489,24 +3176,20 @@ public int getSerializedSize() { size = 0; if (mutationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); } if (mutationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_); } if (mutationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_); } if (mutationCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3516,7 +3199,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation)) { return super.equals(obj); @@ -3526,16 +3209,20 @@ public boolean equals(final java.lang.Object obj) { if (!getMutationCase().equals(other.getMutationCase())) return false; switch (mutationCase_) { case 1: - if (!getSetCell().equals(other.getSetCell())) return false; + if (!getSetCell() + .equals(other.getSetCell())) return false; break; case 2: - if (!getDeleteFromColumn().equals(other.getDeleteFromColumn())) return false; + if (!getDeleteFromColumn() + .equals(other.getDeleteFromColumn())) return false; break; case 3: - if (!getDeleteFromFamily().equals(other.getDeleteFromFamily())) return false; + if (!getDeleteFromFamily() + .equals(other.getDeleteFromFamily())) return false; break; case 4: - if (!getDeleteFromRow().equals(other.getDeleteFromRow())) return false; + if (!getDeleteFromRow() + .equals(other.getDeleteFromRow())) return false; break; case 0: default: @@ -3576,134 +3263,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Mutation parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Mutation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a particular change to be made to the contents of a row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation) com.google.bigtable.v2.MutationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3726,9 +3411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override @@ -3748,9 +3433,7 @@ public com.google.bigtable.v2.Mutation build() { @java.lang.Override public com.google.bigtable.v2.Mutation buildPartial() { com.google.bigtable.v2.Mutation result = new com.google.bigtable.v2.Mutation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3763,16 +3446,20 @@ private void buildPartial0(com.google.bigtable.v2.Mutation result) { private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { result.mutationCase_ = mutationCase_; result.mutation_ = this.mutation_; - if (mutationCase_ == 1 && setCellBuilder_ != null) { + if (mutationCase_ == 1 && + setCellBuilder_ != null) { result.mutation_ = setCellBuilder_.build(); } - if (mutationCase_ == 2 && deleteFromColumnBuilder_ != null) { + if (mutationCase_ == 2 && + deleteFromColumnBuilder_ != null) { result.mutation_ = deleteFromColumnBuilder_.build(); } - if (mutationCase_ == 3 && deleteFromFamilyBuilder_ != null) { + if (mutationCase_ == 3 && + deleteFromFamilyBuilder_ != null) { result.mutation_ = deleteFromFamilyBuilder_.build(); } - if (mutationCase_ == 4 && deleteFromRowBuilder_ != null) { + if (mutationCase_ == 4 && + deleteFromRowBuilder_ != null) { result.mutation_ = deleteFromRowBuilder_.build(); } } @@ -3781,39 +3468,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation) { - return mergeFrom((com.google.bigtable.v2.Mutation) other); + return mergeFrom((com.google.bigtable.v2.Mutation)other); } else { super.mergeFrom(other); return this; @@ -3823,30 +3509,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.Mutation other) { if (other == com.google.bigtable.v2.Mutation.getDefaultInstance()) return this; switch (other.getMutationCase()) { - case SET_CELL: - { - mergeSetCell(other.getSetCell()); - break; - } - case DELETE_FROM_COLUMN: - { - mergeDeleteFromColumn(other.getDeleteFromColumn()); - break; - } - case DELETE_FROM_FAMILY: - { - mergeDeleteFromFamily(other.getDeleteFromFamily()); - break; - } - case DELETE_FROM_ROW: - { - mergeDeleteFromRow(other.getDeleteFromRow()); - break; - } - case MUTATION_NOT_SET: - { - break; - } + case SET_CELL: { + mergeSetCell(other.getSetCell()); + break; + } + case DELETE_FROM_COLUMN: { + mergeDeleteFromColumn(other.getDeleteFromColumn()); + break; + } + case DELETE_FROM_FAMILY: { + mergeDeleteFromFamily(other.getDeleteFromFamily()); + break; + } + case DELETE_FROM_ROW: { + mergeDeleteFromRow(other.getDeleteFromRow()); + break; + } + case MUTATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3874,39 +3555,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSetCellFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getDeleteFromColumnFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getDeleteFromFamilyFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getDeleteFromRowFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSetCellFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getDeleteFromColumnFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getDeleteFromFamilyFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getDeleteFromRowFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3916,12 +3598,12 @@ public Builder mergeFrom( } // finally return this; } - private int mutationCase_ = 0; private java.lang.Object mutation_; - - public MutationCase getMutationCase() { - return MutationCase.forNumber(mutationCase_); + public MutationCase + getMutationCase() { + return MutationCase.forNumber( + mutationCase_); } public Builder clearMutation() { @@ -3934,19 +3616,13 @@ public Builder clearMutation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder> - setCellBuilder_; + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> setCellBuilder_; /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3954,14 +3630,11 @@ public boolean hasSetCell() { return mutationCase_ == 1; } /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ @java.lang.Override @@ -3979,8 +3652,6 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4001,15 +3672,14 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; */ - public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builderForValue) { + public Builder setSetCell( + com.google.bigtable.v2.Mutation.SetCell.Builder builderForValue) { if (setCellBuilder_ == null) { mutation_ = builderForValue.build(); onChanged(); @@ -4020,8 +3690,6 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4030,13 +3698,10 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde */ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { if (setCellBuilder_ == null) { - if (mutationCase_ == 1 - && mutation_ != com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.SetCell.newBuilder( - (com.google.bigtable.v2.Mutation.SetCell) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 1 && + mutation_ != com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.SetCell.newBuilder((com.google.bigtable.v2.Mutation.SetCell) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4052,8 +3717,6 @@ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4077,8 +3740,6 @@ public Builder clearSetCell() { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4089,8 +3750,6 @@ public com.google.bigtable.v2.Mutation.SetCell.Builder getSetCellBuilder() { return getSetCellFieldBuilder().getBuilder(); } /** - * - * *
      * Set a cell's value.
      * 
@@ -4109,8 +3768,6 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4118,19 +3775,14 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { * .google.bigtable.v2.Mutation.SetCell set_cell = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder> + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> getSetCellFieldBuilder() { if (setCellBuilder_ == null) { if (!(mutationCase_ == 1)) { mutation_ = com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } - setCellBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder>( + setCellBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder>( (com.google.bigtable.v2.Mutation.SetCell) mutation_, getParentForChildren(), isClean()); @@ -4142,19 +3794,13 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> - deleteFromColumnBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> deleteFromColumnBuilder_; /** - * - * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -4162,14 +3808,11 @@ public boolean hasDeleteFromColumn() { return mutationCase_ == 2; } /** - * - * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ @java.lang.Override @@ -4187,8 +3830,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4209,8 +3850,6 @@ public Builder setDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromCol return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4229,8 +3868,6 @@ public Builder setDeleteFromColumn( return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4239,13 +3876,10 @@ public Builder setDeleteFromColumn( */ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromColumn value) { if (deleteFromColumnBuilder_ == null) { - if (mutationCase_ == 2 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 2 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4261,8 +3895,6 @@ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromC return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4286,8 +3918,6 @@ public Builder clearDeleteFromColumn() { return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4298,8 +3928,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol return getDeleteFromColumnFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4307,8 +3935,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; */ @java.lang.Override - public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder - getDeleteFromColumnOrBuilder() { + public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder() { if ((mutationCase_ == 2) && (deleteFromColumnBuilder_ != null)) { return deleteFromColumnBuilder_.getMessageOrBuilder(); } else { @@ -4319,8 +3946,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4328,19 +3953,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> getDeleteFromColumnFieldBuilder() { if (deleteFromColumnBuilder_ == null) { if (!(mutationCase_ == 2)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } - deleteFromColumnBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder>( + deleteFromColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_, getParentForChildren(), isClean()); @@ -4352,19 +3972,13 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> - deleteFromFamilyBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> deleteFromFamilyBuilder_; /** - * - * *
      * Deletes cells from a column family.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ @java.lang.Override @@ -4372,14 +3986,11 @@ public boolean hasDeleteFromFamily() { return mutationCase_ == 3; } /** - * - * *
      * Deletes cells from a column family.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ @java.lang.Override @@ -4397,8 +4008,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4419,8 +4028,6 @@ public Builder setDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFam return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4439,8 +4046,6 @@ public Builder setDeleteFromFamily( return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4449,13 +4054,10 @@ public Builder setDeleteFromFamily( */ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFamily value) { if (deleteFromFamilyBuilder_ == null) { - if (mutationCase_ == 3 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 3 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4471,8 +4073,6 @@ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromF return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4496,8 +4096,6 @@ public Builder clearDeleteFromFamily() { return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4508,8 +4106,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam return getDeleteFromFamilyFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4517,8 +4113,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; */ @java.lang.Override - public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder - getDeleteFromFamilyOrBuilder() { + public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder() { if ((mutationCase_ == 3) && (deleteFromFamilyBuilder_ != null)) { return deleteFromFamilyBuilder_.getMessageOrBuilder(); } else { @@ -4529,8 +4124,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4538,19 +4131,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> getDeleteFromFamilyFieldBuilder() { if (deleteFromFamilyBuilder_ == null) { if (!(mutationCase_ == 3)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } - deleteFromFamilyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder>( + deleteFromFamilyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_, getParentForChildren(), isClean()); @@ -4562,19 +4150,13 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> - deleteFromRowBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> deleteFromRowBuilder_; /** - * - * *
      * Deletes cells from the entire row.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ @java.lang.Override @@ -4582,14 +4164,11 @@ public boolean hasDeleteFromRow() { return mutationCase_ == 4; } /** - * - * *
      * Deletes cells from the entire row.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ @java.lang.Override @@ -4607,8 +4186,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4629,8 +4206,6 @@ public Builder setDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow va return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4649,8 +4224,6 @@ public Builder setDeleteFromRow( return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4659,13 +4232,10 @@ public Builder setDeleteFromRow( */ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow value) { if (deleteFromRowBuilder_ == null) { - if (mutationCase_ == 4 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 4 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4681,8 +4251,6 @@ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4706,8 +4274,6 @@ public Builder clearDeleteFromRow() { return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4718,8 +4284,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow.Builder getDeleteFromRowBui return getDeleteFromRowFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4738,8 +4302,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4747,19 +4309,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> getDeleteFromRowFieldBuilder() { if (deleteFromRowBuilder_ == null) { if (!(mutationCase_ == 4)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } - deleteFromRowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder>( + deleteFromRowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_, getParentForChildren(), isClean()); @@ -4769,9 +4326,9 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr onChanged(); return deleteFromRowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4781,12 +4338,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation) private static final com.google.bigtable.v2.Mutation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation(); } @@ -4795,27 +4352,27 @@ public static com.google.bigtable.v2.Mutation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Mutation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Mutation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4830,4 +4387,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java index a23cba7f87..43d308e53e 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface MutationOrBuilder - extends +public interface MutationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ boolean hasSetCell(); /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ com.google.bigtable.v2.Mutation.SetCell getSetCell(); /** - * - * *
    * Set a cell's value.
    * 
@@ -59,32 +35,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder(); /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ boolean hasDeleteFromColumn(); /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn(); /** - * - * *
    * Deletes cells from a column.
    * 
@@ -94,32 +62,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder(); /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ boolean hasDeleteFromFamily(); /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily(); /** - * - * *
    * Deletes cells from a column family.
    * 
@@ -129,32 +89,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder(); /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ boolean hasDeleteFromRow(); /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow(); /** - * - * *
    * Deletes cells from the entire row.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java index 8f16f4e51e..ff7ca500ea 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for client connection keep-alive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmRequest} */ -public final class PingAndWarmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PingAndWarmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmRequest) PingAndWarmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PingAndWarmRequest.newBuilder() to construct. private PingAndWarmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PingAndWarmRequest() { name_ = ""; appProfileId_ = ""; @@ -44,42 +26,35 @@ private PingAndWarmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, - com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,19 +96,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -144,30 +113,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.PingAndWarmRequest)) { return super.equals(obj); } - com.google.bigtable.v2.PingAndWarmRequest other = - (com.google.bigtable.v2.PingAndWarmRequest) obj; + com.google.bigtable.v2.PingAndWarmRequest other = (com.google.bigtable.v2.PingAndWarmRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.PingAndWarmRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for client connection keep-alive and warming.
    * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.PingAndWarmRequest) com.google.bigtable.v2.PingAndWarmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, - com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } // Construct using com.google.bigtable.v2.PingAndWarmRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.bigtable.v2.PingAndWarmRequest build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmRequest buildPartial() { - com.google.bigtable.v2.PingAndWarmRequest result = - new com.google.bigtable.v2.PingAndWarmRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.PingAndWarmRequest result = new com.google.bigtable.v2.PingAndWarmRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.PingAndWarmRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmRequest) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest)other); } else { super.mergeFrom(other); return this; @@ -509,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,29 +496,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -568,25 +522,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -594,43 +545,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -640,25 +580,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -668,21 +602,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -691,22 +623,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -714,37 +645,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -754,31 +678,27 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.PingAndWarmRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.PingAndWarmRequest) private static final com.google.bigtable.v2.PingAndWarmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.PingAndWarmRequest(); } @@ -802,27 +722,27 @@ public static com.google.bigtable.v2.PingAndWarmRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PingAndWarmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingAndWarmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java index 4f15fb0040..8e89e42d22 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java @@ -1,85 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface PingAndWarmRequestOrBuilder - extends +public interface PingAndWarmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java index c977cdde6c..48e3d5b0c1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java @@ -1,67 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.PingAndWarm connection keepalive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ -public final class PingAndWarmResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PingAndWarmResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmResponse) PingAndWarmResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PingAndWarmResponse.newBuilder() to construct. private PingAndWarmResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PingAndWarmResponse() {} + private PingAndWarmResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, - com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -91,13 +73,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.PingAndWarmResponse)) { return super.equals(obj); } - com.google.bigtable.v2.PingAndWarmResponse other = - (com.google.bigtable.v2.PingAndWarmResponse) obj; + com.google.bigtable.v2.PingAndWarmResponse other = (com.google.bigtable.v2.PingAndWarmResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -115,136 +96,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.PingAndWarmResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.PingAndWarm connection keepalive and warming.
    * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.PingAndWarmResponse) com.google.bigtable.v2.PingAndWarmResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, - com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } // Construct using com.google.bigtable.v2.PingAndWarmResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -252,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override @@ -273,8 +250,7 @@ public com.google.bigtable.v2.PingAndWarmResponse build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmResponse buildPartial() { - com.google.bigtable.v2.PingAndWarmResponse result = - new com.google.bigtable.v2.PingAndWarmResponse(this); + com.google.bigtable.v2.PingAndWarmResponse result = new com.google.bigtable.v2.PingAndWarmResponse(this); onBuilt(); return result; } @@ -283,39 +259,38 @@ public com.google.bigtable.v2.PingAndWarmResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmResponse) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmResponse) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmResponse)other); } else { super.mergeFrom(other); return this; @@ -350,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -366,9 +340,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -378,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.PingAndWarmResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.PingAndWarmResponse) private static final com.google.bigtable.v2.PingAndWarmResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.PingAndWarmResponse(); } @@ -392,27 +366,27 @@ public static com.google.bigtable.v2.PingAndWarmResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PingAndWarmResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingAndWarmResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -427,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java new file mode 100644 index 0000000000..dabd700c48 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public interface PingAndWarmResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java index cbdc4e310a..904a052f02 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java @@ -1,70 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Information about how client should adjust the load to Bigtable.
  * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ -public final class RateLimitInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RateLimitInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RateLimitInfo) RateLimitInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RateLimitInfo.newBuilder() to construct. private RateLimitInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RateLimitInfo() {} + private RateLimitInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RateLimitInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, - com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); } public static final int PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration period_; /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ @java.lang.Override @@ -83,8 +62,6 @@ public boolean hasPeriod() { return period_ != null; } /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -95,7 +72,6 @@ public boolean hasPeriod() {
    * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ @java.lang.Override @@ -103,8 +79,6 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -124,8 +98,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
   public static final int FACTOR_FIELD_NUMBER = 2;
   private double factor_ = 0D;
   /**
-   *
-   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -139,7 +111,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
    * 
* * double factor = 2; - * * @return The factor. */ @java.lang.Override @@ -148,7 +119,6 @@ public double getFactor() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,7 +130,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (period_ != null) { output.writeMessage(1, getPeriod()); } @@ -177,10 +148,12 @@ public int getSerializedSize() { size = 0; if (period_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPeriod()); } if (java.lang.Double.doubleToRawLongBits(factor_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, factor_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, factor_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -190,7 +163,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RateLimitInfo)) { return super.equals(obj); @@ -199,10 +172,12 @@ public boolean equals(final java.lang.Object obj) { if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod().equals(other.getPeriod())) return false; + if (!getPeriod() + .equals(other.getPeriod())) return false; } if (java.lang.Double.doubleToLongBits(getFactor()) - != java.lang.Double.doubleToLongBits(other.getFactor())) return false; + != java.lang.Double.doubleToLongBits( + other.getFactor())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,143 +194,139 @@ public int hashCode() { hash = (53 * hash) + getPeriod().hashCode(); } hash = (37 * hash) + FACTOR_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getFactor())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFactor())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RateLimitInfo parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RateLimitInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about how client should adjust the load to Bigtable.
    * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RateLimitInfo) com.google.bigtable.v2.RateLimitInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, - com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); } // Construct using com.google.bigtable.v2.RateLimitInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override @@ -392,9 +363,7 @@ public com.google.bigtable.v2.RateLimitInfo build() { @java.lang.Override public com.google.bigtable.v2.RateLimitInfo buildPartial() { com.google.bigtable.v2.RateLimitInfo result = new com.google.bigtable.v2.RateLimitInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -402,7 +371,9 @@ public com.google.bigtable.v2.RateLimitInfo buildPartial() { private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.period_ = periodBuilder_ == null ? period_ : periodBuilder_.build(); + result.period_ = periodBuilder_ == null + ? period_ + : periodBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.factor_ = factor_; @@ -413,39 +384,38 @@ private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RateLimitInfo) { - return mergeFrom((com.google.bigtable.v2.RateLimitInfo) other); + return mergeFrom((com.google.bigtable.v2.RateLimitInfo)other); } else { super.mergeFrom(other); return this; @@ -486,25 +456,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPeriodFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - factor_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPeriodFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + factor_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,18 +483,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration period_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - periodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_; /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -536,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ public boolean hasPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -555,7 +515,6 @@ public boolean hasPeriod() {
      * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -566,8 +525,6 @@ public com.google.protobuf.Duration getPeriod() { } } /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -593,8 +550,6 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -606,7 +561,8 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration period = 1;
      */
-    public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (periodBuilder_ == null) {
         period_ = builderForValue.build();
       } else {
@@ -617,8 +573,6 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -632,9 +586,9 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergePeriod(com.google.protobuf.Duration value) {
       if (periodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && period_ != null
-            && period_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          period_ != null &&
+          period_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getPeriodBuilder().mergeFrom(value);
         } else {
           period_ = value;
@@ -647,8 +601,6 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -671,8 +623,6 @@ public Builder clearPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -690,8 +640,6 @@ public com.google.protobuf.Duration.Builder getPeriodBuilder() {
       return getPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -707,12 +655,11 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
       if (periodBuilder_ != null) {
         return periodBuilder_.getMessageOrBuilder();
       } else {
-        return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
+        return period_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : period_;
       }
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -725,26 +672,21 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * .google.protobuf.Duration period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getPeriodFieldBuilder() {
       if (periodBuilder_ == null) {
-        periodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getPeriod(), getParentForChildren(), isClean());
+        periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getPeriod(),
+                getParentForChildren(),
+                isClean());
         period_ = null;
       }
       return periodBuilder_;
     }
 
-    private double factor_;
+    private double factor_ ;
     /**
-     *
-     *
      * 
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -758,7 +700,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * 
* * double factor = 2; - * * @return The factor. */ @java.lang.Override @@ -766,8 +707,6 @@ public double getFactor() { return factor_; } /** - * - * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -781,7 +720,6 @@ public double getFactor() {
      * 
* * double factor = 2; - * * @param value The factor to set. * @return This builder for chaining. */ @@ -793,8 +731,6 @@ public Builder setFactor(double value) { return this; } /** - * - * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -808,7 +744,6 @@ public Builder setFactor(double value) {
      * 
* * double factor = 2; - * * @return This builder for chaining. */ public Builder clearFactor() { @@ -817,9 +752,9 @@ public Builder clearFactor() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RateLimitInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RateLimitInfo) private static final com.google.bigtable.v2.RateLimitInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RateLimitInfo(); } @@ -843,27 +778,27 @@ public static com.google.bigtable.v2.RateLimitInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimitInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimitInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -878,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RateLimitInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java index f83dbe2e01..06357892ff 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface RateLimitInfoOrBuilder - extends +public interface RateLimitInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RateLimitInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -36,13 +18,10 @@ public interface RateLimitInfoOrBuilder
    * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ boolean hasPeriod(); /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -53,13 +32,10 @@ public interface RateLimitInfoOrBuilder
    * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -74,8 +50,6 @@ public interface RateLimitInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -89,7 +63,6 @@ public interface RateLimitInfoOrBuilder
    * 
* * double factor = 2; - * * @return The factor. */ double getFactor(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java index cb9a5e20e7..3bb70eb87c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.ReadChangeStream.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
  */
-public final class ReadChangeStreamRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadChangeStreamRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamRequest)
     ReadChangeStreamRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamRequest.newBuilder() to construct.
   private ReadChangeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadChangeStreamRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -45,39 +27,34 @@ private ReadChangeStreamRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadChangeStreamRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamRequest.class,
-            com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
   }
 
   private int startFromCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startFrom_;
-
   public enum StartFromCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_TIME(4),
     CONTINUATION_TOKENS(6),
     STARTFROM_NOT_SET(0);
     private final int value;
-
     private StartFromCase(int value) {
       this.value = value;
     }
@@ -93,33 +70,27 @@ public static StartFromCase valueOf(int value) {
 
     public static StartFromCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return START_TIME;
-        case 6:
-          return CONTINUATION_TOKENS;
-        case 0:
-          return STARTFROM_NOT_SET;
-        default:
-          return null;
+        case 4: return START_TIME;
+        case 6: return CONTINUATION_TOKENS;
+        case 0: return STARTFROM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartFromCase getStartFromCase() {
-    return StartFromCase.forNumber(startFromCase_);
+  public StartFromCase
+  getStartFromCase() {
+    return StartFromCase.forNumber(
+        startFromCase_);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -127,10 +98,7 @@ public StartFromCase getStartFromCase() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -139,15 +107,14 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -155,18 +122,17 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -175,12 +141,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -188,7 +151,6 @@ public com.google.protobuf.ByteString getTableNameBytes() {
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -197,15 +159,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -213,15 +174,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -232,14 +194,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int PARTITION_FIELD_NUMBER = 3; private com.google.bigtable.v2.StreamPartition partition_; /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -247,25 +206,18 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * The partition to read changes from.
    * 
@@ -274,15 +226,11 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } public static final int START_TIME_FIELD_NUMBER = 4; /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -291,7 +239,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -299,8 +246,6 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -309,19 +254,16 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { if (startFromCase_ == 4) { - return (com.google.protobuf.Timestamp) startFrom_; + return (com.google.protobuf.Timestamp) startFrom_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -334,15 +276,13 @@ public com.google.protobuf.Timestamp getStartTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     if (startFromCase_ == 4) {
-      return (com.google.protobuf.Timestamp) startFrom_;
+       return (com.google.protobuf.Timestamp) startFrom_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -357,7 +297,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -365,8 +304,6 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -381,19 +318,16 @@ public boolean hasContinuationTokens() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { if (startFromCase_ == 6) { - return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; + return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; } return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance(); } /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -412,7 +346,7 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() {
   @java.lang.Override
   public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
     if (startFromCase_ == 6) {
-      return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
+       return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
     }
     return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
   }
@@ -420,8 +354,6 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
   public static final int END_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -429,7 +361,6 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -437,8 +368,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -446,7 +375,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ @java.lang.Override @@ -454,8 +382,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -472,15 +398,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int HEARTBEAT_DURATION_FIELD_NUMBER = 7;
   private com.google.protobuf.Duration heartbeatDuration_;
   /**
-   *
-   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ @java.lang.Override @@ -488,26 +411,19 @@ public boolean hasHeartbeatDuration() { return heartbeatDuration_ != null; } /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ @java.lang.Override public com.google.protobuf.Duration getHeartbeatDuration() { - return heartbeatDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : heartbeatDuration_; + return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; } /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
@@ -517,13 +433,10 @@ public com.google.protobuf.Duration getHeartbeatDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
-    return heartbeatDuration_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : heartbeatDuration_;
+    return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -535,7 +448,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -573,23 +487,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_);
     }
     if (partition_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPartition());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getPartition());
     }
     if (startFromCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) startFrom_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) startFrom_);
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getEndTime());
     }
     if (startFromCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
     }
     if (heartbeatDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHeartbeatDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getHeartbeatDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -599,35 +514,41 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.ReadChangeStreamRequest other =
-        (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
+    com.google.bigtable.v2.ReadChangeStreamRequest other = (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getAppProfileId()
+        .equals(other.getAppProfileId())) return false;
     if (hasPartition() != other.hasPartition()) return false;
     if (hasPartition()) {
-      if (!getPartition().equals(other.getPartition())) return false;
+      if (!getPartition()
+          .equals(other.getPartition())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (hasHeartbeatDuration() != other.hasHeartbeatDuration()) return false;
     if (hasHeartbeatDuration()) {
-      if (!getHeartbeatDuration().equals(other.getHeartbeatDuration())) return false;
+      if (!getHeartbeatDuration()
+          .equals(other.getHeartbeatDuration())) return false;
     }
     if (!getStartFromCase().equals(other.getStartFromCase())) return false;
     switch (startFromCase_) {
       case 4:
-        if (!getStartTime().equals(other.getStartTime())) return false;
+        if (!getStartTime()
+            .equals(other.getStartTime())) return false;
         break;
       case 6:
-        if (!getContinuationTokens().equals(other.getContinuationTokens())) return false;
+        if (!getContinuationTokens()
+            .equals(other.getContinuationTokens())) return false;
         break;
       case 0:
       default:
@@ -676,104 +597,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.ReadChangeStream.
@@ -781,32 +697,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamRequest)
       com.google.bigtable.v2.ReadChangeStreamRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamRequest.class,
-              com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -840,9 +757,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
@@ -861,11 +778,8 @@ public com.google.bigtable.v2.ReadChangeStreamRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamRequest buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamRequest result =
-          new com.google.bigtable.v2.ReadChangeStreamRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadChangeStreamRequest result = new com.google.bigtable.v2.ReadChangeStreamRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -880,26 +794,31 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamRequest result
         result.appProfileId_ = appProfileId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.heartbeatDuration_ =
-            heartbeatDurationBuilder_ == null
-                ? heartbeatDuration_
-                : heartbeatDurationBuilder_.build();
+        result.heartbeatDuration_ = heartbeatDurationBuilder_ == null
+            ? heartbeatDuration_
+            : heartbeatDurationBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest result) {
       result.startFromCase_ = startFromCase_;
       result.startFrom_ = this.startFrom_;
-      if (startFromCase_ == 4 && startTimeBuilder_ != null) {
+      if (startFromCase_ == 4 &&
+          startTimeBuilder_ != null) {
         result.startFrom_ = startTimeBuilder_.build();
       }
-      if (startFromCase_ == 6 && continuationTokensBuilder_ != null) {
+      if (startFromCase_ == 6 &&
+          continuationTokensBuilder_ != null) {
         result.startFrom_ = continuationTokensBuilder_.build();
       }
     }
@@ -908,39 +827,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamRequest) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest) other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -969,20 +887,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamRequest other) {
         mergeHeartbeatDuration(other.getHeartbeatDuration());
       }
       switch (other.getStartFromCase()) {
-        case START_TIME:
-          {
-            mergeStartTime(other.getStartTime());
-            break;
-          }
-        case CONTINUATION_TOKENS:
-          {
-            mergeContinuationTokens(other.getContinuationTokens());
-            break;
-          }
-        case STARTFROM_NOT_SET:
-          {
-            break;
-          }
+        case START_TIME: {
+          mergeStartTime(other.getStartTime());
+          break;
+        }
+        case CONTINUATION_TOKENS: {
+          mergeContinuationTokens(other.getContinuationTokens());
+          break;
+        }
+        case STARTFROM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1010,57 +925,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                appProfileId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                startFromCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getContinuationTokensFieldBuilder().getBuilder(), extensionRegistry);
-                startFromCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getHeartbeatDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              appProfileId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startFromCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getContinuationTokensFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startFromCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getHeartbeatDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1070,12 +985,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startFromCase_ = 0;
     private java.lang.Object startFrom_;
-
-    public StartFromCase getStartFromCase() {
-      return StartFromCase.forNumber(startFromCase_);
+    public StartFromCase
+        getStartFromCase() {
+      return StartFromCase.forNumber(
+          startFromCase_);
     }
 
     public Builder clearStartFrom() {
@@ -1089,8 +1004,6 @@ public Builder clearStartFrom() {
 
     private java.lang.Object tableName_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1098,16 +1011,14 @@ public Builder clearStartFrom() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1116,8 +1027,6 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1125,17 +1034,16 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1143,8 +1051,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1152,25 +1058,19 @@ public com.google.protobuf.ByteString getTableNameBytes() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1178,10 +1078,7 @@ public Builder setTableName(java.lang.String value) {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1191,8 +1088,6 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1200,17 +1095,13 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1220,8 +1111,6 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1229,13 +1118,13 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1244,8 +1133,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1253,14 +1140,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1268,8 +1156,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1277,22 +1163,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1300,7 +1182,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1310,8 +1191,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1319,14 +1198,12 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1336,47 +1213,34 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.v2.StreamPartition partition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> - partitionBuilder_; + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_; /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1397,15 +1261,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -1416,8 +1279,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1426,9 +1287,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -1441,8 +1302,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1460,8 +1319,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1474,8 +1331,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1486,14 +1341,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1501,30 +1353,22 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1533,7 +1377,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1541,8 +1384,6 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1551,7 +1392,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override @@ -1569,8 +1409,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1594,8 +1432,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1605,7 +1441,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 4;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startFrom_ = builderForValue.build();
         onChanged();
@@ -1616,8 +1453,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1629,12 +1464,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (startFromCase_ == 4
-            && startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          startFrom_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startFromCase_ == 4 &&
+            startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          startFrom_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
+              .mergeFrom(value).buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1650,8 +1483,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1678,8 +1509,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1693,8 +1522,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1716,8 +1543,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1728,20 +1553,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
         if (!(startFromCase_ == 4)) {
           startFrom_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) startFrom_, getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) startFrom_,
+                getParentForChildren(),
+                isClean());
         startFrom_ = null;
       }
       startFromCase_ = 4;
@@ -1750,13 +1572,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder,
-            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
-        continuationTokensBuilder_;
+        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> continuationTokensBuilder_;
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1771,7 +1588,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -1779,8 +1595,6 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** - * - * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1795,7 +1609,6 @@ public boolean hasContinuationTokens() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ @java.lang.Override @@ -1813,8 +1626,6 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { } } /** - * - * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1844,8 +1655,6 @@ public Builder setContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1873,8 +1682,6 @@ public Builder setContinuationTokens(
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1892,13 +1699,10 @@ public Builder setContinuationTokens(
      */
     public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuationTokens value) {
       if (continuationTokensBuilder_ == null) {
-        if (startFromCase_ == 6
-            && startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
-          startFrom_ =
-              com.google.bigtable.v2.StreamContinuationTokens.newBuilder(
-                      (com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startFromCase_ == 6 &&
+            startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
+          startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.newBuilder((com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
+              .mergeFrom(value).buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1914,8 +1718,6 @@ public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuation
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1948,8 +1750,6 @@ public Builder clearContinuationTokens() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1969,8 +1769,6 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       return getContinuationTokensFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1987,8 +1785,7 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder
-        getContinuationTokensOrBuilder() {
+    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
       if ((startFromCase_ == 6) && (continuationTokensBuilder_ != null)) {
         return continuationTokensBuilder_.getMessageOrBuilder();
       } else {
@@ -1999,8 +1796,6 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       }
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -2017,19 +1812,14 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder,
-            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
+        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> 
         getContinuationTokensFieldBuilder() {
       if (continuationTokensBuilder_ == null) {
         if (!(startFromCase_ == 6)) {
           startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
         }
-        continuationTokensBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.StreamContinuationTokens,
-                com.google.bigtable.v2.StreamContinuationTokens.Builder,
-                com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
+        continuationTokensBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
                 (com.google.bigtable.v2.StreamContinuationTokens) startFrom_,
                 getParentForChildren(),
                 isClean());
@@ -2042,13 +1832,8 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2056,15 +1841,12 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2072,7 +1854,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2083,8 +1864,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2107,8 +1886,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2117,7 +1894,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 5;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -2128,8 +1906,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2140,9 +1916,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -2155,8 +1931,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2176,8 +1950,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2192,8 +1964,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2206,12 +1976,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2221,17 +1990,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -2239,49 +2005,36 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private com.google.protobuf.Duration heartbeatDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        heartbeatDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatDurationBuilder_;
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ public boolean hasHeartbeatDuration() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ public com.google.protobuf.Duration getHeartbeatDuration() { if (heartbeatDurationBuilder_ == null) { - return heartbeatDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : heartbeatDuration_; + return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; } else { return heartbeatDurationBuilder_.getMessage(); } } /** - * - * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2303,8 +2056,6 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2312,7 +2063,8 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
-    public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setHeartbeatDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (heartbeatDurationBuilder_ == null) {
         heartbeatDuration_ = builderForValue.build();
       } else {
@@ -2323,8 +2075,6 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2334,9 +2084,9 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builder
      */
     public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       if (heartbeatDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && heartbeatDuration_ != null
-            && heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          heartbeatDuration_ != null &&
+          heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getHeartbeatDurationBuilder().mergeFrom(value);
         } else {
           heartbeatDuration_ = value;
@@ -2349,8 +2099,6 @@ public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2369,8 +2117,6 @@ public Builder clearHeartbeatDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2384,8 +2130,6 @@ public com.google.protobuf.Duration.Builder getHeartbeatDurationBuilder() {
       return getHeartbeatDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2397,14 +2141,11 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
       if (heartbeatDurationBuilder_ != null) {
         return heartbeatDurationBuilder_.getMessageOrBuilder();
       } else {
-        return heartbeatDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : heartbeatDuration_;
+        return heartbeatDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2413,24 +2154,21 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getHeartbeatDurationFieldBuilder() {
       if (heartbeatDurationBuilder_ == null) {
-        heartbeatDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getHeartbeatDuration(), getParentForChildren(), isClean());
+        heartbeatDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getHeartbeatDuration(),
+                getParentForChildren(),
+                isClean());
         heartbeatDuration_ = null;
       }
       return heartbeatDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2440,12 +2178,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamRequest)
   private static final com.google.bigtable.v2.ReadChangeStreamRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamRequest();
   }
@@ -2454,27 +2192,27 @@ public static com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadChangeStreamRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadChangeStreamRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2489,4 +2227,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
similarity index 86%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
index 799780addb..1b7af4dcb1 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface ReadChangeStreamRequestOrBuilder
-    extends
+public interface ReadChangeStreamRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -33,16 +15,11 @@ public interface ReadChangeStreamRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -50,17 +27,13 @@ public interface ReadChangeStreamRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -68,13 +41,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -82,38 +52,30 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * The partition to read changes from.
    * 
@@ -123,8 +85,6 @@ public interface ReadChangeStreamRequestOrBuilder com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -133,13 +93,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -148,13 +105,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -167,8 +121,6 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -183,13 +135,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ boolean hasContinuationTokens(); /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -204,13 +153,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens(); /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -229,8 +175,6 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -238,13 +182,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -252,13 +193,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -270,34 +208,26 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ boolean hasHeartbeatDuration(); /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ com.google.protobuf.Duration getHeartbeatDuration(); /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
similarity index 75%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
index f64a00def4..a312ef7ef7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.ReadChangeStream.
@@ -28,89 +11,73 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
  */
-public final class ReadChangeStreamResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadChangeStreamResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse)
     ReadChangeStreamResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamResponse.newBuilder() to construct.
   private ReadChangeStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadChangeStreamResponse() {}
+  private ReadChangeStreamResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadChangeStreamResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamResponse.class,
-            com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
   }
 
-  public interface MutationChunkOrBuilder
-      extends
+  public interface MutationChunkOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ boolean hasChunkInfo(); /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo(); /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder(); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -118,13 +85,10 @@ public interface MutationChunkOrBuilder
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ boolean hasMutation(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -132,13 +96,10 @@ public interface MutationChunkOrBuilder
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ com.google.bigtable.v2.Mutation getMutation(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -150,95 +111,80 @@ public interface MutationChunkOrBuilder
     com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A partial or complete mutation.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class MutationChunk extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MutationChunk extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) MutationChunkOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutationChunk.newBuilder() to construct. private MutationChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutationChunk() {} + private MutationChunk() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutationChunk(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } - public interface ChunkInfoOrBuilder - extends + public interface ChunkInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ int getChunkedValueSize(); /** - * - * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ int getChunkedValueOffset(); /** - * - * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ boolean getLastChunk(); } /** - * - * *
      * Information about the chunking of this mutation.
      * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -247,51 +193,46 @@ public interface ChunkInfoOrBuilder
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
      */
-    public static final class ChunkInfo extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class ChunkInfo extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
         ChunkInfoOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use ChunkInfo.newBuilder() to construct.
       private ChunkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private ChunkInfo() {}
+      private ChunkInfo() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new ChunkInfo();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
-                    .class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
       }
 
       public static final int CHUNKED_VALUE_SIZE_FIELD_NUMBER = 1;
       private int chunkedValueSize_ = 0;
       /**
-       *
-       *
        * 
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ @java.lang.Override @@ -302,15 +243,12 @@ public int getChunkedValueSize() { public static final int CHUNKED_VALUE_OFFSET_FIELD_NUMBER = 2; private int chunkedValueOffset_ = 0; /** - * - * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ @java.lang.Override @@ -321,14 +259,11 @@ public int getChunkedValueOffset() { public static final int LAST_CHUNK_FIELD_NUMBER = 3; private boolean lastChunk_ = false; /** - * - * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ @java.lang.Override @@ -337,7 +272,6 @@ public boolean getLastChunk() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +283,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (chunkedValueSize_ != 0) { output.writeInt32(1, chunkedValueSize_); } @@ -369,13 +304,16 @@ public int getSerializedSize() { size = 0; if (chunkedValueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, chunkedValueSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, chunkedValueSize_); } if (chunkedValueOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, chunkedValueOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, chunkedValueOffset_); } if (lastChunk_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, lastChunk_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, lastChunk_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -385,18 +323,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { + if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = - (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; - if (getChunkedValueSize() != other.getChunkedValueSize()) return false; - if (getChunkedValueOffset() != other.getChunkedValueOffset()) return false; - if (getLastChunk() != other.getLastChunk()) return false; + if (getChunkedValueSize() + != other.getChunkedValueSize()) return false; + if (getChunkedValueOffset() + != other.getChunkedValueOffset()) return false; + if (getLastChunk() + != other.getLastChunk()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,109 +352,97 @@ public int hashCode() { hash = (37 * hash) + CHUNKED_VALUE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + getChunkedValueOffset(); hash = (37 * hash) + LAST_CHUNK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLastChunk()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLastChunk()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { + public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -525,8 +452,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Information about the chunking of this mutation.
        * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -535,35 +460,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
           com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
-                      .class);
+                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
         }
 
-        // Construct using
-        // com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
-        private Builder() {}
+        // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
+        private Builder() {
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-          super(parent);
         }
 
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          super(parent);
+
+        }
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -575,22 +498,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-            getDefaultInstanceForType() {
-          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-              .getDefaultInstance();
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() {
+          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo build() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
-              buildPartial();
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -598,19 +518,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo b
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-            buildPartial() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
-              new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo buildPartial() {
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
+        private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
           int from_bitField0_ = bitField0_;
           if (((from_bitField0_ & 0x00000001) != 0)) {
             result.chunkedValueSize_ = chunkedValueSize_;
@@ -627,54 +542,46 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
-            return mergeFrom(
-                (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) other);
+          if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
+            return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
-          if (other
-              == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
+          if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) return this;
           if (other.getChunkedValueSize() != 0) {
             setChunkedValueSize(other.getChunkedValueSize());
           }
@@ -710,31 +617,27 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 8:
-                  {
-                    chunkedValueSize_ = input.readInt32();
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 8
-                case 16:
-                  {
-                    chunkedValueOffset_ = input.readInt32();
-                    bitField0_ |= 0x00000002;
-                    break;
-                  } // case 16
-                case 24:
-                  {
-                    lastChunk_ = input.readBool();
-                    bitField0_ |= 0x00000004;
-                    break;
-                  } // case 24
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 8: {
+                  chunkedValueSize_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+                case 16: {
+                  chunkedValueOffset_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+                case 24: {
+                  lastChunk_ = input.readBool();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 24
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -744,19 +647,15 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
-        private int chunkedValueSize_;
+        private int chunkedValueSize_ ;
         /**
-         *
-         *
          * 
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ @java.lang.Override @@ -764,14 +663,11 @@ public int getChunkedValueSize() { return chunkedValueSize_; } /** - * - * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @param value The chunkedValueSize to set. * @return This builder for chaining. */ @@ -783,14 +679,11 @@ public Builder setChunkedValueSize(int value) { return this; } /** - * - * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @return This builder for chaining. */ public Builder clearChunkedValueSize() { @@ -800,17 +693,14 @@ public Builder clearChunkedValueSize() { return this; } - private int chunkedValueOffset_; + private int chunkedValueOffset_ ; /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ @java.lang.Override @@ -818,15 +708,12 @@ public int getChunkedValueOffset() { return chunkedValueOffset_; } /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @param value The chunkedValueOffset to set. * @return This builder for chaining. */ @@ -838,15 +725,12 @@ public Builder setChunkedValueOffset(int value) { return this; } /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @return This builder for chaining. */ public Builder clearChunkedValueOffset() { @@ -856,16 +740,13 @@ public Builder clearChunkedValueOffset() { return this; } - private boolean lastChunk_; + private boolean lastChunk_ ; /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ @java.lang.Override @@ -873,14 +754,11 @@ public boolean getLastChunk() { return lastChunk_; } /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @param value The lastChunk to set. * @return This builder for chaining. */ @@ -892,14 +770,11 @@ public Builder setLastChunk(boolean value) { return this; } /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @return This builder for chaining. */ public Builder clearLastChunk() { @@ -908,7 +783,6 @@ public Builder clearLastChunk() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -921,45 +795,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) - private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); + DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getDefaultInstance() { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChunkInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChunkInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,25 +841,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CHUNK_INFO_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ @java.lang.Override @@ -997,50 +863,34 @@ public boolean hasChunkInfo() { return chunkInfo_ != null; } /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder() { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } public static final int MUTATION_FIELD_NUMBER = 2; private com.google.bigtable.v2.Mutation mutation_; /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1048,7 +898,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo g
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ @java.lang.Override @@ -1056,8 +905,6 @@ public boolean hasMutation() { return mutation_ != null; } /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1065,7 +912,6 @@ public boolean hasMutation() {
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ @java.lang.Override @@ -1073,8 +919,6 @@ public com.google.bigtable.v2.Mutation getMutation() { return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1089,7 +933,6 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1101,7 +944,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (chunkInfo_ != null) {
         output.writeMessage(1, getChunkInfo());
       }
@@ -1118,10 +962,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (chunkInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getChunkInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getChunkInfo());
       }
       if (mutation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMutation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMutation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1131,21 +977,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
 
       if (hasChunkInfo() != other.hasChunkInfo()) return false;
       if (hasChunkInfo()) {
-        if (!getChunkInfo().equals(other.getChunkInfo())) return false;
+        if (!getChunkInfo()
+            .equals(other.getChunkInfo())) return false;
       }
       if (hasMutation() != other.hasMutation()) return false;
       if (hasMutation()) {
-        if (!getMutation().equals(other.getMutation())) return false;
+        if (!getMutation()
+            .equals(other.getMutation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1172,94 +1019,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1269,41 +1111,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A partial or complete mutation.
      * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1322,14 +1162,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk - getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() { return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance(); } @@ -1344,23 +1183,23 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk build() { @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk buildPartial() { - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = - new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { + private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.chunkInfo_ = chunkInfoBuilder_ == null ? chunkInfo_ : chunkInfoBuilder_.build(); + result.chunkInfo_ = chunkInfoBuilder_ == null + ? chunkInfo_ + : chunkInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.mutation_ = mutationBuilder_ == null ? mutation_ : mutationBuilder_.build(); + result.mutation_ = mutationBuilder_ == null + ? mutation_ + : mutationBuilder_.build(); } } @@ -1368,52 +1207,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) { - return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) other); + return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { - if (other - == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { + if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) return this; if (other.hasChunkInfo()) { mergeChunkInfo(other.getChunkInfo()); } @@ -1446,25 +1279,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getChunkInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getMutationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getChunkInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMutationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1474,68 +1308,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> - chunkInfoBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> chunkInfoBuilder_; /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ public boolean hasChunkInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getChunkInfo() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { if (chunkInfoBuilder_ == null) { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } else { return chunkInfoBuilder_.getMessage(); } } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder setChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1549,19 +1363,15 @@ public Builder setChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder - builderForValue) { + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder builderForValue) { if (chunkInfoBuilder_ == null) { chunkInfo_ = builderForValue.build(); } else { @@ -1572,24 +1382,18 @@ public Builder setChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public Builder mergeChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder mergeChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && chunkInfo_ != null - && chunkInfo_ - != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + chunkInfo_ != null && + chunkInfo_ != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) { getChunkInfoBuilder().mergeFrom(value); } else { chunkInfo_ = value; @@ -1602,15 +1406,12 @@ public Builder mergeChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ public Builder clearChunkInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1623,67 +1424,51 @@ public Builder clearChunkInfo() { return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder - getChunkInfoBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder getChunkInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChunkInfoFieldBuilder().getBuilder(); } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { if (chunkInfoBuilder_ != null) { return chunkInfoBuilder_.getMessageOrBuilder(); } else { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> getChunkInfoFieldBuilder() { if (chunkInfoBuilder_ == null) { - chunkInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( - getChunkInfo(), getParentForChildren(), isClean()); + chunkInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( + getChunkInfo(), + getParentForChildren(), + isClean()); chunkInfo_ = null; } return chunkInfoBuilder_; @@ -1691,13 +1476,8 @@ public Builder clearChunkInfo() { private com.google.bigtable.v2.Mutation mutation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationBuilder_; /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1705,15 +1485,12 @@ public Builder clearChunkInfo() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1721,21 +1498,16 @@ public boolean hasMutation() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ public com.google.bigtable.v2.Mutation getMutation() { if (mutationBuilder_ == null) { - return mutation_ == null - ? com.google.bigtable.v2.Mutation.getDefaultInstance() - : mutation_; + return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } else { return mutationBuilder_.getMessage(); } } /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1758,8 +1530,6 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1768,7 +1538,8 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
        *
        * .google.bigtable.v2.Mutation mutation = 2;
        */
-      public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+      public Builder setMutation(
+          com.google.bigtable.v2.Mutation.Builder builderForValue) {
         if (mutationBuilder_ == null) {
           mutation_ = builderForValue.build();
         } else {
@@ -1779,8 +1550,6 @@ public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1791,9 +1560,9 @@ public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForVal
        */
       public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         if (mutationBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && mutation_ != null
-              && mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            mutation_ != null &&
+            mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
             getMutationBuilder().mergeFrom(value);
           } else {
             mutation_ = value;
@@ -1806,8 +1575,6 @@ public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1827,8 +1594,6 @@ public Builder clearMutation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1843,8 +1608,6 @@ public com.google.bigtable.v2.Mutation.Builder getMutationBuilder() {
         return getMutationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1857,14 +1620,11 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
         if (mutationBuilder_ != null) {
           return mutationBuilder_.getMessageOrBuilder();
         } else {
-          return mutation_ == null
-              ? com.google.bigtable.v2.Mutation.getDefaultInstance()
-              : mutation_;
+          return mutation_ == null ?
+              com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_;
         }
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1874,22 +1634,18 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
        * .google.bigtable.v2.Mutation mutation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.Mutation,
-              com.google.bigtable.v2.Mutation.Builder,
-              com.google.bigtable.v2.MutationOrBuilder>
+          com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
           getMutationFieldBuilder() {
         if (mutationBuilder_ == null) {
-          mutationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.Mutation,
-                  com.google.bigtable.v2.Mutation.Builder,
-                  com.google.bigtable.v2.MutationOrBuilder>(
-                  getMutation(), getParentForChildren(), isClean());
+          mutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
+                  getMutation(),
+                  getParentForChildren(),
+                  isClean());
           mutation_ = null;
         }
         return mutationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1902,44 +1658,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk();
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        getDefaultInstance() {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MutationChunk parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MutationChunk parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1951,72 +1704,58 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        getDefaultInstanceForType() {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DataChangeOrBuilder
-      extends
+  public interface DataChangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType(); /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ java.lang.String getSourceClusterId(); /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ - com.google.protobuf.ByteString getSourceClusterIdBytes(); + com.google.protobuf.ByteString + getSourceClusterIdBytes(); /** - * - * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2024,38 +1763,29 @@ public interface DataChangeOrBuilder
      * 
* * bytes row_key = 3; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2065,8 +1795,6 @@ public interface DataChangeOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** - * - * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2078,14 +1806,11 @@ public interface DataChangeOrBuilder
      * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ int getTiebreaker(); /** - * - * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2094,10 +1819,9 @@ public interface DataChangeOrBuilder
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List getChunksList();
+    java.util.List 
+        getChunksList();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2108,8 +1832,6 @@ public interface DataChangeOrBuilder
      */
     com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index);
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2120,8 +1842,6 @@ public interface DataChangeOrBuilder
      */
     int getChunksCount();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2130,11 +1850,9 @@ public interface DataChangeOrBuilder
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List
+    java.util.List 
         getChunksOrBuilderList();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2147,49 +1865,39 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
         int index);
 
     /**
-     *
-     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; - * * @return The done. */ boolean getDone(); /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2200,13 +1908,10 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2217,13 +1922,10 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2238,8 +1940,6 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A message corresponding to one or more mutations to the partition
    * being streamed. A single logical `DataChange` message may also be split
@@ -2251,16 +1951,15 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
    */
-  public static final class DataChange extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DataChange extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       DataChangeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DataChange.newBuilder() to construct.
     private DataChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DataChange() {
       type_ = 0;
       sourceClusterId_ = "";
@@ -2271,38 +1970,34 @@ private DataChange() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DataChange();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The type of mutation.
      * 
* * Protobuf enum {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The type is unspecified.
        * 
@@ -2311,8 +2006,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * A user-initiated mutation.
        * 
@@ -2321,8 +2014,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2332,8 +2023,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       GARBAGE_COLLECTION(2),
       /**
-       *
-       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2345,8 +2034,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type is unspecified.
        * 
@@ -2355,8 +2042,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * A user-initiated mutation.
        * 
@@ -2365,8 +2050,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2376,8 +2059,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GARBAGE_COLLECTION_VALUE = 2;
       /**
-       *
-       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2386,6 +2067,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTINUATION_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2410,53 +2092,50 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return GARBAGE_COLLECTION; - case 3: - return CONTINUATION; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return GARBAGE_COLLECTION; + case 3: return CONTINUATION; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2476,54 +2155,39 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; } public static final int SOURCE_CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceClusterId_ = ""; /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ @java.lang.Override @@ -2532,30 +2196,30 @@ public java.lang.String getSourceClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; } } /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceClusterIdBytes() { + public com.google.protobuf.ByteString + getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -2566,8 +2230,6 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2575,7 +2237,6 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() {
      * 
* * bytes row_key = 3; - * * @return The rowKey. */ @java.lang.Override @@ -2586,14 +2247,11 @@ public com.google.protobuf.ByteString getRowKey() { public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp commitTimestamp_; /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -2601,25 +2259,18 @@ public boolean hasCommitTimestamp() { return commitTimestamp_ != null; } /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getCommitTimestamp() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2628,16 +2279,12 @@ public com.google.protobuf.Timestamp getCommitTimestamp() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } public static final int TIEBREAKER_FIELD_NUMBER = 5; private int tiebreaker_ = 0; /** - * - * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2649,7 +2296,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ @java.lang.Override @@ -2658,12 +2304,9 @@ public int getTiebreaker() { } public static final int CHUNKS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List chunks_; /** - * - * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2673,13 +2316,10 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List
-        getChunksList() {
+    public java.util.List getChunksList() {
       return chunks_;
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2689,14 +2329,11 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>
+    public java.util.List 
         getChunksOrBuilderList() {
       return chunks_;
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2710,8 +2347,6 @@ public int getChunksCount() {
       return chunks_.size();
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2725,8 +2360,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
       return chunks_.get(index);
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2736,23 +2369,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder
-        getChunksOrBuilder(int index) {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder(
+        int index) {
       return chunks_.get(index);
     }
 
     public static final int DONE_FIELD_NUMBER = 8;
     private boolean done_ = false;
     /**
-     *
-     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; - * * @return The done. */ @java.lang.Override @@ -2761,19 +2391,15 @@ public boolean getDone() { } public static final int TOKEN_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The token. */ @java.lang.Override @@ -2782,30 +2408,30 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -2816,8 +2442,6 @@ public com.google.protobuf.ByteString getTokenBytes() { public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp estimatedLowWatermark_; /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2828,7 +2452,6 @@ public com.google.protobuf.ByteString getTokenBytes() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -2836,8 +2459,6 @@ public boolean hasEstimatedLowWatermark() { return estimatedLowWatermark_ != null; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2848,18 +2469,13 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2873,13 +2489,10 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null
-          ? com.google.protobuf.Timestamp.getDefaultInstance()
-          : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2891,10 +2504,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
@@ -2930,36 +2542,39 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceClusterId_);
       }
       if (!rowKey_.isEmpty()) {
-        size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, rowKey_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(3, rowKey_);
       }
       if (commitTimestamp_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTimestamp());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getCommitTimestamp());
       }
       if (tiebreaker_ != 0) {
-        size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, tiebreaker_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(5, tiebreaker_);
       }
       for (int i = 0; i < chunks_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, chunks_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, chunks_.get(i));
       }
       if (done_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, done_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(8, done_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, token_);
       }
       if (estimatedLowWatermark_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                10, getEstimatedLowWatermark());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2969,28 +2584,35 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other = (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
 
       if (type_ != other.type_) return false;
-      if (!getSourceClusterId().equals(other.getSourceClusterId())) return false;
-      if (!getRowKey().equals(other.getRowKey())) return false;
+      if (!getSourceClusterId()
+          .equals(other.getSourceClusterId())) return false;
+      if (!getRowKey()
+          .equals(other.getRowKey())) return false;
       if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
       if (hasCommitTimestamp()) {
-        if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
-      }
-      if (getTiebreaker() != other.getTiebreaker()) return false;
-      if (!getChunksList().equals(other.getChunksList())) return false;
-      if (getDone() != other.getDone()) return false;
-      if (!getToken().equals(other.getToken())) return false;
+        if (!getCommitTimestamp()
+            .equals(other.getCommitTimestamp())) return false;
+      }
+      if (getTiebreaker()
+          != other.getTiebreaker()) return false;
+      if (!getChunksList()
+          .equals(other.getChunksList())) return false;
+      if (getDone()
+          != other.getDone()) return false;
+      if (!getToken()
+          .equals(other.getToken())) return false;
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark()
+            .equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3020,7 +2642,8 @@ public int hashCode() {
         hash = (53 * hash) + getChunksList().hashCode();
       }
       hash = (37 * hash) + DONE_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getDone());
       hash = (37 * hash) + TOKEN_FIELD_NUMBER;
       hash = (53 * hash) + getToken().hashCode();
       if (hasEstimatedLowWatermark()) {
@@ -3033,94 +2656,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3130,8 +2748,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A message corresponding to one or more mutations to the partition
      * being streamed. A single logical `DataChange` message may also be split
@@ -3143,33 +2759,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
         com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3201,14 +2817,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
-          getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance();
       }
 
@@ -3223,18 +2838,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         if (chunksBuilder_ == null) {
           if (((bitField0_ & 0x00000020) != 0)) {
             chunks_ = java.util.Collections.unmodifiableList(chunks_);
@@ -3246,8 +2857,7 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.type_ = type_;
@@ -3259,8 +2869,9 @@ private void buildPartial0(
           result.rowKey_ = rowKey_;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.commitTimestamp_ =
-              commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build();
+          result.commitTimestamp_ = commitTimestampBuilder_ == null
+              ? commitTimestamp_
+              : commitTimestampBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
           result.tiebreaker_ = tiebreaker_;
@@ -3272,10 +2883,9 @@ private void buildPartial0(
           result.token_ = token_;
         }
         if (((from_bitField0_ & 0x00000100) != 0)) {
-          result.estimatedLowWatermark_ =
-              estimatedLowWatermarkBuilder_ == null
-                  ? estimatedLowWatermark_
-                  : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
+              ? estimatedLowWatermark_
+              : estimatedLowWatermarkBuilder_.build();
         }
       }
 
@@ -3283,41 +2893,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3325,9 +2932,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other) {
-        if (other
-            == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -3363,10 +2968,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataCha
               chunksBuilder_ = null;
               chunks_ = other.chunks_;
               bitField0_ = (bitField0_ & ~0x00000020);
-              chunksBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getChunksFieldBuilder()
-                      : null;
+              chunksBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getChunksFieldBuilder() : null;
             } else {
               chunksBuilder_.addAllMessages(other.chunks_);
             }
@@ -3409,77 +3013,69 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  sourceClusterId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  rowKey_ = input.readBytes();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(
-                      getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              case 40:
-                {
-                  tiebreaker_ = input.readInt32();
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 40
-              case 50:
-                {
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
-                      input.readMessage(
-                          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
-                          extensionRegistry);
-                  if (chunksBuilder_ == null) {
-                    ensureChunksIsMutable();
-                    chunks_.add(m);
-                  } else {
-                    chunksBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 50
-              case 64:
-                {
-                  done_ = input.readBool();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 64
-              case 74:
-                {
-                  token_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000080;
-                  break;
-                } // case 74
-              case 82:
-                {
-                  input.readMessage(
-                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000100;
-                  break;
-                } // case 82
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                sourceClusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                rowKey_ = input.readBytes();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getCommitTimestampFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              case 40: {
+                tiebreaker_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+              case 50: {
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
+                    input.readMessage(
+                        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
+                        extensionRegistry);
+                if (chunksBuilder_ == null) {
+                  ensureChunksIsMutable();
+                  chunks_.add(m);
+                } else {
+                  chunksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+              case 64: {
+                done_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 64
+              case 74: {
+                token_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+              case 82: {
+                input.readMessage(
+                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3489,34 +3085,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3527,38 +3115,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED - : result; + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { + public Builder setType(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { if (value == null) { throw new NullPointerException(); } @@ -3568,14 +3146,11 @@ public Builder setType( return this; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { @@ -3587,21 +3162,19 @@ public Builder clearType() { private java.lang.Object sourceClusterId_ = ""; /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ public java.lang.String getSourceClusterId() { java.lang.Object ref = sourceClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; @@ -3610,22 +3183,21 @@ public java.lang.String getSourceClusterId() { } } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ - public com.google.protobuf.ByteString getSourceClusterIdBytes() { + public com.google.protobuf.ByteString + getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -3633,37 +3205,30 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() { } } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @param value The sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceClusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return This builder for chaining. */ public Builder clearSourceClusterId() { @@ -3673,22 +3238,18 @@ public Builder clearSourceClusterId() { return this; } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @param value The bytes for sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceClusterId_ = value; bitField0_ |= 0x00000002; @@ -3698,8 +3259,6 @@ public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3707,7 +3266,6 @@ public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; - * * @return The rowKey. */ @java.lang.Override @@ -3715,8 +3273,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3724,22 +3280,17 @@ public com.google.protobuf.ByteString getRowKey() {
        * 
* * bytes row_key = 3; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3747,7 +3298,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -3759,47 +3309,34 @@ public Builder clearRowKey() { private com.google.protobuf.Timestamp commitTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampBuilder_; /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ public com.google.protobuf.Timestamp getCommitTimestamp() { if (commitTimestampBuilder_ == null) { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } else { return commitTimestampBuilder_.getMessage(); } } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3820,15 +3357,14 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; */ - public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimestampBuilder_ == null) { commitTimestamp_ = builderForValue.build(); } else { @@ -3839,8 +3375,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3849,9 +3383,9 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && commitTimestamp_ != null - && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + commitTimestamp_ != null && + commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -3864,8 +3398,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3883,8 +3415,6 @@ public Builder clearCommitTimestamp() { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3897,8 +3427,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3909,14 +3437,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { if (commitTimestampBuilder_ != null) { return commitTimestampBuilder_.getMessageOrBuilder(); } else { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3924,26 +3449,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCommitTimestampFieldBuilder() { if (commitTimestampBuilder_ == null) { - commitTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitTimestamp(), getParentForChildren(), isClean()); + commitTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCommitTimestamp(), + getParentForChildren(), + isClean()); commitTimestamp_ = null; } return commitTimestampBuilder_; } - private int tiebreaker_; + private int tiebreaker_ ; /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3955,7 +3475,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
        * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ @java.lang.Override @@ -3963,8 +3482,6 @@ public int getTiebreaker() { return tiebreaker_; } /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3976,7 +3493,6 @@ public int getTiebreaker() {
        * 
* * int32 tiebreaker = 5; - * * @param value The tiebreaker to set. * @return This builder for chaining. */ @@ -3988,8 +3504,6 @@ public Builder setTiebreaker(int value) { return this; } /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -4001,7 +3515,6 @@ public Builder setTiebreaker(int value) {
        * 
* * int32 tiebreaker = 5; - * * @return This builder for chaining. */ public Builder clearTiebreaker() { @@ -4011,38 +3524,28 @@ public Builder clearTiebreaker() { return this; } - private java.util.List - chunks_ = java.util.Collections.emptyList(); - + private java.util.List chunks_ = + java.util.Collections.emptyList(); private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - chunks_ = - new java.util.ArrayList< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk>(chunks_); + chunks_ = new java.util.ArrayList(chunks_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> - chunksBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> chunksBuilder_; /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List - getChunksList() { + public java.util.List getChunksList() { if (chunksBuilder_ == null) { return java.util.Collections.unmodifiableList(chunks_); } else { @@ -4050,16 +3553,13 @@ private void ensureChunksIsMutable() { } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public int getChunksCount() { if (chunksBuilder_ == null) { @@ -4069,16 +3569,13 @@ public int getChunksCount() { } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index) { if (chunksBuilder_ == null) { @@ -4088,16 +3585,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder setChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -4114,20 +3608,16 @@ public Builder setChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder setChunks( - int index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.set(index, builderForValue.build()); @@ -4138,19 +3628,15 @@ public Builder setChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public Builder addChunks( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { + public Builder addChunks(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4164,16 +3650,13 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -4190,16 +3673,13 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { @@ -4213,20 +3693,16 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( - int index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.add(index, builderForValue.build()); @@ -4237,24 +3713,20 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addAllChunks( - java.lang.Iterable< - ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk> - values) { + java.lang.Iterable values) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chunks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chunks_); onChanged(); } else { chunksBuilder_.addAllMessages(values); @@ -4262,16 +3734,13 @@ public Builder addAllChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder clearChunks() { if (chunksBuilder_ == null) { @@ -4284,16 +3753,13 @@ public Builder clearChunks() { return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder removeChunks(int index) { if (chunksBuilder_ == null) { @@ -4306,56 +3772,45 @@ public Builder removeChunks(int index) { return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder getChunksBuilder( int index) { return getChunksFieldBuilder().getBuilder(index); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder - getChunksOrBuilder(int index) { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder( + int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); - } else { + return chunks_.get(index); } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List< - ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> - getChunksOrBuilderList() { + public java.util.List + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -4363,87 +3818,68 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder get } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder - addChunksBuilder() { - return getChunksFieldBuilder() - .addBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder() { + return getChunksFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder( int index) { - return getChunksFieldBuilder() - .addBuilder( - index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + return getChunksFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List - getChunksBuilderList() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( - chunks_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( + chunks_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); chunks_ = null; } return chunksBuilder_; } - private boolean done_; + private boolean done_ ; /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @return The done. */ @java.lang.Override @@ -4451,15 +3887,12 @@ public boolean getDone() { return done_; } /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @param value The done to set. * @return This builder for chaining. */ @@ -4471,15 +3904,12 @@ public Builder setDone(boolean value) { return this; } /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @return This builder for chaining. */ public Builder clearDone() { @@ -4491,21 +3921,19 @@ public Builder clearDone() { private java.lang.Object token_ = ""; /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -4514,22 +3942,21 @@ public java.lang.String getToken() { } } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -4537,37 +3964,30 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -4577,22 +3997,18 @@ public Builder clearToken() { return this; } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000080; @@ -4602,13 +4018,8 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp estimatedLowWatermark_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - estimatedLowWatermarkBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_; /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4619,15 +4030,12 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4638,21 +4046,16 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4678,8 +4081,6 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4703,8 +4104,6 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4718,9 +4117,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000100) != 0)
-              && estimatedLowWatermark_ != null
-              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000100) != 0) &&
+            estimatedLowWatermark_ != null &&
+            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -4733,8 +4132,6 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4757,8 +4154,6 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4776,8 +4171,6 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4793,14 +4186,11 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
         }
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4813,22 +4203,18 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 10;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
+          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(),
+                  getParentForChildren(),
+                  isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4841,13 +4227,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange();
     }
@@ -4856,28 +4241,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DataChange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DataChange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4892,42 +4276,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface HeartbeatOrBuilder
-      extends
+  public interface HeartbeatOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ com.google.bigtable.v2.StreamContinuationToken getContinuationToken(); /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -4938,8 +4314,6 @@ public interface HeartbeatOrBuilder
     com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder();
 
     /**
-     *
-     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4950,13 +4324,10 @@ public interface HeartbeatOrBuilder
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4967,13 +4338,10 @@ public interface HeartbeatOrBuilder
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4988,8 +4356,6 @@ public interface HeartbeatOrBuilder
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A periodic message with information that can be used to checkpoint
    * the state of a stream.
@@ -4997,51 +4363,47 @@ public interface HeartbeatOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
    */
-  public static final class Heartbeat extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Heartbeat extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       HeartbeatOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Heartbeat.newBuilder() to construct.
     private Heartbeat(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Heartbeat() {}
+    private Heartbeat() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Heartbeat();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
     }
 
     public static final int CONTINUATION_TOKEN_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
     /**
-     *
-     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ @java.lang.Override @@ -5049,26 +4411,19 @@ public boolean hasContinuationToken() { return continuationToken_ != null; } /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { - return continuationToken_ == null - ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() - : continuationToken_; + return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; } /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -5078,16 +4433,12 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
-      return continuationToken_ == null
-          ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
-          : continuationToken_;
+      return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
     }
 
     public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp estimatedLowWatermark_;
     /**
-     *
-     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5098,7 +4449,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -5106,8 +4456,6 @@ public boolean hasEstimatedLowWatermark() { return estimatedLowWatermark_ != null; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5118,18 +4466,13 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5143,13 +4486,10 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null
-          ? com.google.protobuf.Timestamp.getDefaultInstance()
-          : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5161,7 +4501,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (continuationToken_ != null) {
         output.writeMessage(1, getContinuationToken());
       }
@@ -5178,11 +4519,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (continuationToken_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContinuationToken());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getContinuationToken());
       }
       if (estimatedLowWatermark_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEstimatedLowWatermark());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -5192,21 +4534,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other = (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
 
       if (hasContinuationToken() != other.hasContinuationToken()) return false;
       if (hasContinuationToken()) {
-        if (!getContinuationToken().equals(other.getContinuationToken())) return false;
+        if (!getContinuationToken()
+            .equals(other.getContinuationToken())) return false;
       }
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark()
+            .equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -5233,94 +4576,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -5330,8 +4668,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A periodic message with information that can be used to checkpoint
      * the state of a stream.
@@ -5339,33 +4675,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
         com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5384,9 +4720,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
@@ -5405,11 +4741,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -5417,16 +4750,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial()
       private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.continuationToken_ =
-              continuationTokenBuilder_ == null
-                  ? continuationToken_
-                  : continuationTokenBuilder_.build();
+          result.continuationToken_ = continuationTokenBuilder_ == null
+              ? continuationToken_
+              : continuationTokenBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.estimatedLowWatermark_ =
-              estimatedLowWatermarkBuilder_ == null
-                  ? estimatedLowWatermark_
-                  : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
+              ? estimatedLowWatermark_
+              : estimatedLowWatermarkBuilder_.build();
         }
       }
 
@@ -5434,41 +4765,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5476,8 +4804,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other) {
-        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) return this;
         if (other.hasContinuationToken()) {
           mergeContinuationToken(other.getContinuationToken());
         }
@@ -5510,27 +4837,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getContinuationTokenFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(
-                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getContinuationTokenFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5540,54 +4866,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
-          continuationTokenBuilder_;
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokenBuilder_;
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { if (continuationTokenBuilder_ == null) { - return continuationToken_ == null - ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() - : continuationToken_; + return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; } else { return continuationTokenBuilder_.getMessage(); } } /** - * - * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5609,8 +4921,6 @@ public Builder setContinuationToken(com.google.bigtable.v2.StreamContinuationTok
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5630,8 +4940,6 @@ public Builder setContinuationToken(
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5641,10 +4949,9 @@ public Builder setContinuationToken(
        */
       public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationToken value) {
         if (continuationTokenBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && continuationToken_ != null
-              && continuationToken_
-                  != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            continuationToken_ != null &&
+            continuationToken_ != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
             getContinuationTokenBuilder().mergeFrom(value);
           } else {
             continuationToken_ = value;
@@ -5657,8 +4964,6 @@ public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationT
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5677,8 +4982,6 @@ public Builder clearContinuationToken() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5692,8 +4995,6 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokenFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5701,19 +5002,15 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        *
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
-      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder
-          getContinuationTokenOrBuilder() {
+      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
         if (continuationTokenBuilder_ != null) {
           return continuationTokenBuilder_.getMessageOrBuilder();
         } else {
-          return continuationToken_ == null
-              ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
-              : continuationToken_;
+          return continuationToken_ == null ?
+              com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
         }
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5722,17 +5019,14 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
           getContinuationTokenFieldBuilder() {
         if (continuationTokenBuilder_ == null) {
-          continuationTokenBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.StreamContinuationToken,
-                  com.google.bigtable.v2.StreamContinuationToken.Builder,
-                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
-                  getContinuationToken(), getParentForChildren(), isClean());
+          continuationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+                  getContinuationToken(),
+                  getParentForChildren(),
+                  isClean());
           continuationToken_ = null;
         }
         return continuationTokenBuilder_;
@@ -5740,13 +5034,8 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
 
       private com.google.protobuf.Timestamp estimatedLowWatermark_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          estimatedLowWatermarkBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_;
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5757,15 +5046,12 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5776,21 +5062,16 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5816,8 +5097,6 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5841,8 +5120,6 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5856,9 +5133,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && estimatedLowWatermark_ != null
-              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            estimatedLowWatermark_ != null &&
+            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -5871,8 +5148,6 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5895,8 +5170,6 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5914,8 +5187,6 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5931,14 +5202,11 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
         }
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5951,22 +5219,18 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
+          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(),
+                  getParentForChildren(),
+                  isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5979,12 +5243,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     private static final com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat();
     }
@@ -5993,28 +5257,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Heartbeat parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Heartbeat parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6029,40 +5292,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CloseStreamOrBuilder
-      extends
+  public interface CloseStreamOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status of the stream.
      * 
@@ -6072,8 +5327,6 @@ public interface CloseStreamOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6081,10 +5334,9 @@ public interface CloseStreamOrBuilder
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List getContinuationTokensList();
+    java.util.List 
+        getContinuationTokensList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6094,8 +5346,6 @@ public interface CloseStreamOrBuilder
      */
     com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int index);
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6105,8 +5355,6 @@ public interface CloseStreamOrBuilder
      */
     int getContinuationTokensCount();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6114,11 +5362,9 @@ public interface CloseStreamOrBuilder
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List
+    java.util.List 
         getContinuationTokensOrBuilderList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6130,8 +5376,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
         int index);
 
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6140,10 +5384,9 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List getNewPartitionsList();
+    java.util.List 
+        getNewPartitionsList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6154,8 +5397,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     com.google.bigtable.v2.StreamPartition getNewPartitions(int index);
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6166,8 +5407,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     int getNewPartitionsCount();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6176,11 +5415,9 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List
+    java.util.List 
         getNewPartitionsOrBuilderList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6189,11 +5426,10 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index);
+    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A message indicating that the client should stop reading from the stream.
    * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -6219,16 +5455,15 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
    */
-  public static final class CloseStream extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CloseStream extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       CloseStreamOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CloseStream.newBuilder() to construct.
     private CloseStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CloseStream() {
       continuationTokens_ = java.util.Collections.emptyList();
       newPartitions_ = java.util.Collections.emptyList();
@@ -6236,36 +5471,32 @@ private CloseStream() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CloseStream();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
     }
 
     public static final int STATUS_FIELD_NUMBER = 1;
     private com.google.rpc.Status status_;
     /**
-     *
-     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ @java.lang.Override @@ -6273,14 +5504,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ @java.lang.Override @@ -6288,8 +5516,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status of the stream.
      * 
@@ -6302,12 +5528,9 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List continuationTokens_; /** - * - * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6316,13 +5539,10 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getContinuationTokensList() {
+    public java.util.List getContinuationTokensList() {
       return continuationTokens_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6331,13 +5551,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getContinuationTokensOrBuilderList() {
       return continuationTokens_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6350,8 +5568,6 @@ public int getContinuationTokensCount() {
       return continuationTokens_.size();
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6364,8 +5580,6 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
       return continuationTokens_.get(index);
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6380,12 +5594,9 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
     }
 
     public static final int NEW_PARTITIONS_FIELD_NUMBER = 3;
-
     @SuppressWarnings("serial")
     private java.util.List newPartitions_;
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6399,8 +5610,6 @@ public java.util.List getNewPartitionsLi
       return newPartitions_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6410,13 +5619,11 @@ public java.util.List getNewPartitionsLi
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getNewPartitionsOrBuilderList() {
       return newPartitions_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6430,8 +5637,6 @@ public int getNewPartitionsCount() {
       return newPartitions_.size();
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6445,8 +5650,6 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
       return newPartitions_.get(index);
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6456,12 +5659,12 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
+    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+        int index) {
       return newPartitions_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6473,7 +5676,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (status_ != null) {
         output.writeMessage(1, getStatus());
       }
@@ -6493,14 +5697,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getStatus());
       }
       for (int i = 0; i < continuationTokens_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(2, continuationTokens_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, continuationTokens_.get(i));
       }
       for (int i = 0; i < newPartitions_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, newPartitions_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, newPartitions_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -6510,20 +5716,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other = (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
 
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
-      if (!getContinuationTokensList().equals(other.getContinuationTokensList())) return false;
-      if (!getNewPartitionsList().equals(other.getNewPartitionsList())) return false;
+      if (!getContinuationTokensList()
+          .equals(other.getContinuationTokensList())) return false;
+      if (!getNewPartitionsList()
+          .equals(other.getNewPartitionsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -6553,94 +5761,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -6650,8 +5853,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A message indicating that the client should stop reading from the stream.
      * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -6677,33 +5878,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
         com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6731,14 +5932,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
-          getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance();
       }
 
@@ -6753,18 +5953,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         if (continuationTokensBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0)) {
             continuationTokens_ = java.util.Collections.unmodifiableList(continuationTokens_);
@@ -6785,11 +5981,12 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+          result.status_ = statusBuilder_ == null
+              ? status_
+              : statusBuilder_.build();
         }
       }
 
@@ -6797,41 +5994,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6839,9 +6033,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other) {
-        if (other
-            == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) return this;
         if (other.hasStatus()) {
           mergeStatus(other.getStatus());
         }
@@ -6863,10 +6055,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               continuationTokensBuilder_ = null;
               continuationTokens_ = other.continuationTokens_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              continuationTokensBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getContinuationTokensFieldBuilder()
-                      : null;
+              continuationTokensBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getContinuationTokensFieldBuilder() : null;
             } else {
               continuationTokensBuilder_.addAllMessages(other.continuationTokens_);
             }
@@ -6890,10 +6081,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               newPartitionsBuilder_ = null;
               newPartitions_ = other.newPartitions_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              newPartitionsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getNewPartitionsFieldBuilder()
-                      : null;
+              newPartitionsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getNewPartitionsFieldBuilder() : null;
             } else {
               newPartitionsBuilder_.addAllMessages(other.newPartitions_);
             }
@@ -6925,46 +6115,45 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.bigtable.v2.StreamContinuationToken m =
-                      input.readMessage(
-                          com.google.bigtable.v2.StreamContinuationToken.parser(),
-                          extensionRegistry);
-                  if (continuationTokensBuilder_ == null) {
-                    ensureContinuationTokensIsMutable();
-                    continuationTokens_.add(m);
-                  } else {
-                    continuationTokensBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 18
-              case 26:
-                {
-                  com.google.bigtable.v2.StreamPartition m =
-                      input.readMessage(
-                          com.google.bigtable.v2.StreamPartition.parser(), extensionRegistry);
-                  if (newPartitionsBuilder_ == null) {
-                    ensureNewPartitionsIsMutable();
-                    newPartitions_.add(m);
-                  } else {
-                    newPartitionsBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getStatusFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                com.google.bigtable.v2.StreamContinuationToken m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamContinuationToken.parser(),
+                        extensionRegistry);
+                if (continuationTokensBuilder_ == null) {
+                  ensureContinuationTokensIsMutable();
+                  continuationTokens_.add(m);
+                } else {
+                  continuationTokensBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+              case 26: {
+                com.google.bigtable.v2.StreamPartition m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamPartition.parser(),
+                        extensionRegistry);
+                if (newPartitionsBuilder_ == null) {
+                  ensureNewPartitionsIsMutable();
+                  newPartitions_.add(m);
+                } else {
+                  newPartitionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6974,36 +6163,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-          statusBuilder_;
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
       /**
-       *
-       *
        * 
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -7014,8 +6195,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status of the stream.
        * 
@@ -7036,15 +6215,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -7055,8 +6233,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7065,9 +6241,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && status_ != null - && status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + status_ != null && + status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -7080,8 +6256,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7099,8 +6273,6 @@ public Builder clearStatus() { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7113,8 +6285,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status of the stream.
        * 
@@ -7125,12 +6295,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
        * The status of the stream.
        * 
@@ -7138,40 +6307,32 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } private java.util.List continuationTokens_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContinuationTokensIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - continuationTokens_ = - new java.util.ArrayList( - continuationTokens_); + continuationTokens_ = new java.util.ArrayList(continuationTokens_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder> - continuationTokensBuilder_; + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokensBuilder_; /** - * - * *
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7179,8 +6340,7 @@ private void ensureContinuationTokensIsMutable() {
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensList() {
+      public java.util.List getContinuationTokensList() {
         if (continuationTokensBuilder_ == null) {
           return java.util.Collections.unmodifiableList(continuationTokens_);
         } else {
@@ -7188,8 +6348,6 @@ private void ensureContinuationTokensIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7205,8 +6363,6 @@ public int getContinuationTokensCount() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7222,8 +6378,6 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7246,8 +6400,6 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7267,8 +6419,6 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7290,8 +6440,6 @@ public Builder addContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7314,8 +6462,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7335,8 +6481,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7356,8 +6500,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7369,7 +6511,8 @@ public Builder addAllContinuationTokens(
           java.lang.Iterable values) {
         if (continuationTokensBuilder_ == null) {
           ensureContinuationTokensIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, continuationTokens_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, continuationTokens_);
           onChanged();
         } else {
           continuationTokensBuilder_.addAllMessages(values);
@@ -7377,8 +6520,6 @@ public Builder addAllContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7397,8 +6538,6 @@ public Builder clearContinuationTokens() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7417,8 +6556,6 @@ public Builder removeContinuationTokens(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7431,8 +6568,6 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokensFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7443,14 +6578,11 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
       public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrBuilder(
           int index) {
         if (continuationTokensBuilder_ == null) {
-          return continuationTokens_.get(index);
-        } else {
+          return continuationTokens_.get(index);  } else {
           return continuationTokensBuilder_.getMessageOrBuilder(index);
         }
       }
-      /**
-       *
-       *
+      /**
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7458,8 +6590,8 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensOrBuilderList() {
+      public java.util.List 
+           getContinuationTokensOrBuilderList() {
         if (continuationTokensBuilder_ != null) {
           return continuationTokensBuilder_.getMessageOrBuilderList();
         } else {
@@ -7467,8 +6599,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7477,12 +6607,10 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder() {
-        return getContinuationTokensFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder().addBuilder(
+            com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7492,12 +6620,10 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder(
           int index) {
-        return getContinuationTokensFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7505,22 +6631,16 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensBuilderList() {
+      public java.util.List 
+           getContinuationTokensBuilderList() {
         return getContinuationTokensFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
           getContinuationTokensFieldBuilder() {
         if (continuationTokensBuilder_ == null) {
-          continuationTokensBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.StreamContinuationToken,
-                  com.google.bigtable.v2.StreamContinuationToken.Builder,
-                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+          continuationTokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
                   continuationTokens_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -7531,25 +6651,18 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
       }
 
       private java.util.List newPartitions_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureNewPartitionsIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          newPartitions_ =
-              new java.util.ArrayList(newPartitions_);
+          newPartitions_ = new java.util.ArrayList(newPartitions_);
           bitField0_ |= 0x00000004;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition,
-              com.google.bigtable.v2.StreamPartition.Builder,
-              com.google.bigtable.v2.StreamPartitionOrBuilder>
-          newPartitionsBuilder_;
+          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> newPartitionsBuilder_;
 
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7566,8 +6679,6 @@ public java.util.List getNewPartitionsLi
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7584,8 +6695,6 @@ public int getNewPartitionsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7602,8 +6711,6 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7612,7 +6719,8 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder setNewPartitions(
+          int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7626,8 +6734,6 @@ public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartitio
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7648,8 +6754,6 @@ public Builder setNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7672,8 +6776,6 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7682,7 +6784,8 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder addNewPartitions(
+          int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7696,8 +6799,6 @@ public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartitio
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7718,8 +6819,6 @@ public Builder addNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7740,8 +6839,6 @@ public Builder addNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7754,7 +6851,8 @@ public Builder addAllNewPartitions(
           java.lang.Iterable values) {
         if (newPartitionsBuilder_ == null) {
           ensureNewPartitionsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, newPartitions_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, newPartitions_);
           onChanged();
         } else {
           newPartitionsBuilder_.addAllMessages(values);
@@ -7762,8 +6860,6 @@ public Builder addAllNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7783,8 +6879,6 @@ public Builder clearNewPartitions() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7804,8 +6898,6 @@ public Builder removeNewPartitions(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7814,12 +6906,11 @@ public Builder removeNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(int index) {
+      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(
+          int index) {
         return getNewPartitionsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7828,16 +6919,14 @@ public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(in
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
+      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+          int index) {
         if (newPartitionsBuilder_ == null) {
-          return newPartitions_.get(index);
-        } else {
+          return newPartitions_.get(index);  } else {
           return newPartitionsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7846,8 +6935,8 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List
-          getNewPartitionsOrBuilderList() {
+      public java.util.List 
+           getNewPartitionsOrBuilderList() {
         if (newPartitionsBuilder_ != null) {
           return newPartitionsBuilder_.getMessageOrBuilderList();
         } else {
@@ -7855,8 +6944,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7866,12 +6953,10 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
       public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder() {
-        return getNewPartitionsFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+        return getNewPartitionsFieldBuilder().addBuilder(
+            com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7880,13 +6965,12 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder()
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(int index) {
-        return getNewPartitionsFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(
+          int index) {
+        return getNewPartitionsFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7895,22 +6979,16 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(in
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List
-          getNewPartitionsBuilderList() {
+      public java.util.List 
+           getNewPartitionsBuilderList() {
         return getNewPartitionsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition,
-              com.google.bigtable.v2.StreamPartition.Builder,
-              com.google.bigtable.v2.StreamPartitionOrBuilder>
+          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> 
           getNewPartitionsFieldBuilder() {
         if (newPartitionsBuilder_ == null) {
-          newPartitionsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.StreamPartition,
-                  com.google.bigtable.v2.StreamPartition.Builder,
-                  com.google.bigtable.v2.StreamPartitionOrBuilder>(
+          newPartitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>(
                   newPartitions_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -7919,7 +6997,6 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(in
         }
         return newPartitionsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -7932,13 +7009,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream();
     }
@@ -7947,28 +7023,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDef
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CloseStream parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CloseStream parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7983,23 +7058,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int streamRecordCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object streamRecord_;
-
   public enum StreamRecordCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DATA_CHANGE(1),
     HEARTBEAT(2),
     CLOSE_STREAM(3),
     STREAMRECORD_NOT_SET(0);
     private final int value;
-
     private StreamRecordCase(int value) {
       this.value = value;
     }
@@ -8015,38 +7087,31 @@ public static StreamRecordCase valueOf(int value) {
 
     public static StreamRecordCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return DATA_CHANGE;
-        case 2:
-          return HEARTBEAT;
-        case 3:
-          return CLOSE_STREAM;
-        case 0:
-          return STREAMRECORD_NOT_SET;
-        default:
-          return null;
+        case 1: return DATA_CHANGE;
+        case 2: return HEARTBEAT;
+        case 3: return CLOSE_STREAM;
+        case 0: return STREAMRECORD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamRecordCase getStreamRecordCase() {
-    return StreamRecordCase.forNumber(streamRecordCase_);
+  public StreamRecordCase
+  getStreamRecordCase() {
+    return StreamRecordCase.forNumber(
+        streamRecordCase_);
   }
 
   public static final int DATA_CHANGE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -8054,26 +7119,21 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } /** - * - * *
    * A mutation to the partition.
    * 
@@ -8081,24 +7141,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder - getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } public static final int HEARTBEAT_FIELD_NUMBER = 2; /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -8106,26 +7162,21 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } /** - * - * *
    * A periodic heartbeat message.
    * 
@@ -8133,24 +7184,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder - getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } public static final int CLOSE_STREAM_FIELD_NUMBER = 3; /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -8158,26 +7205,21 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } /** - * - * *
    * An indication that the stream should be closed.
    * 
@@ -8185,16 +7227,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder - getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8206,18 +7246,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (streamRecordCase_ == 1) { - output.writeMessage( - 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + output.writeMessage(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - output.writeMessage( - 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + output.writeMessage(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - output.writeMessage( - 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + output.writeMessage(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } getUnknownFields().writeTo(output); } @@ -8229,19 +7267,16 @@ public int getSerializedSize() { size = 0; if (streamRecordCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8251,24 +7286,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse other = - (com.google.bigtable.v2.ReadChangeStreamResponse) obj; + com.google.bigtable.v2.ReadChangeStreamResponse other = (com.google.bigtable.v2.ReadChangeStreamResponse) obj; if (!getStreamRecordCase().equals(other.getStreamRecordCase())) return false; switch (streamRecordCase_) { case 1: - if (!getDataChange().equals(other.getDataChange())) return false; + if (!getDataChange() + .equals(other.getDataChange())) return false; break; case 2: - if (!getHeartbeat().equals(other.getHeartbeat())) return false; + if (!getHeartbeat() + .equals(other.getHeartbeat())) return false; break; case 3: - if (!getCloseStream().equals(other.getCloseStream())) return false; + if (!getCloseStream() + .equals(other.getCloseStream())) return false; break; case 0: default: @@ -8305,104 +7342,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.ReadChangeStream.
@@ -8410,32 +7442,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse)
       com.google.bigtable.v2.ReadChangeStreamResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8455,9 +7488,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
@@ -8476,11 +7509,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamResponse buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamResponse result =
-          new com.google.bigtable.v2.ReadChangeStreamResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadChangeStreamResponse result = new com.google.bigtable.v2.ReadChangeStreamResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -8493,13 +7523,16 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse resul
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse result) {
       result.streamRecordCase_ = streamRecordCase_;
       result.streamRecord_ = this.streamRecord_;
-      if (streamRecordCase_ == 1 && dataChangeBuilder_ != null) {
+      if (streamRecordCase_ == 1 &&
+          dataChangeBuilder_ != null) {
         result.streamRecord_ = dataChangeBuilder_.build();
       }
-      if (streamRecordCase_ == 2 && heartbeatBuilder_ != null) {
+      if (streamRecordCase_ == 2 &&
+          heartbeatBuilder_ != null) {
         result.streamRecord_ = heartbeatBuilder_.build();
       }
-      if (streamRecordCase_ == 3 && closeStreamBuilder_ != null) {
+      if (streamRecordCase_ == 3 &&
+          closeStreamBuilder_ != null) {
         result.streamRecord_ = closeStreamBuilder_.build();
       }
     }
@@ -8508,39 +7541,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse) other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8548,28 +7580,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse other) {
-      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance()) return this;
       switch (other.getStreamRecordCase()) {
-        case DATA_CHANGE:
-          {
-            mergeDataChange(other.getDataChange());
-            break;
-          }
-        case HEARTBEAT:
-          {
-            mergeHeartbeat(other.getHeartbeat());
-            break;
-          }
-        case CLOSE_STREAM:
-          {
-            mergeCloseStream(other.getCloseStream());
-            break;
-          }
-        case STREAMRECORD_NOT_SET:
-          {
-            break;
-          }
+        case DATA_CHANGE: {
+          mergeDataChange(other.getDataChange());
+          break;
+        }
+        case HEARTBEAT: {
+          mergeHeartbeat(other.getHeartbeat());
+          break;
+        }
+        case CLOSE_STREAM: {
+          mergeCloseStream(other.getCloseStream());
+          break;
+        }
+        case STREAMRECORD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -8597,31 +7624,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDataChangeFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getHeartbeatFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCloseStreamFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDataChangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getHeartbeatFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCloseStreamFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 3;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8631,12 +7660,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int streamRecordCase_ = 0;
     private java.lang.Object streamRecord_;
-
-    public StreamRecordCase getStreamRecordCase() {
-      return StreamRecordCase.forNumber(streamRecordCase_);
+    public StreamRecordCase
+        getStreamRecordCase() {
+      return StreamRecordCase.forNumber(
+          streamRecordCase_);
     }
 
     public Builder clearStreamRecord() {
@@ -8649,19 +7678,13 @@ public Builder clearStreamRecord() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange,
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder,
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>
-        dataChangeBuilder_;
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> dataChangeBuilder_;
     /**
-     *
-     *
      * 
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -8669,14 +7692,11 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ @java.lang.Override @@ -8694,8 +7714,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( } } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8716,8 +7734,6 @@ public Builder setDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.Dat return this; } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8736,26 +7752,18 @@ public Builder setDataChange( return this; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public Builder mergeDataChange( - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { + public Builder mergeDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { if (dataChangeBuilder_ == null) { - if (streamRecordCase_ == 1 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange - .getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 1 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -8771,8 +7779,6 @@ public Builder mergeDataChange( return this; } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8796,21 +7802,16 @@ public Builder clearDataChange() { return this; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder - getDataChangeBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder getDataChangeBuilder() { return getDataChangeFieldBuilder().getBuilder(); } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8818,8 +7819,7 @@ public Builder clearDataChange() { * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder - getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { if ((streamRecordCase_ == 1) && (dataChangeBuilder_ != null)) { return dataChangeBuilder_.getMessageOrBuilder(); } else { @@ -8830,8 +7830,6 @@ public Builder clearDataChange() { } } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8839,20 +7837,14 @@ public Builder clearDataChange() { * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> getDataChangeFieldBuilder() { if (dataChangeBuilder_ == null) { if (!(streamRecordCase_ == 1)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); - } - dataChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); + } + dataChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_, getParentForChildren(), isClean()); @@ -8864,19 +7856,13 @@ public Builder clearDataChange() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> - heartbeatBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> heartbeatBuilder_; /** - * - * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -8884,14 +7870,11 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** - * - * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ @java.lang.Override @@ -8909,8 +7892,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() } } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -8931,8 +7912,6 @@ public Builder setHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Hear return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -8951,8 +7930,6 @@ public Builder setHeartbeat( return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -8961,14 +7938,10 @@ public Builder setHeartbeat( */ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat value) { if (heartbeatBuilder_ == null) { - if (streamRecordCase_ == 2 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 2 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -8984,8 +7957,6 @@ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.He return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9009,8 +7980,6 @@ public Builder clearHeartbeat() { return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9021,8 +7990,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear return getHeartbeatFieldBuilder().getBuilder(); } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9030,8 +7997,7 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder - getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { if ((streamRecordCase_ == 2) && (heartbeatBuilder_ != null)) { return heartbeatBuilder_.getMessageOrBuilder(); } else { @@ -9042,8 +8008,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear } } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9051,20 +8015,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> getHeartbeatFieldBuilder() { if (heartbeatBuilder_ == null) { if (!(streamRecordCase_ == 2)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); - } - heartbeatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); + } + heartbeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_, getParentForChildren(), isClean()); @@ -9076,19 +8034,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> - closeStreamBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> closeStreamBuilder_; /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -9096,14 +8048,11 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ @java.lang.Override @@ -9121,16 +8070,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea } } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder setCloseStream( - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder setCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9144,8 +8090,6 @@ public Builder setCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9164,26 +8108,18 @@ public Builder setCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder mergeCloseStream( - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder mergeCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { - if (streamRecordCase_ == 3 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream - .getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 3 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -9199,8 +8135,6 @@ public Builder mergeCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9224,21 +8158,16 @@ public Builder clearCloseStream() { return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder - getCloseStreamBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder getCloseStreamBuilder() { return getCloseStreamFieldBuilder().getBuilder(); } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9246,8 +8175,7 @@ public Builder clearCloseStream() { * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder - getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { if ((streamRecordCase_ == 3) && (closeStreamBuilder_ != null)) { return closeStreamBuilder_.getMessageOrBuilder(); } else { @@ -9258,8 +8186,6 @@ public Builder clearCloseStream() { } } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9267,20 +8193,14 @@ public Builder clearCloseStream() { * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> getCloseStreamFieldBuilder() { if (closeStreamBuilder_ == null) { if (!(streamRecordCase_ == 3)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); - } - closeStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); + } + closeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_, getParentForChildren(), isClean()); @@ -9290,9 +8210,9 @@ public Builder clearCloseStream() { onChanged(); return closeStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9302,12 +8222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse) private static final com.google.bigtable.v2.ReadChangeStreamResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse(); } @@ -9316,27 +8236,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadChangeStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadChangeStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9351,4 +8271,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java index b69f36de43..1087ee6107 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadChangeStreamResponseOrBuilder - extends +public interface ReadChangeStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ boolean hasDataChange(); /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange(); /** - * - * *
    * A mutation to the partition.
    * 
@@ -59,32 +35,24 @@ public interface ReadChangeStreamResponseOrBuilder com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder(); /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ boolean hasHeartbeat(); /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat(); /** - * - * *
    * A periodic heartbeat message.
    * 
@@ -94,32 +62,24 @@ public interface ReadChangeStreamResponseOrBuilder com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder(); /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ boolean hasCloseStream(); /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream(); /** - * - * *
    * An indication that the stream should be closed.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java index 87c158ea06..33659c5fdb 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; /** - * - * *
  * ReadIterationStats captures information about the iteration of rows or cells
  * over the course of a read, e.g. how many results were scanned in a read
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
  */
-public final class ReadIterationStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadIterationStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIterationStats)
     ReadIterationStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadIterationStats.newBuilder() to construct.
   private ReadIterationStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadIterationStats() {}
+  private ReadIterationStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadIterationStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadIterationStats.class,
-            com.google.bigtable.v2.ReadIterationStats.Builder.class);
+            com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
   }
 
   public static final int ROWS_SEEN_COUNT_FIELD_NUMBER = 1;
   private long rowsSeenCount_ = 0L;
   /**
-   *
-   *
    * 
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ @java.lang.Override @@ -84,14 +63,11 @@ public long getRowsSeenCount() { public static final int ROWS_RETURNED_COUNT_FIELD_NUMBER = 2; private long rowsReturnedCount_ = 0L; /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -102,15 +78,12 @@ public long getRowsReturnedCount() { public static final int CELLS_SEEN_COUNT_FIELD_NUMBER = 3; private long cellsSeenCount_ = 0L; /** - * - * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ @java.lang.Override @@ -121,14 +94,11 @@ public long getCellsSeenCount() { public static final int CELLS_RETURNED_COUNT_FIELD_NUMBER = 4; private long cellsReturnedCount_ = 0L; /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -137,7 +107,6 @@ public long getCellsReturnedCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowsSeenCount_ != 0L) { output.writeInt64(1, rowsSeenCount_); } @@ -172,16 +142,20 @@ public int getSerializedSize() { size = 0; if (rowsSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowsSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, rowsSeenCount_); } if (rowsReturnedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowsReturnedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, rowsReturnedCount_); } if (cellsSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, cellsSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, cellsSeenCount_); } if (cellsReturnedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, cellsReturnedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, cellsReturnedCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,18 +165,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadIterationStats)) { return super.equals(obj); } - com.google.bigtable.v2.ReadIterationStats other = - (com.google.bigtable.v2.ReadIterationStats) obj; + com.google.bigtable.v2.ReadIterationStats other = (com.google.bigtable.v2.ReadIterationStats) obj; - if (getRowsSeenCount() != other.getRowsSeenCount()) return false; - if (getRowsReturnedCount() != other.getRowsReturnedCount()) return false; - if (getCellsSeenCount() != other.getCellsSeenCount()) return false; - if (getCellsReturnedCount() != other.getCellsReturnedCount()) return false; + if (getRowsSeenCount() + != other.getRowsSeenCount()) return false; + if (getRowsReturnedCount() + != other.getRowsReturnedCount()) return false; + if (getCellsSeenCount() + != other.getCellsSeenCount()) return false; + if (getCellsReturnedCount() + != other.getCellsReturnedCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,116 +192,115 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROWS_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsSeenCount()); hash = (37 * hash) + ROWS_RETURNED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsReturnedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsReturnedCount()); hash = (37 * hash) + CELLS_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsSeenCount()); hash = (37 * hash) + CELLS_RETURNED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsReturnedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsReturnedCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadIterationStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadIterationStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ReadIterationStats captures information about the iteration of rows or cells
    * over the course of a read, e.g. how many results were scanned in a read
@@ -333,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadIterationStats)
       com.google.bigtable.v2.ReadIterationStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadIterationStats.class,
-              com.google.bigtable.v2.ReadIterationStats.Builder.class);
+              com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadIterationStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -371,9 +348,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
     }
 
     @java.lang.Override
@@ -392,11 +369,8 @@ public com.google.bigtable.v2.ReadIterationStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadIterationStats buildPartial() {
-      com.google.bigtable.v2.ReadIterationStats result =
-          new com.google.bigtable.v2.ReadIterationStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadIterationStats result = new com.google.bigtable.v2.ReadIterationStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -421,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadIterationStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadIterationStats) {
-        return mergeFrom((com.google.bigtable.v2.ReadIterationStats) other);
+        return mergeFrom((com.google.bigtable.v2.ReadIterationStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -500,37 +473,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                rowsSeenCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                rowsReturnedCount_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                cellsSeenCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                cellsReturnedCount_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              rowsSeenCount_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              rowsReturnedCount_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              cellsSeenCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              cellsReturnedCount_ = input.readInt64();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -540,20 +508,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long rowsSeenCount_;
+    private long rowsSeenCount_ ;
     /**
-     *
-     *
      * 
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ @java.lang.Override @@ -561,15 +525,12 @@ public long getRowsSeenCount() { return rowsSeenCount_; } /** - * - * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @param value The rowsSeenCount to set. * @return This builder for chaining. */ @@ -581,15 +542,12 @@ public Builder setRowsSeenCount(long value) { return this; } /** - * - * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @return This builder for chaining. */ public Builder clearRowsSeenCount() { @@ -599,16 +557,13 @@ public Builder clearRowsSeenCount() { return this; } - private long rowsReturnedCount_; + private long rowsReturnedCount_ ; /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -616,14 +571,11 @@ public long getRowsReturnedCount() { return rowsReturnedCount_; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @param value The rowsReturnedCount to set. * @return This builder for chaining. */ @@ -635,14 +587,11 @@ public Builder setRowsReturnedCount(long value) { return this; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return This builder for chaining. */ public Builder clearRowsReturnedCount() { @@ -652,17 +601,14 @@ public Builder clearRowsReturnedCount() { return this; } - private long cellsSeenCount_; + private long cellsSeenCount_ ; /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ @java.lang.Override @@ -670,15 +616,12 @@ public long getCellsSeenCount() { return cellsSeenCount_; } /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @param value The cellsSeenCount to set. * @return This builder for chaining. */ @@ -690,15 +633,12 @@ public Builder setCellsSeenCount(long value) { return this; } /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @return This builder for chaining. */ public Builder clearCellsSeenCount() { @@ -708,16 +648,13 @@ public Builder clearCellsSeenCount() { return this; } - private long cellsReturnedCount_; + private long cellsReturnedCount_ ; /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -725,14 +662,11 @@ public long getCellsReturnedCount() { return cellsReturnedCount_; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @param value The cellsReturnedCount to set. * @return This builder for chaining. */ @@ -744,14 +678,11 @@ public Builder setCellsReturnedCount(long value) { return this; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return This builder for chaining. */ public Builder clearCellsReturnedCount() { @@ -760,9 +691,9 @@ public Builder clearCellsReturnedCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -772,12 +703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadIterationStats) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadIterationStats) private static final com.google.bigtable.v2.ReadIterationStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadIterationStats(); } @@ -786,27 +717,27 @@ public static com.google.bigtable.v2.ReadIterationStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadIterationStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadIterationStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,4 +752,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java index c9f7c6e842..0258d40bd2 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java @@ -1,78 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; -public interface ReadIterationStatsOrBuilder - extends +public interface ReadIterationStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadIterationStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ long getRowsSeenCount(); /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ long getRowsReturnedCount(); /** - * - * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ long getCellsSeenCount(); /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ long getCellsReturnedCount(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java index 24d95ac2d7..e8680f0c7d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowRequest} */ -public final class ReadModifyWriteRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadModifyWriteRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowRequest) ReadModifyWriteRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowRequest.newBuilder() to construct. private ReadModifyWriteRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadModifyWriteRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -46,42 +28,35 @@ private ReadModifyWriteRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -125,19 +98,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ @java.lang.Override @@ -146,30 +115,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,15 +149,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the read/modify/write rules should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -197,98 +163,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int RULES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { return rules_.get(index); } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -326,10 +272,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, rowKey_); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rules_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_); @@ -342,18 +290,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRowRequest other = - (com.google.bigtable.v2.ReadModifyWriteRowRequest) obj; + com.google.bigtable.v2.ReadModifyWriteRowRequest other = (com.google.bigtable.v2.ReadModifyWriteRowRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -380,136 +331,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.ReadModifyWriteRow.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.bigtable.v2.ReadModifyWriteRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadModifyWriteRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -528,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override @@ -549,18 +496,14 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowRequest buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowRequest result = - new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); + com.google.bigtable.v2.ReadModifyWriteRowRequest result = new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.ReadModifyWriteRowRequest result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadModifyWriteRowRequest result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -589,39 +532,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest)other); } else { super.mergeFrom(other); return this; @@ -629,8 +571,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) { - if (other == com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; @@ -662,10 +603,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000008); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -697,44 +637,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - com.google.bigtable.v2.ReadModifyWriteRule m = - input.readMessage( - com.google.bigtable.v2.ReadModifyWriteRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + com.google.bigtable.v2.ReadModifyWriteRule m = + input.readMessage( + com.google.bigtable.v2.ReadModifyWriteRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -744,29 +680,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -775,25 +706,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -801,43 +729,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -847,25 +764,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -875,21 +786,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -898,22 +807,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -921,37 +829,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -961,22 +862,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -986,15 +883,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -1002,37 +896,29 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1043,33 +929,25 @@ public Builder clearRowKey() { } private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> rulesBuilder_; /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -1079,17 +957,13 @@ public java.util.List getRulesList() } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -1099,17 +973,13 @@ public int getRulesCount() { } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { if (rulesBuilder_ == null) { @@ -1119,19 +989,16 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) { + public Builder setRules( + int index, com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1145,17 +1012,13 @@ public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1169,17 +1032,13 @@ public Builder setRules( return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { @@ -1195,19 +1054,16 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) { + public Builder addRules( + int index, com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1221,19 +1077,16 @@ public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1244,17 +1097,13 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder build return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1268,23 +1117,20 @@ public Builder addRules( return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1292,17 +1138,13 @@ public Builder addAllRules( return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -1315,17 +1157,13 @@ public Builder clearRules() { return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -1338,56 +1176,45 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1395,76 +1222,62 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); + public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1474,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRowRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRowRequest) private static final com.google.bigtable.v2.ReadModifyWriteRowRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRowRequest(); } @@ -1488,27 +1301,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1523,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java index 8ac9d12675..0c9433bce8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -1,171 +1,120 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadModifyWriteRowRequestOrBuilder - extends +public interface ReadModifyWriteRowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the read/modify/write rules should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.ReadModifyWriteRule getRules(int index); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getRulesCount(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java similarity index 67% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java index 96cac4d516..ccb6d7b705 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ -public final class ReadModifyWriteRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadModifyWriteRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowResponse) ReadModifyWriteRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowResponse.newBuilder() to construct. private ReadModifyWriteRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadModifyWriteRowResponse() {} + private ReadModifyWriteRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } public static final int ROW_FIELD_NUMBER = 1; private com.google.bigtable.v2.Row row_; /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasRow() { return row_ != null; } /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.bigtable.v2.Row getRow() { return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_; } /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
@@ -107,7 +81,6 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (row_ != null) { output.writeMessage(1, getRow()); } @@ -133,7 +107,8 @@ public int getSerializedSize() { size = 0; if (row_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRow()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,17 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRowResponse other = - (com.google.bigtable.v2.ReadModifyWriteRowResponse) obj; + com.google.bigtable.v2.ReadModifyWriteRowResponse other = (com.google.bigtable.v2.ReadModifyWriteRowResponse) obj; if (hasRow() != other.hasRow()) return false; if (hasRow()) { - if (!getRow().equals(other.getRow())) return false; + if (!getRow() + .equals(other.getRow())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -176,135 +151,131 @@ public int hashCode() { } public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.ReadModifyWriteRow.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRowResponse) com.google.bigtable.v2.ReadModifyWriteRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.ReadModifyWriteRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override @@ -339,11 +310,8 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowResponse result = - new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadModifyWriteRowResponse result = new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -351,7 +319,9 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.row_ = rowBuilder_ == null ? row_ : rowBuilder_.build(); + result.row_ = rowBuilder_ == null + ? row_ + : rowBuilder_.build(); } } @@ -359,39 +329,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse)other); } else { super.mergeFrom(other); return this; @@ -399,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowResponse other) { - if (other == com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance()) return this; if (other.hasRow()) { mergeRow(other.getRow()); } @@ -430,19 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRowFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,38 +420,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.Row row_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder> - rowBuilder_; + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> rowBuilder_; /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ public boolean hasRow() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ public com.google.bigtable.v2.Row getRow() { @@ -494,8 +452,6 @@ public com.google.bigtable.v2.Row getRow() { } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -516,15 +472,14 @@ public Builder setRow(com.google.bigtable.v2.Row value) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; */ - public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { + public Builder setRow( + com.google.bigtable.v2.Row.Builder builderForValue) { if (rowBuilder_ == null) { row_ = builderForValue.build(); } else { @@ -535,8 +490,6 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -545,9 +498,9 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { */ public Builder mergeRow(com.google.bigtable.v2.Row value) { if (rowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && row_ != null - && row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + row_ != null && + row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { getRowBuilder().mergeFrom(value); } else { row_ = value; @@ -560,8 +513,6 @@ public Builder mergeRow(com.google.bigtable.v2.Row value) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -579,8 +530,6 @@ public Builder clearRow() { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -593,8 +542,6 @@ public com.google.bigtable.v2.Row.Builder getRowBuilder() { return getRowFieldBuilder().getBuilder(); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -605,12 +552,11 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { if (rowBuilder_ != null) { return rowBuilder_.getMessageOrBuilder(); } else { - return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_; + return row_ == null ? + com.google.bigtable.v2.Row.getDefaultInstance() : row_; } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -618,23 +564,21 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { * .google.bigtable.v2.Row row = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder> + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> getRowFieldBuilder() { if (rowBuilder_ == null) { - rowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder>(getRow(), getParentForChildren(), isClean()); + rowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder>( + getRow(), + getParentForChildren(), + isClean()); row_ = null; } return rowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRowResponse) private static final com.google.bigtable.v2.ReadModifyWriteRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRowResponse(); } @@ -658,27 +602,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -693,4 +637,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java index 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 ecef60ec26..b40b10a3b6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies an atomic read/modify/write operation on the latest value of the
  * specified column.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRule}
  */
-public final class ReadModifyWriteRule extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadModifyWriteRule extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRule)
     ReadModifyWriteRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadModifyWriteRule.newBuilder() to construct.
   private ReadModifyWriteRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadModifyWriteRule() {
     familyName_ = "";
     columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -45,39 +27,34 @@ private ReadModifyWriteRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadModifyWriteRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadModifyWriteRule.class,
-            com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+            com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
   }
 
   private int ruleCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object rule_;
-
   public enum RuleCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_VALUE(3),
     INCREMENT_AMOUNT(4),
     RULE_NOT_SET(0);
     private final int value;
-
     private RuleCase(int value) {
       this.value = value;
     }
@@ -93,40 +70,33 @@ public static RuleCase valueOf(int value) {
 
     public static RuleCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APPEND_VALUE;
-        case 4:
-          return INCREMENT_AMOUNT;
-        case 0:
-          return RULE_NOT_SET;
-        default:
-          return null;
+        case 3: return APPEND_VALUE;
+        case 4: return INCREMENT_AMOUNT;
+        case 0: return RULE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RuleCase getRuleCase() {
-    return RuleCase.forNumber(ruleCase_);
+  public RuleCase
+  getRuleCase() {
+    return RuleCase.forNumber(
+        ruleCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
-   *
-   *
    * 
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -135,30 +105,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -169,8 +139,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -178,7 +146,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
    * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -188,8 +155,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int APPEND_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -197,7 +162,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
    * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ @java.lang.Override @@ -205,8 +169,6 @@ public boolean hasAppendValue() { return ruleCase_ == 3; } /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -214,7 +176,6 @@ public boolean hasAppendValue() {
    * 
* * bytes append_value = 3; - * * @return The appendValue. */ @java.lang.Override @@ -227,8 +188,6 @@ public com.google.protobuf.ByteString getAppendValue() { public static final int INCREMENT_AMOUNT_FIELD_NUMBER = 4; /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -237,7 +196,6 @@ public com.google.protobuf.ByteString getAppendValue() {
    * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ @java.lang.Override @@ -245,8 +203,6 @@ public boolean hasIncrementAmount() { return ruleCase_ == 4; } /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -255,7 +211,6 @@ public boolean hasIncrementAmount() {
    * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ @java.lang.Override @@ -267,7 +222,6 @@ public long getIncrementAmount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -287,10 +242,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBytes(2, columnQualifier_); } if (ruleCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) rule_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) rule_); } if (ruleCase_ == 4) { - output.writeInt64(4, (long) ((java.lang.Long) rule_)); + output.writeInt64( + 4, (long)((java.lang.Long) rule_)); } getUnknownFields().writeTo(output); } @@ -305,17 +262,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (ruleCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) rule_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) rule_); } if (ruleCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 4, (long) ((java.lang.Long) rule_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 4, (long)((java.lang.Long) rule_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,23 +283,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRule)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRule other = - (com.google.bigtable.v2.ReadModifyWriteRule) obj; + com.google.bigtable.v2.ReadModifyWriteRule other = (com.google.bigtable.v2.ReadModifyWriteRule) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 3: - if (!getAppendValue().equals(other.getAppendValue())) return false; + if (!getAppendValue() + .equals(other.getAppendValue())) return false; break; case 4: - if (getIncrementAmount() != other.getIncrementAmount()) return false; + if (getIncrementAmount() + != other.getIncrementAmount()) return false; break; case 0: default: @@ -368,7 +329,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + INCREMENT_AMOUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIncrementAmount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIncrementAmount()); break; case 0: default: @@ -378,104 +340,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies an atomic read/modify/write operation on the latest value of the
    * specified column.
@@ -483,32 +440,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRule}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRule)
       com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadModifyWriteRule.class,
-              com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+              com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadModifyWriteRule.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -521,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
     }
 
     @java.lang.Override
@@ -542,11 +500,8 @@ public com.google.bigtable.v2.ReadModifyWriteRule build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadModifyWriteRule buildPartial() {
-      com.google.bigtable.v2.ReadModifyWriteRule result =
-          new com.google.bigtable.v2.ReadModifyWriteRule(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadModifyWriteRule result = new com.google.bigtable.v2.ReadModifyWriteRule(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -571,39 +526,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadModifyWriteRule resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadModifyWriteRule) {
-        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule) other);
+        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -621,20 +575,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRule other) {
         setColumnQualifier(other.getColumnQualifier());
       }
       switch (other.getRuleCase()) {
-        case APPEND_VALUE:
-          {
-            setAppendValue(other.getAppendValue());
-            break;
-          }
-        case INCREMENT_AMOUNT:
-          {
-            setIncrementAmount(other.getIncrementAmount());
-            break;
-          }
-        case RULE_NOT_SET:
-          {
-            break;
-          }
+        case APPEND_VALUE: {
+          setAppendValue(other.getAppendValue());
+          break;
+        }
+        case INCREMENT_AMOUNT: {
+          setIncrementAmount(other.getIncrementAmount());
+          break;
+        }
+        case RULE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -662,37 +613,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                columnQualifier_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                rule_ = input.readBytes();
-                ruleCase_ = 3;
-                break;
-              } // case 26
-            case 32:
-              {
-                rule_ = input.readInt64();
-                ruleCase_ = 4;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              columnQualifier_ = input.readBytes();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              rule_ = input.readBytes();
+              ruleCase_ = 3;
+              break;
+            } // case 26
+            case 32: {
+              rule_ = input.readInt64();
+              ruleCase_ = 4;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -702,12 +648,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int ruleCase_ = 0;
     private java.lang.Object rule_;
-
-    public RuleCase getRuleCase() {
-      return RuleCase.forNumber(ruleCase_);
+    public RuleCase
+        getRuleCase() {
+      return RuleCase.forNumber(
+          ruleCase_);
     }
 
     public Builder clearRule() {
@@ -721,21 +667,19 @@ public Builder clearRule() {
 
     private java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -744,22 +688,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -767,37 +710,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -807,22 +743,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -832,8 +764,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -841,7 +771,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -849,8 +778,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -858,22 +785,17 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * bytes column_qualifier = 2; - * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -881,7 +803,6 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -892,8 +813,6 @@ public Builder clearColumnQualifier() { } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -901,15 +820,12 @@ public Builder clearColumnQualifier() {
      * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ public boolean hasAppendValue() { return ruleCase_ == 3; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -917,7 +833,6 @@ public boolean hasAppendValue() {
      * 
* * bytes append_value = 3; - * * @return The appendValue. */ public com.google.protobuf.ByteString getAppendValue() { @@ -927,8 +842,6 @@ public com.google.protobuf.ByteString getAppendValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -936,22 +849,17 @@ public com.google.protobuf.ByteString getAppendValue() {
      * 
* * bytes append_value = 3; - * * @param value The appendValue to set. * @return This builder for chaining. */ public Builder setAppendValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } ruleCase_ = 3; rule_ = value; onChanged(); return this; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -959,7 +867,6 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
      * 
* * bytes append_value = 3; - * * @return This builder for chaining. */ public Builder clearAppendValue() { @@ -972,8 +879,6 @@ public Builder clearAppendValue() { } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -982,15 +887,12 @@ public Builder clearAppendValue() {
      * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ public boolean hasIncrementAmount() { return ruleCase_ == 4; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -999,7 +901,6 @@ public boolean hasIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ public long getIncrementAmount() { @@ -1009,8 +910,6 @@ public long getIncrementAmount() { return 0L; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1019,7 +918,6 @@ public long getIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @param value The incrementAmount to set. * @return This builder for chaining. */ @@ -1031,8 +929,6 @@ public Builder setIncrementAmount(long value) { return this; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1041,7 +937,6 @@ public Builder setIncrementAmount(long value) {
      * 
* * int64 increment_amount = 4; - * * @return This builder for chaining. */ public Builder clearIncrementAmount() { @@ -1052,9 +947,9 @@ public Builder clearIncrementAmount() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1064,12 +959,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRule) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRule) private static final com.google.bigtable.v2.ReadModifyWriteRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRule(); } @@ -1078,27 +973,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1113,4 +1008,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java index 08a6b897df..f31704e8cf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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 70% 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 b1a6b89f48..97d1e7aaf7 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,28 +27,25 @@ private ReadRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, - com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); } /** - * - * *
    * The desired view into RequestStats that should be returned in the response.
    *
@@ -75,10 +54,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.bigtable.v2.ReadRowsRequest.RequestStatsView}
    */
-  public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RequestStatsView
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -87,8 +65,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum */ REQUEST_STATS_VIEW_UNSPECIFIED(0), /** - * - * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -98,8 +74,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     REQUEST_STATS_NONE(1),
     /**
-     *
-     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -112,8 +86,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -122,8 +94,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum */ public static final int REQUEST_STATS_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -133,8 +103,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -144,6 +112,7 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,42 +137,39 @@ public static RequestStatsView valueOf(int value) {
      */
     public static RequestStatsView forNumber(int value) {
       switch (value) {
-        case 0:
-          return REQUEST_STATS_VIEW_UNSPECIFIED;
-        case 1:
-          return REQUEST_STATS_NONE;
-        case 2:
-          return REQUEST_STATS_FULL;
-        default:
-          return null;
+        case 0: return REQUEST_STATS_VIEW_UNSPECIFIED;
+        case 1: return REQUEST_STATS_NONE;
+        case 2: return REQUEST_STATS_FULL;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RequestStatsView> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RequestStatsView findValueByNumber(int number) {
+              return RequestStatsView.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RequestStatsView findValueByNumber(int number) {
-                return RequestStatsView.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.v2.ReadRowsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -212,7 +178,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static RequestStatsView valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -230,22 +197,16 @@ private RequestStatsView(int value) {
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -254,33 +215,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -289,19 +248,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ @java.lang.Override @@ -310,30 +265,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -344,15 +299,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROWS_FIELD_NUMBER = 2; private com.google.bigtable.v2.RowSet rows_; /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ @java.lang.Override @@ -360,15 +312,12 @@ public boolean hasRows() { return rows_ != null; } /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ @java.lang.Override @@ -376,8 +325,6 @@ public com.google.bigtable.v2.RowSet getRows() { return rows_ == null ? com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_; } /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -393,15 +340,12 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
   public static final int FILTER_FIELD_NUMBER = 3;
   private com.google.bigtable.v2.RowFilter filter_;
   /**
-   *
-   *
    * 
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -409,15 +353,12 @@ public boolean hasFilter() { return filter_ != null; } /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ @java.lang.Override @@ -425,8 +366,6 @@ public com.google.bigtable.v2.RowFilter getFilter() { return filter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_; } /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
@@ -442,15 +381,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
   public static final int ROWS_LIMIT_FIELD_NUMBER = 4;
   private long rowsLimit_ = 0L;
   /**
-   *
-   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ @java.lang.Override @@ -461,42 +397,52 @@ public long getRowsLimit() { public static final int REQUEST_STATS_VIEW_FIELD_NUMBER = 6; private int requestStatsView_ = 0; /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override - public int getRequestStatsViewValue() { + @java.lang.Override public int getRequestStatsViewValue() { return requestStatsView_; } /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ + @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; + } + + public static final int REVERSED_FIELD_NUMBER = 7; + private boolean reversed_ = false; + /** + *
+   * Experimental API - Please note that this API is currently experimental
+   * and can change in the future.
+   *
+   * Return rows in lexiographical descending order of the row keys. The row
+   * contents will not be affected by this flag.
+   * Example result set: [
+   * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2",
+   * "f:col2": "v2"} ].
+   * 
+ * + * bool reversed = 7; + * @return The reversed. + */ @java.lang.Override - public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null - ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED - : result; + public boolean getReversed() { + return reversed_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -508,7 +454,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -524,11 +471,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appProfileId_); } - if (requestStatsView_ - != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED - .getNumber()) { + if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(6, requestStatsView_); } + if (reversed_ != false) { + output.writeBool(7, reversed_); + } getUnknownFields().writeTo(output); } @@ -542,21 +490,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (rows_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRows()); } if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFilter()); } if (rowsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowsLimit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, rowsLimit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appProfileId_); } - if (requestStatsView_ - != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, requestStatsView_); + if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, requestStatsView_); + } + if (reversed_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, reversed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -566,25 +520,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.ReadRowsRequest other = (com.google.bigtable.v2.ReadRowsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (hasRows() != other.hasRows()) return false; if (hasRows()) { - if (!getRows().equals(other.getRows())) return false; + if (!getRows() + .equals(other.getRows())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; } - if (getRowsLimit() != other.getRowsLimit()) return false; + if (getRowsLimit() + != other.getRowsLimit()) return false; if (requestStatsView_ != other.requestStatsView_) return false; + if (getReversed() + != other.getReversed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -609,144 +570,144 @@ public int hashCode() { hash = (53 * hash) + getFilter().hashCode(); } hash = (37 * hash) + ROWS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsLimit()); hash = (37 * hash) + REQUEST_STATS_VIEW_FIELD_NUMBER; hash = (53 * hash) + requestStatsView_; + hash = (37 * hash) + REVERSED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReversed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsRequest) com.google.bigtable.v2.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, - com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -765,13 +726,14 @@ public Builder clear() { } rowsLimit_ = 0L; requestStatsView_ = 0; + reversed_ = false; return this; } @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 @@ -790,11 +752,8 @@ public com.google.bigtable.v2.ReadRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest buildPartial() { - com.google.bigtable.v2.ReadRowsRequest result = - new com.google.bigtable.v2.ReadRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadRowsRequest result = new com.google.bigtable.v2.ReadRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -808,10 +767,14 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { result.appProfileId_ = appProfileId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); + result.rows_ = rowsBuilder_ == null + ? rows_ + : rowsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); + result.filter_ = filterBuilder_ == null + ? filter_ + : filterBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.rowsLimit_ = rowsLimit_; @@ -819,45 +782,47 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { if (((from_bitField0_ & 0x00000020) != 0)) { result.requestStatsView_ = requestStatsView_; } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.reversed_ = reversed_; + } } @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) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.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; @@ -888,6 +853,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsRequest other) { if (other.requestStatsView_ != 0) { setRequestStatsViewValue(other.getRequestStatsViewValue()); } + if (other.getReversed() != false) { + setReversed(other.getReversed()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -914,49 +882,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 32: - { - rowsLimit_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 32 - case 42: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 48: - { - requestStatsView_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRowsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 32: { + rowsLimit_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 42: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: { + requestStatsView_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + reversed_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -966,29 +936,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -997,25 +962,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 { @@ -1023,43 +985,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1069,25 +1020,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1097,21 +1042,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1120,22 +1063,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1143,37 +1085,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1183,22 +1118,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1208,35 +1139,26 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.v2.RowSet rows_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RowSet, - com.google.bigtable.v2.RowSet.Builder, - com.google.bigtable.v2.RowSetOrBuilder> - rowsBuilder_; + com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder> rowsBuilder_; /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ public com.google.bigtable.v2.RowSet getRows() { @@ -1247,8 +1169,6 @@ public com.google.bigtable.v2.RowSet getRows() { } } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1270,8 +1190,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.
@@ -1279,7 +1197,8 @@ public Builder setRows(com.google.bigtable.v2.RowSet value) {
      *
      * .google.bigtable.v2.RowSet rows = 2;
      */
-    public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
+    public Builder setRows(
+        com.google.bigtable.v2.RowSet.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         rows_ = builderForValue.build();
       } else {
@@ -1290,8 +1209,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.
@@ -1301,9 +1218,9 @@ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
      */
     public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       if (rowsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && rows_ != null
-            && rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          rows_ != null &&
+          rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
           getRowsBuilder().mergeFrom(value);
         } else {
           rows_ = value;
@@ -1316,8 +1233,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.
@@ -1336,8 +1251,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1351,8 +1264,6 @@ public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() {
       return getRowsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1364,12 +1275,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.
@@ -1378,17 +1288,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_;
@@ -1396,35 +1303,26 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
 
     private com.google.bigtable.v2.RowFilter filter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
-        filterBuilder_;
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filterBuilder_;
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ public com.google.bigtable.v2.RowFilter getFilter() { @@ -1435,8 +1333,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.
@@ -1458,8 +1354,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.
@@ -1467,7 +1361,8 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter value) {
      *
      * .google.bigtable.v2.RowFilter filter = 3;
      */
-    public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+    public Builder setFilter(
+        com.google.bigtable.v2.RowFilter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         filter_ = builderForValue.build();
       } else {
@@ -1478,8 +1373,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.
@@ -1489,9 +1382,9 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValu
      */
     public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       if (filterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && filter_ != null
-            && filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          filter_ != null &&
+          filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getFilterBuilder().mergeFrom(value);
         } else {
           filter_ = value;
@@ -1504,8 +1397,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.
@@ -1524,8 +1415,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.
@@ -1539,8 +1428,6 @@ public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1552,12 +1439,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.
@@ -1566,33 +1452,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 @@ -1600,15 +1480,12 @@ public long getRowsLimit() { return rowsLimit_; } /** - * - * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @param value The rowsLimit to set. * @return This builder for chaining. */ @@ -1620,15 +1497,12 @@ public Builder setRowsLimit(long value) { return this; } /** - * - * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @return This builder for chaining. */ public Builder clearRowsLimit() { @@ -1640,29 +1514,22 @@ public Builder clearRowsLimit() { private int requestStatsView_ = 0; /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override - public int getRequestStatsViewValue() { + @java.lang.Override public int getRequestStatsViewValue() { return requestStatsView_; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @param value The enum numeric value on the wire for requestStatsView to set. * @return This builder for chaining. */ @@ -1673,38 +1540,28 @@ public Builder setRequestStatsViewValue(int value) { return this; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null - ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED - : result; + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @param value The requestStatsView to set. * @return This builder for chaining. */ - public Builder setRequestStatsView( - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { + public Builder setRequestStatsView(com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { if (value == null) { throw new NullPointerException(); } @@ -1714,14 +1571,11 @@ public Builder setRequestStatsView( return this; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return This builder for chaining. */ public Builder clearRequestStatsView() { @@ -1731,8 +1585,73 @@ public Builder clearRequestStatsView() { return this; } + private boolean reversed_ ; + /** + *
+     * Experimental API - Please note that this API is currently experimental
+     * and can change in the future.
+     *
+     * Return rows in lexiographical descending order of the row keys. The row
+     * contents will not be affected by this flag.
+     * Example result set: [
+     * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2",
+     * "f:col2": "v2"} ].
+     * 
+ * + * bool reversed = 7; + * @return The reversed. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public boolean getReversed() { + return reversed_; + } + /** + *
+     * Experimental API - Please note that this API is currently experimental
+     * and can change in the future.
+     *
+     * Return rows in lexiographical descending order of the row keys. The row
+     * contents will not be affected by this flag.
+     * Example result set: [
+     * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2",
+     * "f:col2": "v2"} ].
+     * 
+ * + * bool reversed = 7; + * @param value The reversed to set. + * @return This builder for chaining. + */ + public Builder setReversed(boolean value) { + + reversed_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Experimental API - Please note that this API is currently experimental
+     * and can change in the future.
+     *
+     * Return rows in lexiographical descending order of the row keys. The row
+     * contents will not be affected by this flag.
+     * Example result set: [
+     * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2",
+     * "f:col2": "v2"} ].
+     * 
+ * + * bool reversed = 7; + * @return This builder for chaining. + */ + public Builder clearReversed() { + bitField0_ = (bitField0_ & ~0x00000040); + reversed_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1742,12 +1661,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(); } @@ -1756,27 +1675,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; @@ -1791,4 +1710,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 ed43da6171..c29b37571c 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. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ boolean hasRows(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ com.google.bigtable.v2.RowSet getRows(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -122,34 +84,26 @@ public interface ReadRowsRequestOrBuilder
   com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ com.google.bigtable.v2.RowFilter getFilter(); /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
@@ -160,41 +114,49 @@ public interface ReadRowsRequestOrBuilder
   com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ long getRowsLimit(); /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ int getRequestStatsViewValue(); /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView(); + + /** + *
+   * Experimental API - Please note that this API is currently experimental
+   * and can change in the future.
+   *
+   * Return rows in lexiographical descending order of the row keys. The row
+   * contents will not be affected by this flag.
+   * Example result set: [
+   * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2",
+   * "f:col2": "v2"} ].
+   * 
+ * + * bool reversed = 7; + * @return The reversed. + */ + boolean getReversed(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java similarity index 80% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java index 633190abf3..03b02ba57a 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.ReadRows.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsResponse} */ -public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsResponse) ReadRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsResponse.newBuilder() to construct. private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsResponse() { chunks_ = java.util.Collections.emptyList(); lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; @@ -44,33 +26,29 @@ private ReadRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, - com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); } - public interface CellChunkOrBuilder - extends + public interface CellChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse.CellChunk) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -79,14 +57,11 @@ public interface CellChunkOrBuilder
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -97,13 +72,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ boolean hasFamilyName(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -114,13 +86,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ com.google.protobuf.StringValue getFamilyName(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -135,8 +104,6 @@ public interface CellChunkOrBuilder
     com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder();
 
     /**
-     *
-     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -146,13 +113,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ boolean hasQualifier(); /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -162,13 +126,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ com.google.protobuf.BytesValue getQualifier(); /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -182,8 +143,6 @@ public interface CellChunkOrBuilder
     com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder();
 
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -196,14 +155,11 @@ public interface CellChunkOrBuilder
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -211,13 +167,11 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - java.util.List getLabelsList(); + java.util.List + getLabelsList(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -225,13 +179,10 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @return The count of labels. */ int getLabelsCount(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -239,14 +190,11 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ java.lang.String getLabels(int index); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -254,15 +202,13 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - com.google.protobuf.ByteString getLabelsBytes(int index); + com.google.protobuf.ByteString + getLabelsBytes(int index); /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -272,14 +218,11 @@ public interface CellChunkOrBuilder
      * 
* * bytes value = 6; - * * @return The value. */ com.google.protobuf.ByteString getValue(); /** - * - * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -288,61 +231,48 @@ public interface CellChunkOrBuilder
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ int getValueSize(); /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ boolean hasResetRow(); /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return The resetRow. */ boolean getResetRow(); /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ boolean hasCommitRow(); /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return The commitRow. */ boolean getCommitRow(); @@ -350,8 +280,6 @@ public interface CellChunkOrBuilder com.google.bigtable.v2.ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase(); } /** - * - * *
    * Specifies a piece of a row's contents returned as part of the read
    * response stream.
@@ -359,57 +287,52 @@ public interface CellChunkOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.ReadRowsResponse.CellChunk}
    */
-  public static final class CellChunk extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CellChunk extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsResponse.CellChunk)
       CellChunkOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CellChunk.newBuilder() to construct.
     private CellChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CellChunk() {
       rowKey_ = com.google.protobuf.ByteString.EMPTY;
-      labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      labels_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       value_ = com.google.protobuf.ByteString.EMPTY;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CellChunk();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
     }
 
     private int rowStatusCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object rowStatus_;
-
     public enum RowStatusCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       RESET_ROW(8),
       COMMIT_ROW(9),
       ROWSTATUS_NOT_SET(0);
       private final int value;
-
       private RowStatusCase(int value) {
         this.value = value;
       }
@@ -425,31 +348,26 @@ public static RowStatusCase valueOf(int value) {
 
       public static RowStatusCase forNumber(int value) {
         switch (value) {
-          case 8:
-            return RESET_ROW;
-          case 9:
-            return COMMIT_ROW;
-          case 0:
-            return ROWSTATUS_NOT_SET;
-          default:
-            return null;
+          case 8: return RESET_ROW;
+          case 9: return COMMIT_ROW;
+          case 0: return ROWSTATUS_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public RowStatusCase getRowStatusCase() {
-      return RowStatusCase.forNumber(rowStatusCase_);
+    public RowStatusCase
+    getRowStatusCase() {
+      return RowStatusCase.forNumber(
+          rowStatusCase_);
     }
 
     public static final int ROW_KEY_FIELD_NUMBER = 1;
     private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -458,7 +376,6 @@ public RowStatusCase getRowStatusCase() {
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -469,8 +386,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int FAMILY_NAME_FIELD_NUMBER = 2; private com.google.protobuf.StringValue familyName_; /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -481,7 +396,6 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ @java.lang.Override @@ -489,8 +403,6 @@ public boolean hasFamilyName() { return familyName_ != null; } /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -501,18 +413,13 @@ public boolean hasFamilyName() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ @java.lang.Override public com.google.protobuf.StringValue getFamilyName() { - return familyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : familyName_; + return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_; } /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -526,16 +433,12 @@ public com.google.protobuf.StringValue getFamilyName() {
      */
     @java.lang.Override
     public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
-      return familyName_ == null
-          ? com.google.protobuf.StringValue.getDefaultInstance()
-          : familyName_;
+      return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
     }
 
     public static final int QUALIFIER_FIELD_NUMBER = 3;
     private com.google.protobuf.BytesValue qualifier_;
     /**
-     *
-     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -545,7 +448,6 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ @java.lang.Override @@ -553,8 +455,6 @@ public boolean hasQualifier() { return qualifier_ != null; } /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -564,7 +464,6 @@ public boolean hasQualifier() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ @java.lang.Override @@ -572,8 +471,6 @@ public com.google.protobuf.BytesValue getQualifier() { return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_; } /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -592,8 +489,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
     public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 4;
     private long timestampMicros_ = 0L;
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -606,7 +501,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -615,13 +509,10 @@ public long getTimestampMicros() { } public static final int LABELS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -629,15 +520,13 @@ public long getTimestampMicros() {
      * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { return labels_; } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -645,15 +534,12 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
      * 
* * repeated string labels = 5; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -661,7 +547,6 @@ public int getLabelsCount() {
      * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -669,8 +554,6 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -678,19 +561,17 @@ public java.lang.String getLabels(int index) {
      * 
* * repeated string labels = 5; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } public static final int VALUE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -700,7 +581,6 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
      * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -711,8 +591,6 @@ public com.google.protobuf.ByteString getValue() { public static final int VALUE_SIZE_FIELD_NUMBER = 7; private int valueSize_ = 0; /** - * - * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -721,7 +599,6 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -731,15 +608,12 @@ public int getValueSize() { public static final int RESET_ROW_FIELD_NUMBER = 8; /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ @java.lang.Override @@ -747,15 +621,12 @@ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return The resetRow. */ @java.lang.Override @@ -768,15 +639,12 @@ public boolean getResetRow() { public static final int COMMIT_ROW_FIELD_NUMBER = 9; /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ @java.lang.Override @@ -784,15 +652,12 @@ public boolean hasCommitRow() { return rowStatusCase_ == 9; } /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return The commitRow. */ @java.lang.Override @@ -804,7 +669,6 @@ public boolean getCommitRow() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -816,7 +680,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -839,10 +704,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32(7, valueSize_); } if (rowStatusCase_ == 8) { - output.writeBool(8, (boolean) ((java.lang.Boolean) rowStatus_)); + output.writeBool( + 8, (boolean)((java.lang.Boolean) rowStatus_)); } if (rowStatusCase_ == 9) { - output.writeBool(9, (boolean) ((java.lang.Boolean) rowStatus_)); + output.writeBool( + 9, (boolean)((java.lang.Boolean) rowStatus_)); } getUnknownFields().writeTo(output); } @@ -854,16 +721,20 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } if (familyName_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFamilyName()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFamilyName()); } if (qualifier_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getQualifier()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getQualifier()); } if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, timestampMicros_); } { int dataSize = 0; @@ -874,20 +745,22 @@ public int getSerializedSize() { size += 1 * getLabelsList().size(); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, value_); } if (valueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, valueSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, valueSize_); } if (rowStatusCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 8, (boolean) ((java.lang.Boolean) rowStatus_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 8, (boolean)((java.lang.Boolean) rowStatus_)); } if (rowStatusCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 9, (boolean) ((java.lang.Boolean) rowStatus_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 9, (boolean)((java.lang.Boolean) rowStatus_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -897,34 +770,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk)) { return super.equals(obj); } - com.google.bigtable.v2.ReadRowsResponse.CellChunk other = - (com.google.bigtable.v2.ReadRowsResponse.CellChunk) obj; + com.google.bigtable.v2.ReadRowsResponse.CellChunk other = (com.google.bigtable.v2.ReadRowsResponse.CellChunk) obj; - if (!getRowKey().equals(other.getRowKey())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; if (hasFamilyName() != other.hasFamilyName()) return false; if (hasFamilyName()) { - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; } if (hasQualifier() != other.hasQualifier()) return false; if (hasQualifier()) { - if (!getQualifier().equals(other.getQualifier())) return false; - } - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; - if (!getValue().equals(other.getValue())) return false; - if (getValueSize() != other.getValueSize()) return false; + if (!getQualifier() + .equals(other.getQualifier())) return false; + } + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getValueSize() + != other.getValueSize()) return false; if (!getRowStatusCase().equals(other.getRowStatusCase())) return false; switch (rowStatusCase_) { case 8: - if (getResetRow() != other.getResetRow()) return false; + if (getResetRow() + != other.getResetRow()) return false; break; case 9: - if (getCommitRow() != other.getCommitRow()) return false; + if (getCommitRow() + != other.getCommitRow()) return false; break; case 0: default: @@ -951,7 +832,8 @@ public int hashCode() { hash = (53 * hash) + getQualifier().hashCode(); } hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); if (getLabelsCount() > 0) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + getLabelsList().hashCode(); @@ -963,11 +845,13 @@ public int hashCode() { switch (rowStatusCase_) { case 8: hash = (37 * hash) + RESET_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResetRow()); break; case 9: hash = (37 * hash) + COMMIT_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCommitRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCommitRow()); break; case 0: default: @@ -978,93 +862,89 @@ public int hashCode() { } public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadRowsResponse.CellChunk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1074,8 +954,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies a piece of a row's contents returned as part of the read
      * response stream.
@@ -1083,33 +961,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadRowsResponse.CellChunk}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsResponse.CellChunk)
         com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
-                com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+                com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadRowsResponse.CellChunk.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1126,7 +1004,8 @@ public Builder clear() {
           qualifierBuilder_ = null;
         }
         timestampMicros_ = 0L;
-        labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        labels_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         value_ = com.google.protobuf.ByteString.EMPTY;
         valueSize_ = 0;
         rowStatusCase_ = 0;
@@ -1135,9 +1014,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
       }
 
       @java.lang.Override
@@ -1156,11 +1035,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
-        com.google.bigtable.v2.ReadRowsResponse.CellChunk result =
-            new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.ReadRowsResponse.CellChunk result = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -1172,11 +1048,14 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse.CellChunk res
           result.rowKey_ = rowKey_;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.familyName_ =
-              familyNameBuilder_ == null ? familyName_ : familyNameBuilder_.build();
+          result.familyName_ = familyNameBuilder_ == null
+              ? familyName_
+              : familyNameBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.qualifier_ = qualifierBuilder_ == null ? qualifier_ : qualifierBuilder_.build();
+          result.qualifier_ = qualifierBuilder_ == null
+              ? qualifier_
+              : qualifierBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
           result.timestampMicros_ = timestampMicros_;
@@ -1202,41 +1081,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadRowsResponse.CellChun
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk) {
-          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk) other);
+          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1244,8 +1120,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other) {
-        if (other == com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()) return this;
         if (other.getRowKey() != com.google.protobuf.ByteString.EMPTY) {
           setRowKey(other.getRowKey());
         }
@@ -1275,20 +1150,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other
           setValueSize(other.getValueSize());
         }
         switch (other.getRowStatusCase()) {
-          case RESET_ROW:
-            {
-              setResetRow(other.getResetRow());
-              break;
-            }
-          case COMMIT_ROW:
-            {
-              setCommitRow(other.getCommitRow());
-              break;
-            }
-          case ROWSTATUS_NOT_SET:
-            {
-              break;
-            }
+          case RESET_ROW: {
+            setResetRow(other.getResetRow());
+            break;
+          }
+          case COMMIT_ROW: {
+            setCommitRow(other.getCommitRow());
+            break;
+          }
+          case ROWSTATUS_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1316,68 +1188,62 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  rowKey_ = input.readBytes();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getFamilyNameFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getQualifierFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 32:
-                {
-                  timestampMicros_ = input.readInt64();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 32
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureLabelsIsMutable();
-                  labels_.add(s);
-                  break;
-                } // case 42
-              case 50:
-                {
-                  value_ = input.readBytes();
-                  bitField0_ |= 0x00000020;
-                  break;
-                } // case 50
-              case 56:
-                {
-                  valueSize_ = input.readInt32();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 56
-              case 64:
-                {
-                  rowStatus_ = input.readBool();
-                  rowStatusCase_ = 8;
-                  break;
-                } // case 64
-              case 72:
-                {
-                  rowStatus_ = input.readBool();
-                  rowStatusCase_ = 9;
-                  break;
-                } // case 72
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                rowKey_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getFamilyNameFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getQualifierFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 32: {
+                timestampMicros_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLabelsIsMutable();
+                labels_.add(s);
+                break;
+              } // case 42
+              case 50: {
+                value_ = input.readBytes();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+              case 56: {
+                valueSize_ = input.readInt32();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+              case 64: {
+                rowStatus_ = input.readBool();
+                rowStatusCase_ = 8;
+                break;
+              } // case 64
+              case 72: {
+                rowStatus_ = input.readBool();
+                rowStatusCase_ = 9;
+                break;
+              } // case 72
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1387,12 +1253,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int rowStatusCase_ = 0;
       private java.lang.Object rowStatus_;
-
-      public RowStatusCase getRowStatusCase() {
-        return RowStatusCase.forNumber(rowStatusCase_);
+      public RowStatusCase
+          getRowStatusCase() {
+        return RowStatusCase.forNumber(
+            rowStatusCase_);
       }
 
       public Builder clearRowStatus() {
@@ -1406,8 +1272,6 @@ public Builder clearRowStatus() {
 
       private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY;
       /**
-       *
-       *
        * 
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1416,7 +1280,6 @@ public Builder clearRowStatus() {
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -1424,8 +1287,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1434,22 +1295,17 @@ public com.google.protobuf.ByteString getRowKey() {
        * 
* * bytes row_key = 1; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1458,7 +1314,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1470,13 +1325,8 @@ public Builder clearRowKey() { private com.google.protobuf.StringValue familyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> - familyNameBuilder_; + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> familyNameBuilder_; /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1487,15 +1337,12 @@ public Builder clearRowKey() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ public boolean hasFamilyName() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1506,21 +1353,16 @@ public boolean hasFamilyName() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ public com.google.protobuf.StringValue getFamilyName() { if (familyNameBuilder_ == null) { - return familyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : familyName_; + return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_; } else { return familyNameBuilder_.getMessage(); } } /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1546,8 +1388,6 @@ public Builder setFamilyName(com.google.protobuf.StringValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1559,7 +1399,8 @@ public Builder setFamilyName(com.google.protobuf.StringValue value) {
        *
        * .google.protobuf.StringValue family_name = 2;
        */
-      public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForValue) {
+      public Builder setFamilyName(
+          com.google.protobuf.StringValue.Builder builderForValue) {
         if (familyNameBuilder_ == null) {
           familyName_ = builderForValue.build();
         } else {
@@ -1570,8 +1411,6 @@ public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForV
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1585,9 +1424,9 @@ public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForV
        */
       public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         if (familyNameBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && familyName_ != null
-              && familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            familyName_ != null &&
+            familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
             getFamilyNameBuilder().mergeFrom(value);
           } else {
             familyName_ = value;
@@ -1600,8 +1439,6 @@ public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1624,8 +1461,6 @@ public Builder clearFamilyName() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1643,8 +1478,6 @@ public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() {
         return getFamilyNameFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1660,14 +1493,11 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
         if (familyNameBuilder_ != null) {
           return familyNameBuilder_.getMessageOrBuilder();
         } else {
-          return familyName_ == null
-              ? com.google.protobuf.StringValue.getDefaultInstance()
-              : familyName_;
+          return familyName_ == null ?
+              com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
         }
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1680,17 +1510,14 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * .google.protobuf.StringValue family_name = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.StringValue,
-              com.google.protobuf.StringValue.Builder,
-              com.google.protobuf.StringValueOrBuilder>
+          com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> 
           getFamilyNameFieldBuilder() {
         if (familyNameBuilder_ == null) {
-          familyNameBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.StringValue,
-                  com.google.protobuf.StringValue.Builder,
-                  com.google.protobuf.StringValueOrBuilder>(
-                  getFamilyName(), getParentForChildren(), isClean());
+          familyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
+                  getFamilyName(),
+                  getParentForChildren(),
+                  isClean());
           familyName_ = null;
         }
         return familyNameBuilder_;
@@ -1698,13 +1525,8 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
 
       private com.google.protobuf.BytesValue qualifier_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.BytesValue,
-              com.google.protobuf.BytesValue.Builder,
-              com.google.protobuf.BytesValueOrBuilder>
-          qualifierBuilder_;
+          com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> qualifierBuilder_;
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1714,15 +1536,12 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ public boolean hasQualifier() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1732,21 +1551,16 @@ public boolean hasQualifier() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ public com.google.protobuf.BytesValue getQualifier() { if (qualifierBuilder_ == null) { - return qualifier_ == null - ? com.google.protobuf.BytesValue.getDefaultInstance() - : qualifier_; + return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_; } else { return qualifierBuilder_.getMessage(); } } /** - * - * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1771,8 +1585,6 @@ public Builder setQualifier(com.google.protobuf.BytesValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1783,7 +1595,8 @@ public Builder setQualifier(com.google.protobuf.BytesValue value) {
        *
        * .google.protobuf.BytesValue qualifier = 3;
        */
-      public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForValue) {
+      public Builder setQualifier(
+          com.google.protobuf.BytesValue.Builder builderForValue) {
         if (qualifierBuilder_ == null) {
           qualifier_ = builderForValue.build();
         } else {
@@ -1794,8 +1607,6 @@ public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1808,9 +1619,9 @@ public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForVal
        */
       public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         if (qualifierBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && qualifier_ != null
-              && qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            qualifier_ != null &&
+            qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
             getQualifierBuilder().mergeFrom(value);
           } else {
             qualifier_ = value;
@@ -1823,8 +1634,6 @@ public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1846,8 +1655,6 @@ public Builder clearQualifier() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1864,8 +1671,6 @@ public com.google.protobuf.BytesValue.Builder getQualifierBuilder() {
         return getQualifierFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1880,14 +1685,11 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
         if (qualifierBuilder_ != null) {
           return qualifierBuilder_.getMessageOrBuilder();
         } else {
-          return qualifier_ == null
-              ? com.google.protobuf.BytesValue.getDefaultInstance()
-              : qualifier_;
+          return qualifier_ == null ?
+              com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_;
         }
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1899,26 +1701,21 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * .google.protobuf.BytesValue qualifier = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.BytesValue,
-              com.google.protobuf.BytesValue.Builder,
-              com.google.protobuf.BytesValueOrBuilder>
+          com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> 
           getQualifierFieldBuilder() {
         if (qualifierBuilder_ == null) {
-          qualifierBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.BytesValue,
-                  com.google.protobuf.BytesValue.Builder,
-                  com.google.protobuf.BytesValueOrBuilder>(
-                  getQualifier(), getParentForChildren(), isClean());
+          qualifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>(
+                  getQualifier(),
+                  getParentForChildren(),
+                  isClean());
           qualifier_ = null;
         }
         return qualifierBuilder_;
       }
 
-      private long timestampMicros_;
+      private long timestampMicros_ ;
       /**
-       *
-       *
        * 
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1931,7 +1728,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -1939,8 +1735,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1953,7 +1747,6 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 4; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -1965,8 +1758,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1979,7 +1770,6 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 4; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -1991,7 +1781,6 @@ public Builder clearTimestampMicros() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -1999,8 +1788,6 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2008,16 +1795,14 @@ private void ensureLabelsIsMutable() {
        * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { labels_.makeImmutable(); return labels_; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2025,15 +1810,12 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
        * 
* * repeated string labels = 5; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2041,7 +1823,6 @@ public int getLabelsCount() {
        * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -2049,8 +1830,6 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2058,16 +1837,14 @@ public java.lang.String getLabels(int index) {
        * 
* * repeated string labels = 5; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2075,15 +1852,13 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
        * 
* * repeated string labels = 5; - * * @param index The index to set the value at. * @param value The labels to set. * @return This builder for chaining. */ - public Builder setLabels(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLabels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000010; @@ -2091,8 +1866,6 @@ public Builder setLabels(int index, java.lang.String value) { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2100,14 +1873,12 @@ public Builder setLabels(int index, java.lang.String value) {
        * 
* * repeated string labels = 5; - * * @param value The labels to add. * @return This builder for chaining. */ - public Builder addLabels(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000010; @@ -2115,8 +1886,6 @@ public Builder addLabels(java.lang.String value) { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2124,20 +1893,19 @@ public Builder addLabels(java.lang.String value) {
        * 
* * repeated string labels = 5; - * * @param values The labels to add. * @return This builder for chaining. */ - public Builder addAllLabels(java.lang.Iterable values) { + public Builder addAllLabels( + java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2145,19 +1913,16 @@ public Builder addAllLabels(java.lang.Iterable values) {
        * 
* * repeated string labels = 5; - * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2165,14 +1930,12 @@ public Builder clearLabels() {
        * 
* * repeated string labels = 5; - * * @param value The bytes of the labels to add. * @return This builder for chaining. */ - public Builder addLabelsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -2183,8 +1946,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2194,7 +1955,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -2202,8 +1962,6 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2213,22 +1971,17 @@ public com.google.protobuf.ByteString getValue() {
        * 
* * bytes value = 6; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2238,7 +1991,6 @@ public Builder setValue(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -2248,10 +2000,8 @@ public Builder clearValue() { return this; } - private int valueSize_; + private int valueSize_ ; /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2260,7 +2010,6 @@ public Builder clearValue() {
        * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -2268,8 +2017,6 @@ public int getValueSize() { return valueSize_; } /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2278,7 +2025,6 @@ public int getValueSize() {
        * 
* * int32 value_size = 7; - * * @param value The valueSize to set. * @return This builder for chaining. */ @@ -2290,8 +2036,6 @@ public Builder setValueSize(int value) { return this; } /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2300,7 +2044,6 @@ public Builder setValueSize(int value) {
        * 
* * int32 value_size = 7; - * * @return This builder for chaining. */ public Builder clearValueSize() { @@ -2311,30 +2054,24 @@ public Builder clearValueSize() { } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return The resetRow. */ public boolean getResetRow() { @@ -2344,15 +2081,12 @@ public boolean getResetRow() { return false; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @param value The resetRow to set. * @return This builder for chaining. */ @@ -2364,15 +2098,12 @@ public Builder setResetRow(boolean value) { return this; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return This builder for chaining. */ public Builder clearResetRow() { @@ -2385,30 +2116,24 @@ public Builder clearResetRow() { } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ public boolean hasCommitRow() { return rowStatusCase_ == 9; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return The commitRow. */ public boolean getCommitRow() { @@ -2418,15 +2143,12 @@ public boolean getCommitRow() { return false; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @param value The commitRow to set. * @return This builder for chaining. */ @@ -2438,15 +2160,12 @@ public Builder setCommitRow(boolean value) { return this; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return This builder for chaining. */ public Builder clearCommitRow() { @@ -2457,7 +2176,6 @@ public Builder clearCommitRow() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2470,12 +2188,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsResponse.CellChunk) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsResponse.CellChunk) private static final com.google.bigtable.v2.ReadRowsResponse.CellChunk DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(); } @@ -2484,28 +2202,27 @@ public static com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CellChunk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CellChunk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2520,15 +2237,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CHUNKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List chunks_; /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2540,8 +2255,6 @@ public java.util.List getChun return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2549,13 +2262,11 @@ public java.util.List getChun * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChunksOrBuilderList() { return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2567,8 +2278,6 @@ public int getChunksCount() { return chunks_.size(); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2580,8 +2289,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { return chunks_.get(index); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2589,15 +2296,14 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index) { + public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( + int index) { return chunks_.get(index); } public static final int LAST_SCANNED_ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -2609,7 +2315,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -2620,8 +2325,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() { public static final int REQUEST_STATS_FIELD_NUMBER = 3; private com.google.bigtable.v2.RequestStats requestStats_; /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2646,7 +2349,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ @java.lang.Override @@ -2654,8 +2356,6 @@ public boolean hasRequestStats() { return requestStats_ != null; } /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2680,18 +2380,13 @@ public boolean hasRequestStats() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ @java.lang.Override public com.google.bigtable.v2.RequestStats getRequestStats() { - return requestStats_ == null - ? com.google.bigtable.v2.RequestStats.getDefaultInstance() - : requestStats_; + return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_; } /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2719,13 +2414,10 @@ public com.google.bigtable.v2.RequestStats getRequestStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
-    return requestStats_ == null
-        ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
-        : requestStats_;
+    return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2737,7 +2429,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < chunks_.size(); i++) {
       output.writeMessage(1, chunks_.get(i));
     }
@@ -2757,13 +2450,16 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < chunks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, chunks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, chunks_.get(i));
     }
     if (!lastScannedRowKey_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, lastScannedRowKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, lastScannedRowKey_);
     }
     if (requestStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRequestStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2773,18 +2469,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadRowsResponse)) {
       return super.equals(obj);
     }
     com.google.bigtable.v2.ReadRowsResponse other = (com.google.bigtable.v2.ReadRowsResponse) obj;
 
-    if (!getChunksList().equals(other.getChunksList())) return false;
-    if (!getLastScannedRowKey().equals(other.getLastScannedRowKey())) return false;
+    if (!getChunksList()
+        .equals(other.getChunksList())) return false;
+    if (!getLastScannedRowKey()
+        .equals(other.getLastScannedRowKey())) return false;
     if (hasRequestStats() != other.hasRequestStats()) return false;
     if (hasRequestStats()) {
-      if (!getRequestStats().equals(other.getRequestStats())) return false;
+      if (!getRequestStats()
+          .equals(other.getRequestStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2812,136 +2511,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadRowsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.ReadRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsResponse) com.google.bigtable.v2.ReadRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, - com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2963,9 +2658,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override @@ -2984,12 +2679,9 @@ public com.google.bigtable.v2.ReadRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsResponse buildPartial() { - com.google.bigtable.v2.ReadRowsResponse result = - new com.google.bigtable.v2.ReadRowsResponse(this); + com.google.bigtable.v2.ReadRowsResponse result = new com.google.bigtable.v2.ReadRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3012,8 +2704,9 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { result.lastScannedRowKey_ = lastScannedRowKey_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.requestStats_ = - requestStatsBuilder_ == null ? requestStats_ : requestStatsBuilder_.build(); + result.requestStats_ = requestStatsBuilder_ == null + ? requestStats_ + : requestStatsBuilder_.build(); } } @@ -3021,39 +2714,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsResponse) { - return mergeFrom((com.google.bigtable.v2.ReadRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -3080,10 +2772,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse other) { chunksBuilder_ = null; chunks_ = other.chunks_; bitField0_ = (bitField0_ & ~0x00000001); - chunksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChunksFieldBuilder() - : null; + chunksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChunksFieldBuilder() : null; } else { chunksBuilder_.addAllMessages(other.chunks_); } @@ -3121,39 +2812,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.ReadRowsResponse.CellChunk m = - input.readMessage( - com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), - extensionRegistry); - if (chunksBuilder_ == null) { - ensureChunksIsMutable(); - chunks_.add(m); - } else { - chunksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - lastScannedRowKey_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.ReadRowsResponse.CellChunk m = + input.readMessage( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), + extensionRegistry); + if (chunksBuilder_ == null) { + ensureChunksIsMutable(); + chunks_.add(m); + } else { + chunksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + lastScannedRowKey_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3163,29 +2852,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List chunks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - chunks_ = - new java.util.ArrayList(chunks_); + chunks_ = new java.util.ArrayList(chunks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> - chunksBuilder_; + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> chunksBuilder_; /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3200,8 +2881,6 @@ public java.util.List getChun } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3216,8 +2895,6 @@ public int getChunksCount() { } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3232,15 +2909,14 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { + public Builder setChunks( + int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3254,8 +2930,6 @@ public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3274,8 +2948,6 @@ public Builder setChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3296,15 +2968,14 @@ public Builder addChunks(com.google.bigtable.v2.ReadRowsResponse.CellChunk value return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { + public Builder addChunks( + int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3318,8 +2989,6 @@ public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3338,8 +3007,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3358,8 +3025,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3370,7 +3035,8 @@ public Builder addAllChunks( java.lang.Iterable values) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chunks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chunks_); onChanged(); } else { chunksBuilder_.addAllMessages(values); @@ -3378,8 +3044,6 @@ public Builder addAllChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3397,8 +3061,6 @@ public Builder clearChunks() { return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3416,20 +3078,17 @@ public Builder removeChunks(int index) { return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilder(int index) { + public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilder( + int index) { return getChunksFieldBuilder().getBuilder(index); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3439,22 +3098,19 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilde public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); - } else { + return chunks_.get(index); } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public java.util.List - getChunksOrBuilderList() { + public java.util.List + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -3462,8 +3118,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3471,59 +3125,49 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder() { - return getChunksFieldBuilder() - .addBuilder(com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); + return getChunksFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder(int index) { - return getChunksFieldBuilder() - .addBuilder( - index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); + public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder( + int index) { + return getChunksFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public java.util.List - getChunksBuilderList() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>( - chunks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>( + chunks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); chunks_ = null; } return chunksBuilder_; } - private com.google.protobuf.ByteString lastScannedRowKey_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3535,7 +3179,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
      * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -3543,8 +3186,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() { return lastScannedRowKey_; } /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3556,22 +3197,17 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
      * 
* * bytes last_scanned_row_key = 2; - * * @param value The lastScannedRowKey to set. * @return This builder for chaining. */ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } lastScannedRowKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3583,7 +3219,6 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes last_scanned_row_key = 2; - * * @return This builder for chaining. */ public Builder clearLastScannedRowKey() { @@ -3595,13 +3230,8 @@ public Builder clearLastScannedRowKey() { private com.google.bigtable.v2.RequestStats requestStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RequestStats, - com.google.bigtable.v2.RequestStats.Builder, - com.google.bigtable.v2.RequestStatsOrBuilder> - requestStatsBuilder_; + com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder> requestStatsBuilder_; /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3626,15 +3256,12 @@ public Builder clearLastScannedRowKey() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ public boolean hasRequestStats() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3659,21 +3286,16 @@ public boolean hasRequestStats() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ public com.google.bigtable.v2.RequestStats getRequestStats() { if (requestStatsBuilder_ == null) { - return requestStats_ == null - ? com.google.bigtable.v2.RequestStats.getDefaultInstance() - : requestStats_; + return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_; } else { return requestStatsBuilder_.getMessage(); } } /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3713,8 +3335,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3740,7 +3360,8 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
      *
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
-    public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder builderForValue) {
+    public Builder setRequestStats(
+        com.google.bigtable.v2.RequestStats.Builder builderForValue) {
       if (requestStatsBuilder_ == null) {
         requestStats_ = builderForValue.build();
       } else {
@@ -3751,8 +3372,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3780,9 +3399,9 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
      */
     public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       if (requestStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && requestStats_ != null
-            && requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          requestStats_ != null &&
+          requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
           getRequestStatsBuilder().mergeFrom(value);
         } else {
           requestStats_ = value;
@@ -3795,8 +3414,6 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3833,8 +3450,6 @@ public Builder clearRequestStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3866,8 +3481,6 @@ public com.google.bigtable.v2.RequestStats.Builder getRequestStatsBuilder() {
       return getRequestStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3897,14 +3510,11 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
       if (requestStatsBuilder_ != null) {
         return requestStatsBuilder_.getMessageOrBuilder();
       } else {
-        return requestStats_ == null
-            ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
-            : requestStats_;
+        return requestStats_ == null ?
+            com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
       }
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3931,24 +3541,21 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestStats,
-            com.google.bigtable.v2.RequestStats.Builder,
-            com.google.bigtable.v2.RequestStatsOrBuilder>
+        com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder> 
         getRequestStatsFieldBuilder() {
       if (requestStatsBuilder_ == null) {
-        requestStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RequestStats,
-                com.google.bigtable.v2.RequestStats.Builder,
-                com.google.bigtable.v2.RequestStatsOrBuilder>(
-                getRequestStats(), getParentForChildren(), isClean());
+        requestStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder>(
+                getRequestStats(),
+                getParentForChildren(),
+                isClean());
         requestStats_ = null;
       }
       return requestStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3958,12 +3565,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsResponse)
   private static final com.google.bigtable.v2.ReadRowsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsResponse();
   }
@@ -3972,27 +3579,27 @@ public static com.google.bigtable.v2.ReadRowsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4007,4 +3614,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
similarity index 87%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
index 9ae366f88e..fb74efac4a 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface ReadRowsResponseOrBuilder
-    extends
+public interface ReadRowsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - java.util.List getChunksList(); + java.util.List + getChunksList(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -44,8 +25,6 @@ public interface ReadRowsResponseOrBuilder */ com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -54,30 +33,25 @@ public interface ReadRowsResponseOrBuilder */ int getChunksCount(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - java.util.List + java.util.List getChunksOrBuilderList(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index); + com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( + int index); /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -89,14 +63,11 @@ public interface ReadRowsResponseOrBuilder
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ com.google.protobuf.ByteString getLastScannedRowKey(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -121,13 +92,10 @@ public interface ReadRowsResponseOrBuilder
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ boolean hasRequestStats(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -152,13 +120,10 @@ public interface ReadRowsResponseOrBuilder
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ com.google.bigtable.v2.RequestStats getRequestStats(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
similarity index 77%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
index 255eb0b795..a8ecae3e83 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * RequestLatencyStats provides a measurement of the latency of the request as
  * it interacts with different systems over its lifetime, e.g. how long the
@@ -29,44 +12,41 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
  */
-public final class RequestLatencyStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestLatencyStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestLatencyStats)
     RequestLatencyStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestLatencyStats.newBuilder() to construct.
   private RequestLatencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestLatencyStats() {}
+  private RequestLatencyStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestLatencyStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestLatencyStats.class,
-            com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+            com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
   }
 
   public static final int FRONTEND_SERVER_LATENCY_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration frontendServerLatency_;
   /**
-   *
-   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -88,7 +68,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ @java.lang.Override @@ -96,8 +75,6 @@ public boolean hasFrontendServerLatency() { return frontendServerLatency_ != null; } /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -119,18 +96,13 @@ public boolean hasFrontendServerLatency() {
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ @java.lang.Override public com.google.protobuf.Duration getFrontendServerLatency() { - return frontendServerLatency_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : frontendServerLatency_; + return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_; } /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -155,13 +127,10 @@ public com.google.protobuf.Duration getFrontendServerLatency() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder() {
-    return frontendServerLatency_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : frontendServerLatency_;
+    return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -173,7 +142,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (frontendServerLatency_ != null) {
       output.writeMessage(1, getFrontendServerLatency());
     }
@@ -187,8 +157,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (frontendServerLatency_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFrontendServerLatency());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getFrontendServerLatency());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -198,17 +168,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.RequestLatencyStats)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.RequestLatencyStats other =
-        (com.google.bigtable.v2.RequestLatencyStats) obj;
+    com.google.bigtable.v2.RequestLatencyStats other = (com.google.bigtable.v2.RequestLatencyStats) obj;
 
     if (hasFrontendServerLatency() != other.hasFrontendServerLatency()) return false;
     if (hasFrontendServerLatency()) {
-      if (!getFrontendServerLatency().equals(other.getFrontendServerLatency())) return false;
+      if (!getFrontendServerLatency()
+          .equals(other.getFrontendServerLatency())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -230,104 +200,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.RequestLatencyStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.RequestLatencyStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * RequestLatencyStats provides a measurement of the latency of the request as
    * it interacts with different systems over its lifetime, e.g. how long the
@@ -336,32 +301,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RequestLatencyStats)
       com.google.bigtable.v2.RequestLatencyStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RequestLatencyStats.class,
-              com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+              com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RequestLatencyStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +341,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
     }
 
     @java.lang.Override
@@ -396,11 +362,8 @@ public com.google.bigtable.v2.RequestLatencyStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
-      com.google.bigtable.v2.RequestLatencyStats result =
-          new com.google.bigtable.v2.RequestLatencyStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.RequestLatencyStats result = new com.google.bigtable.v2.RequestLatencyStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -408,10 +371,9 @@ public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.frontendServerLatency_ =
-            frontendServerLatencyBuilder_ == null
-                ? frontendServerLatency_
-                : frontendServerLatencyBuilder_.build();
+        result.frontendServerLatency_ = frontendServerLatencyBuilder_ == null
+            ? frontendServerLatency_
+            : frontendServerLatencyBuilder_.build();
       }
     }
 
@@ -419,39 +381,38 @@ private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestLatencyStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -489,20 +450,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFrontendServerLatencyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFrontendServerLatencyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -512,18 +472,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Duration frontendServerLatency_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        frontendServerLatencyBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> frontendServerLatencyBuilder_;
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -545,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ public boolean hasFrontendServerLatency() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -575,21 +526,16 @@ public boolean hasFrontendServerLatency() {
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ public com.google.protobuf.Duration getFrontendServerLatency() { if (frontendServerLatencyBuilder_ == null) { - return frontendServerLatency_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : frontendServerLatency_; + return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_; } else { return frontendServerLatencyBuilder_.getMessage(); } } /** - * - * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -626,8 +572,6 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -650,7 +594,8 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
-    public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setFrontendServerLatency(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (frontendServerLatencyBuilder_ == null) {
         frontendServerLatency_ = builderForValue.build();
       } else {
@@ -661,8 +606,6 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -687,9 +630,9 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
      */
     public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       if (frontendServerLatencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && frontendServerLatency_ != null
-            && frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          frontendServerLatency_ != null &&
+          frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getFrontendServerLatencyBuilder().mergeFrom(value);
         } else {
           frontendServerLatency_ = value;
@@ -702,8 +645,6 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -737,8 +678,6 @@ public Builder clearFrontendServerLatency() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -767,8 +706,6 @@ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() {
       return getFrontendServerLatencyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -795,14 +732,11 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
       if (frontendServerLatencyBuilder_ != null) {
         return frontendServerLatencyBuilder_.getMessageOrBuilder();
       } else {
-        return frontendServerLatency_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : frontendServerLatency_;
+        return frontendServerLatency_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
       }
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -826,24 +760,21 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getFrontendServerLatencyFieldBuilder() {
       if (frontendServerLatencyBuilder_ == null) {
-        frontendServerLatencyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getFrontendServerLatency(), getParentForChildren(), isClean());
+        frontendServerLatencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getFrontendServerLatency(),
+                getParentForChildren(),
+                isClean());
         frontendServerLatency_ = null;
       }
       return frontendServerLatencyBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -853,12 +784,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RequestLatencyStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.RequestLatencyStats)
   private static final com.google.bigtable.v2.RequestLatencyStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.RequestLatencyStats();
   }
@@ -867,27 +798,27 @@ public static com.google.bigtable.v2.RequestLatencyStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestLatencyStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestLatencyStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -902,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestLatencyStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
similarity index 85%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
index 57b81ee69d..840a44c408 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface RequestLatencyStatsOrBuilder
-    extends
+public interface RequestLatencyStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestLatencyStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -47,13 +29,10 @@ public interface RequestLatencyStatsOrBuilder
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ boolean hasFrontendServerLatency(); /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -75,13 +54,10 @@ public interface RequestLatencyStatsOrBuilder
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ com.google.protobuf.Duration getFrontendServerLatency(); /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
similarity index 69%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
index 5637d567d8..8faacef493 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * RequestStats is the container for additional information pertaining to a
  * single request, helpful for evaluating the performance of the sent request.
@@ -30,52 +13,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestStats}
  */
-public final class RequestStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestStats)
     RequestStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestStats.newBuilder() to construct.
   private RequestStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestStats() {}
+  private RequestStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestStats.class,
-            com.google.bigtable.v2.RequestStats.Builder.class);
+            com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
   }
 
   private int statsViewCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object statsView_;
-
   public enum StatsViewCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FULL_READ_STATS_VIEW(1),
     STATSVIEW_NOT_SET(0);
     private final int value;
-
     private StatsViewCase(int value) {
       this.value = value;
     }
@@ -91,35 +69,30 @@ public static StatsViewCase valueOf(int value) {
 
     public static StatsViewCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return FULL_READ_STATS_VIEW;
-        case 0:
-          return STATSVIEW_NOT_SET;
-        default:
-          return null;
+        case 1: return FULL_READ_STATS_VIEW;
+        case 0: return STATSVIEW_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StatsViewCase getStatsViewCase() {
-    return StatsViewCase.forNumber(statsViewCase_);
+  public StatsViewCase
+  getStatsViewCase() {
+    return StatsViewCase.forNumber(
+        statsViewCase_);
   }
 
   public static final int FULL_READ_STATS_VIEW_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -127,27 +100,22 @@ public boolean hasFullReadStatsView() { return statsViewCase_ == 1; } /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ @java.lang.Override public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { if (statsViewCase_ == 1) { - return (com.google.bigtable.v2.FullReadStatsView) statsView_; + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
@@ -158,13 +126,12 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() {
   @java.lang.Override
   public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder() {
     if (statsViewCase_ == 1) {
-      return (com.google.bigtable.v2.FullReadStatsView) statsView_;
+       return (com.google.bigtable.v2.FullReadStatsView) statsView_;
     }
     return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -176,7 +143,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (statsViewCase_ == 1) {
       output.writeMessage(1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
     }
@@ -190,9 +158,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (statsViewCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -202,7 +169,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.RequestStats)) {
       return super.equals(obj);
@@ -212,7 +179,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getStatsViewCase().equals(other.getStatsViewCase())) return false;
     switch (statsViewCase_) {
       case 1:
-        if (!getFullReadStatsView().equals(other.getFullReadStatsView())) return false;
+        if (!getFullReadStatsView()
+            .equals(other.getFullReadStatsView())) return false;
         break;
       case 0:
       default:
@@ -241,103 +209,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.RequestStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.RequestStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.RequestStats parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.bigtable.v2.RequestStats parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.RequestStats parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.RequestStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.RequestStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * RequestStats is the container for additional information pertaining to a
    * single request, helpful for evaluating the performance of the sent request.
@@ -347,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RequestStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RequestStats)
       com.google.bigtable.v2.RequestStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RequestStats.class,
-              com.google.bigtable.v2.RequestStats.Builder.class);
+              com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RequestStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
     }
 
     @java.lang.Override
@@ -408,9 +373,7 @@ public com.google.bigtable.v2.RequestStats build() {
     @java.lang.Override
     public com.google.bigtable.v2.RequestStats buildPartial() {
       com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -423,7 +386,8 @@ private void buildPartial0(com.google.bigtable.v2.RequestStats result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
       result.statsViewCase_ = statsViewCase_;
       result.statsView_ = this.statsView_;
-      if (statsViewCase_ == 1 && fullReadStatsViewBuilder_ != null) {
+      if (statsViewCase_ == 1 &&
+          fullReadStatsViewBuilder_ != null) {
         result.statsView_ = fullReadStatsViewBuilder_.build();
       }
     }
@@ -432,39 +396,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -474,15 +437,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.bigtable.v2.RequestStats other) {
       if (other == com.google.bigtable.v2.RequestStats.getDefaultInstance()) return this;
       switch (other.getStatsViewCase()) {
-        case FULL_READ_STATS_VIEW:
-          {
-            mergeFullReadStatsView(other.getFullReadStatsView());
-            break;
-          }
-        case STATSVIEW_NOT_SET:
-          {
-            break;
-          }
+        case FULL_READ_STATS_VIEW: {
+          mergeFullReadStatsView(other.getFullReadStatsView());
+          break;
+        }
+        case STATSVIEW_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -510,20 +471,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFullReadStatsViewFieldBuilder().getBuilder(), extensionRegistry);
-                statsViewCase_ = 1;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFullReadStatsViewFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              statsViewCase_ = 1;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -533,12 +493,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int statsViewCase_ = 0;
     private java.lang.Object statsView_;
-
-    public StatsViewCase getStatsViewCase() {
-      return StatsViewCase.forNumber(statsViewCase_);
+    public StatsViewCase
+        getStatsViewCase() {
+      return StatsViewCase.forNumber(
+          statsViewCase_);
     }
 
     public Builder clearStatsView() {
@@ -551,20 +511,14 @@ public Builder clearStatsView() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.FullReadStatsView,
-            com.google.bigtable.v2.FullReadStatsView.Builder,
-            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
-        fullReadStatsViewBuilder_;
+        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> fullReadStatsViewBuilder_;
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -572,15 +526,12 @@ public boolean hasFullReadStatsView() { return statsViewCase_ == 1; } /** - * - * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ @java.lang.Override @@ -598,8 +549,6 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { } } /** - * - * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -621,8 +570,6 @@ public Builder setFullReadStatsView(com.google.bigtable.v2.FullReadStatsView val
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -642,8 +589,6 @@ public Builder setFullReadStatsView(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -653,13 +598,10 @@ public Builder setFullReadStatsView(
      */
     public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView value) {
       if (fullReadStatsViewBuilder_ == null) {
-        if (statsViewCase_ == 1
-            && statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) {
-          statsView_ =
-              com.google.bigtable.v2.FullReadStatsView.newBuilder(
-                      (com.google.bigtable.v2.FullReadStatsView) statsView_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (statsViewCase_ == 1 &&
+            statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) {
+          statsView_ = com.google.bigtable.v2.FullReadStatsView.newBuilder((com.google.bigtable.v2.FullReadStatsView) statsView_)
+              .mergeFrom(value).buildPartial();
         } else {
           statsView_ = value;
         }
@@ -675,8 +617,6 @@ public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView v
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -701,8 +641,6 @@ public Builder clearFullReadStatsView() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -714,8 +652,6 @@ public com.google.bigtable.v2.FullReadStatsView.Builder getFullReadStatsViewBuil
       return getFullReadStatsViewFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -735,8 +671,6 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       }
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -745,19 +679,14 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
      * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.FullReadStatsView,
-            com.google.bigtable.v2.FullReadStatsView.Builder,
-            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
+        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> 
         getFullReadStatsViewFieldBuilder() {
       if (fullReadStatsViewBuilder_ == null) {
         if (!(statsViewCase_ == 1)) {
           statsView_ = com.google.bigtable.v2.FullReadStatsView.getDefaultInstance();
         }
-        fullReadStatsViewBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.FullReadStatsView,
-                com.google.bigtable.v2.FullReadStatsView.Builder,
-                com.google.bigtable.v2.FullReadStatsViewOrBuilder>(
+        fullReadStatsViewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder>(
                 (com.google.bigtable.v2.FullReadStatsView) statsView_,
                 getParentForChildren(),
                 isClean());
@@ -767,9 +696,9 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       onChanged();
       return fullReadStatsViewBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -779,12 +708,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RequestStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.RequestStats)
   private static final com.google.bigtable.v2.RequestStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.RequestStats();
   }
@@ -793,27 +722,27 @@ public static com.google.bigtable.v2.RequestStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -828,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
similarity index 66%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
index efacc8fa83..71f42613c9 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface RequestStatsOrBuilder
-    extends
+public interface RequestStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ boolean hasFullReadStatsView(); /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ com.google.bigtable.v2.FullReadStatsView getFullReadStatsView(); /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
new file mode 100644
index 0000000000..5b94333d8c
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
@@ -0,0 +1,100 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/bigtable/v2/request_stats.proto
+
+package com.google.bigtable.v2;
+
+public final class RequestStatsProto {
+  private RequestStatsProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_FullReadStatsView_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_RequestStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n&google/bigtable/v2/request_stats.proto" +
+      "\022\022google.bigtable.v2\032\036google/protobuf/du" +
+      "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" +
+      "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" +
+      "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" +
+      "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" +
+      "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" +
+      "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" +
+      "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" +
+      "2&.google.bigtable.v2.ReadIterationStats" +
+      "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" +
+      ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" +
+      "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" +
+      ".google.bigtable.v2.FullReadStatsViewH\000B" +
+      "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" +
+      "B\021RequestStatsProtoP\001Z:google.golang.org" +
+      "/genproto/googleapis/bigtable/v2;bigtabl" +
+      "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" +
+      "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" +
+      "e::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.DurationProto.getDescriptor(),
+        });
+    internal_static_google_bigtable_v2_ReadIterationStats_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_ReadIterationStats_descriptor,
+        new java.lang.String[] { "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", });
+    internal_static_google_bigtable_v2_RequestLatencyStats_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_RequestLatencyStats_descriptor,
+        new java.lang.String[] { "FrontendServerLatency", });
+    internal_static_google_bigtable_v2_FullReadStatsView_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_FullReadStatsView_descriptor,
+        new java.lang.String[] { "ReadIterationStats", "RequestLatencyStats", });
+    internal_static_google_bigtable_v2_RequestStats_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_RequestStats_descriptor,
+        new java.lang.String[] { "FullReadStatsView", "StatsView", });
+    com.google.protobuf.DurationProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
similarity index 70%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
index 369b9e9c98..34396853ba 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/response_params.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Response metadata proto
  * This is an experimental feature that will be used to get zone_id and
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ResponseParams}
  */
-public final class ResponseParams extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResponseParams extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ResponseParams)
     ResponseParamsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResponseParams.newBuilder() to construct.
   private ResponseParams(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResponseParams() {
     zoneId_ = "";
     clusterId_ = "";
@@ -47,39 +29,34 @@ private ResponseParams() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResponseParams();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.ResponseParamsProto
-        .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.ResponseParamsProto
-        .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ResponseParams.class,
-            com.google.bigtable.v2.ResponseParams.Builder.class);
+            com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
   }
 
   private int bitField0_;
   public static final int ZONE_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object zoneId_ = "";
   /**
-   *
-   *
    * 
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ @java.lang.Override @@ -87,14 +64,11 @@ public boolean hasZoneId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The zoneId. */ @java.lang.Override @@ -103,29 +77,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -134,19 +108,15 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ @java.lang.Override @@ -154,15 +124,12 @@ public boolean hasClusterId() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ @java.lang.Override @@ -171,30 +138,30 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -203,7 +170,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -245,7 +212,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ResponseParams)) { return super.equals(obj); @@ -254,11 +221,13 @@ public boolean equals(final java.lang.Object obj) { if (hasZoneId() != other.hasZoneId()) return false; if (hasZoneId()) { - if (!getZoneId().equals(other.getZoneId())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; } if (hasClusterId() != other.hasClusterId()) return false; if (hasClusterId()) { - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,103 +253,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ResponseParams parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ResponseParams parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ResponseParams parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ResponseParams parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ResponseParams parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ResponseParams prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response metadata proto
    * This is an experimental feature that will be used to get zone_id and
@@ -390,32 +355,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ResponseParams}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ResponseParams)
       com.google.bigtable.v2.ResponseParamsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ResponseParams.class,
-              com.google.bigtable.v2.ResponseParams.Builder.class);
+              com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ResponseParams.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
     }
 
     @java.lang.Override
@@ -447,11 +413,8 @@ public com.google.bigtable.v2.ResponseParams build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ResponseParams buildPartial() {
-      com.google.bigtable.v2.ResponseParams result =
-          new com.google.bigtable.v2.ResponseParams(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ResponseParams result = new com.google.bigtable.v2.ResponseParams(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -474,39 +437,38 @@ private void buildPartial0(com.google.bigtable.v2.ResponseParams result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ResponseParams) {
-        return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
+        return mergeFrom((com.google.bigtable.v2.ResponseParams)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,25 +513,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                zoneId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              zoneId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              clusterId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,39 +538,33 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object zoneId_ = "";
     /**
-     *
-     *
      * 
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ public boolean hasZoneId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -620,21 +573,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -642,35 +594,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -680,21 +625,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -704,36 +645,31 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ public boolean hasClusterId() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -742,22 +678,21 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -765,37 +700,30 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -805,31 +733,27 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ResponseParams) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ResponseParams) private static final com.google.bigtable.v2.ResponseParams DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ResponseParams(); } @@ -853,27 +777,27 @@ public static com.google.bigtable.v2.ResponseParams getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseParams parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseParams parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,4 +812,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ResponseParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java index 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 75% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java index 82a8108f28..2ccd8c0725 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies the complete (requested) contents of a single row of a table.
  * Rows which exceed 256MiB in size cannot be read in full.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Row}
  */
-public final class Row extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Row extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Row)
     RowOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Row.newBuilder() to construct.
   private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Row() {
     key_ = com.google.protobuf.ByteString.EMPTY;
     families_ = java.util.Collections.emptyList();
@@ -45,19 +27,20 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Row();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
   }
@@ -65,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The unique key which identifies this row within its table. This is the same
    * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -74,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -83,12 +63,9 @@ public com.google.protobuf.ByteString getKey() { } public static final int FAMILIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List families_; /** - * - * *
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -101,8 +78,6 @@ public java.util.List getFamiliesList() {
     return families_;
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -111,13 +86,11 @@ public java.util.List getFamiliesList() {
    * repeated .google.bigtable.v2.Family families = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFamiliesOrBuilderList() {
     return families_;
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -130,8 +103,6 @@ public int getFamiliesCount() {
     return families_.size();
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -144,8 +115,6 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
     return families_.get(index);
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -154,12 +123,12 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
    * repeated .google.bigtable.v2.Family families = 2;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
+  public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+      int index) {
     return families_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,7 +140,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!key_.isEmpty()) {
       output.writeBytes(1, key_);
     }
@@ -188,10 +158,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (!key_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(1, key_);
     }
     for (int i = 0; i < families_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, families_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, families_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -201,15 +173,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.Row)) {
       return super.equals(obj);
     }
     com.google.bigtable.v2.Row other = (com.google.bigtable.v2.Row) obj;
 
-    if (!getKey().equals(other.getKey())) return false;
-    if (!getFamiliesList().equals(other.getFamiliesList())) return false;
+    if (!getKey()
+        .equals(other.getKey())) return false;
+    if (!getFamiliesList()
+        .equals(other.getFamiliesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -232,103 +206,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.Row parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.Row parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.Row parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.bigtable.v2.Row parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.Row parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.Row parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.Row parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.bigtable.v2.Row parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.Row prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Specifies the complete (requested) contents of a single row of a table.
    * Rows which exceed 256MiB in size cannot be read in full.
@@ -336,30 +306,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Row}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Row)
       com.google.bigtable.v2.RowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Row.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -376,7 +349,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
     }
 
@@ -398,9 +372,7 @@ public com.google.bigtable.v2.Row build() {
     public com.google.bigtable.v2.Row buildPartial() {
       com.google.bigtable.v2.Row result = new com.google.bigtable.v2.Row(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,39 +400,38 @@ private void buildPartial0(com.google.bigtable.v2.Row result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Row) {
-        return mergeFrom((com.google.bigtable.v2.Row) other);
+        return mergeFrom((com.google.bigtable.v2.Row)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -490,10 +461,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
             familiesBuilder_ = null;
             families_ = other.families_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            familiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFamiliesFieldBuilder()
-                    : null;
+            familiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFamiliesFieldBuilder() : null;
           } else {
             familiesBuilder_.addAllMessages(other.families_);
           }
@@ -525,31 +495,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                key_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Family m =
-                    input.readMessage(com.google.bigtable.v2.Family.parser(), extensionRegistry);
-                if (familiesBuilder_ == null) {
-                  ensureFamiliesIsMutable();
-                  families_.add(m);
-                } else {
-                  familiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              key_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Family m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Family.parser(),
+                      extensionRegistry);
+              if (familiesBuilder_ == null) {
+                ensureFamiliesIsMutable();
+                families_.add(m);
+              } else {
+                familiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -559,13 +528,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -573,7 +539,6 @@ public Builder mergeFrom(
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -581,8 +546,6 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -590,22 +553,17 @@ public com.google.protobuf.ByteString getKey() {
      * 
* * bytes key = 1; - * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -613,7 +571,6 @@ public Builder setKey(com.google.protobuf.ByteString value) {
      * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -624,24 +581,18 @@ public Builder clearKey() { } private java.util.List families_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { families_ = new java.util.ArrayList(families_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Family, - com.google.bigtable.v2.Family.Builder, - com.google.bigtable.v2.FamilyOrBuilder> - familiesBuilder_; + com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> familiesBuilder_; /** - * - * *
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -657,8 +608,6 @@ public java.util.List getFamiliesList() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -674,8 +623,6 @@ public int getFamiliesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -691,8 +638,6 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -700,7 +645,8 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
+    public Builder setFamilies(
+        int index, com.google.bigtable.v2.Family value) {
       if (familiesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -714,8 +660,6 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -723,7 +667,8 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder setFamilies(int index, com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder setFamilies(
+        int index, com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.set(index, builderForValue.build());
@@ -734,8 +679,6 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -757,8 +700,6 @@ public Builder addFamilies(com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -766,7 +707,8 @@ public Builder addFamilies(com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
+    public Builder addFamilies(
+        int index, com.google.bigtable.v2.Family value) {
       if (familiesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -780,8 +722,6 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -789,7 +729,8 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder addFamilies(
+        com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.add(builderForValue.build());
@@ -800,8 +741,6 @@ public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -809,7 +748,8 @@ public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(int index, com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder addFamilies(
+        int index, com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.add(index, builderForValue.build());
@@ -820,8 +760,6 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -833,7 +771,8 @@ public Builder addAllFamilies(
         java.lang.Iterable values) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, families_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, families_);
         onChanged();
       } else {
         familiesBuilder_.addAllMessages(values);
@@ -841,8 +780,6 @@ public Builder addAllFamilies(
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -861,8 +798,6 @@ public Builder clearFamilies() {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -881,8 +816,6 @@ public Builder removeFamilies(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -890,12 +823,11 @@ public Builder removeFamilies(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(int index) {
+    public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(
+        int index) {
       return getFamiliesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -903,16 +835,14 @@ public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
+    public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+        int index) {
       if (familiesBuilder_ == null) {
-        return families_.get(index);
-      } else {
+        return families_.get(index);  } else {
         return familiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -920,8 +850,8 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List
-        getFamiliesOrBuilderList() {
+    public java.util.List 
+         getFamiliesOrBuilderList() {
       if (familiesBuilder_ != null) {
         return familiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -929,8 +859,6 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -939,12 +867,10 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
      * repeated .google.bigtable.v2.Family families = 2;
      */
     public com.google.bigtable.v2.Family.Builder addFamiliesBuilder() {
-      return getFamiliesFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Family.getDefaultInstance());
+      return getFamiliesFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Family.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -952,13 +878,12 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder() {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) {
-      return getFamiliesFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Family.getDefaultInstance());
+    public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(
+        int index) {
+      return getFamiliesFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Family.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -966,29 +891,27 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List getFamiliesBuilderList() {
+    public java.util.List 
+         getFamiliesBuilderList() {
       return getFamiliesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Family,
-            com.google.bigtable.v2.Family.Builder,
-            com.google.bigtable.v2.FamilyOrBuilder>
+        com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> 
         getFamiliesFieldBuilder() {
       if (familiesBuilder_ == null) {
-        familiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Family,
-                com.google.bigtable.v2.Family.Builder,
-                com.google.bigtable.v2.FamilyOrBuilder>(
-                families_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        familiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder>(
+                families_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         families_ = null;
       }
       return familiesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -998,12 +921,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Row)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.Row)
   private static final com.google.bigtable.v2.Row DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.Row();
   }
@@ -1012,27 +935,27 @@ public static com.google.bigtable.v2.Row getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Row parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Row parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1047,4 +970,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.Row getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
similarity index 82%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
index b9d9f9020e..89a84a97a4 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Takes a row as input and produces an alternate view of the row based on
  * specified rules. For example, a RowFilter might trim down a row to include
@@ -59,45 +42,43 @@
  *
  * Protobuf type {@code google.bigtable.v2.RowFilter}
  */
-public final class RowFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RowFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter)
     RowFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RowFilter.newBuilder() to construct.
   private RowFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RowFilter() {}
+  private RowFilter() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RowFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
   }
 
-  public interface ChainOrBuilder
-      extends
+  public interface ChainOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Chain)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -106,10 +87,9 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -120,8 +100,6 @@ public interface ChainOrBuilder
      */
     com.google.bigtable.v2.RowFilter getFilters(int index);
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -132,8 +110,6 @@ public interface ChainOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -142,10 +118,9 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersOrBuilderList();
+    java.util.List 
+        getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -154,59 +129,53 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A RowFilter which sends rows through several RowFilters in sequence.
    * 
* * Protobuf type {@code google.bigtable.v2.RowFilter.Chain} */ - public static final class Chain extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Chain extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Chain) ChainOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Chain.newBuilder() to construct. private Chain(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Chain() { filters_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Chain(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, - com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); } public static final int FILTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List filters_; /** - * - * *
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -220,8 +189,6 @@ public java.util.List getFiltersList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -231,13 +198,11 @@ public java.util.List getFiltersList() {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -251,8 +216,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -266,8 +229,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -277,12 +238,12 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -294,7 +255,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -308,7 +270,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -318,14 +281,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Chain)) {
         return super.equals(obj);
       }
       com.google.bigtable.v2.RowFilter.Chain other = (com.google.bigtable.v2.RowFilter.Chain) obj;
 
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -346,94 +310,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Chain parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Chain prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -443,41 +403,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends rows through several RowFilters in sequence.
      * 
* * Protobuf type {@code google.bigtable.v2.RowFilter.Chain} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Chain) com.google.bigtable.v2.RowFilter.ChainOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, - com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); } // Construct using com.google.bigtable.v2.RowFilter.Chain.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -493,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override @@ -514,12 +472,9 @@ public com.google.bigtable.v2.RowFilter.Chain build() { @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain buildPartial() { - com.google.bigtable.v2.RowFilter.Chain result = - new com.google.bigtable.v2.RowFilter.Chain(this); + com.google.bigtable.v2.RowFilter.Chain result = new com.google.bigtable.v2.RowFilter.Chain(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -544,41 +499,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Chain result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowFilter.Chain) { - return mergeFrom((com.google.bigtable.v2.RowFilter.Chain) other); + return mergeFrom((com.google.bigtable.v2.RowFilter.Chain)other); } else { super.mergeFrom(other); return this; @@ -605,10 +557,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowFilter.Chain other) { filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000001); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFiltersFieldBuilder() - : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFiltersFieldBuilder() : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -640,26 +591,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.RowFilter m = - input.readMessage( - com.google.bigtable.v2.RowFilter.parser(), extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.RowFilter m = + input.readMessage( + com.google.bigtable.v2.RowFilter.parser(), + extensionRegistry); + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(m); + } else { + filtersBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,28 +619,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List filters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowFilter, - com.google.bigtable.v2.RowFilter.Builder, - com.google.bigtable.v2.RowFilterOrBuilder> - filtersBuilder_; + com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filtersBuilder_; /** - * - * *
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -707,8 +650,6 @@ public java.util.List getFiltersList() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -725,8 +666,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -743,8 +682,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -753,7 +690,8 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder setFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -767,8 +705,6 @@ public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -789,8 +725,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -813,8 +747,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -823,7 +755,8 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder addFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -837,8 +770,6 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -847,7 +778,8 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder addFilters(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
           filters_.add(builderForValue.build());
@@ -858,8 +790,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -880,8 +810,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -894,7 +822,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -902,8 +831,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -923,8 +850,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -944,8 +869,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -954,12 +877,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
+      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -968,16 +890,14 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+          int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -986,8 +906,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -995,8 +915,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1006,12 +924,10 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.RowFilter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1020,13 +936,12 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
+      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1035,27 +950,24 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1068,12 +980,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Chain)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Chain)
     private static final com.google.bigtable.v2.RowFilter.Chain DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Chain();
     }
@@ -1082,28 +994,27 @@ public static com.google.bigtable.v2.RowFilter.Chain getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Chain parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Chain parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1118,16 +1029,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Chain getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface InterleaveOrBuilder
-      extends
+  public interface InterleaveOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Interleave)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1158,10 +1067,9 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1194,8 +1102,6 @@ public interface InterleaveOrBuilder
      */
     com.google.bigtable.v2.RowFilter getFilters(int index);
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1228,8 +1134,6 @@ public interface InterleaveOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1260,10 +1164,9 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersOrBuilderList();
+    java.util.List 
+        getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1294,11 +1197,10 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A RowFilter which sends each row to each of several component
    * RowFilters and interleaves the results.
@@ -1306,48 +1208,43 @@ public interface InterleaveOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter.Interleave}
    */
-  public static final class Interleave extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Interleave extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Interleave)
       InterleaveOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Interleave.newBuilder() to construct.
     private Interleave(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Interleave() {
       filters_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Interleave();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Interleave.class,
-              com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+              com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
     }
 
     public static final int FILTERS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List filters_;
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1383,8 +1280,6 @@ public java.util.List getFiltersList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1416,13 +1311,11 @@ public java.util.List getFiltersList() {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1458,8 +1351,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1495,8 +1386,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1528,12 +1417,12 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1545,7 +1434,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -1559,7 +1449,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1569,15 +1460,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Interleave)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.RowFilter.Interleave other =
-          (com.google.bigtable.v2.RowFilter.Interleave) obj;
+      com.google.bigtable.v2.RowFilter.Interleave other = (com.google.bigtable.v2.RowFilter.Interleave) obj;
 
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1598,94 +1489,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Interleave prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1695,8 +1582,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends each row to each of several component
      * RowFilters and interleaves the results.
@@ -1704,33 +1589,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.RowFilter.Interleave}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Interleave)
         com.google.bigtable.v2.RowFilter.InterleaveOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.RowFilter.Interleave.class,
-                com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+                com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.RowFilter.Interleave.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1746,9 +1631,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
       }
 
       @java.lang.Override
@@ -1767,12 +1652,9 @@ public com.google.bigtable.v2.RowFilter.Interleave build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Interleave buildPartial() {
-        com.google.bigtable.v2.RowFilter.Interleave result =
-            new com.google.bigtable.v2.RowFilter.Interleave(this);
+        com.google.bigtable.v2.RowFilter.Interleave result = new com.google.bigtable.v2.RowFilter.Interleave(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1797,41 +1679,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Interleave result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Interleave) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave) other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1858,10 +1737,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowFilter.Interleave other) {
               filtersBuilder_ = null;
               filters_ = other.filters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              filtersBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getFiltersFieldBuilder()
-                      : null;
+              filtersBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getFiltersFieldBuilder() : null;
             } else {
               filtersBuilder_.addAllMessages(other.filters_);
             }
@@ -1893,26 +1771,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.bigtable.v2.RowFilter m =
-                      input.readMessage(
-                          com.google.bigtable.v2.RowFilter.parser(), extensionRegistry);
-                  if (filtersBuilder_ == null) {
-                    ensureFiltersIsMutable();
-                    filters_.add(m);
-                  } else {
-                    filtersBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.bigtable.v2.RowFilter m =
+                    input.readMessage(
+                        com.google.bigtable.v2.RowFilter.parser(),
+                        extensionRegistry);
+                if (filtersBuilder_ == null) {
+                  ensureFiltersIsMutable();
+                  filters_.add(m);
+                } else {
+                  filtersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1922,28 +1799,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List filters_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureFiltersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           filters_ = new java.util.ArrayList(filters_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          filtersBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filtersBuilder_;
 
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -1982,8 +1852,6 @@ public java.util.List getFiltersList() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2022,8 +1890,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2062,8 +1928,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2094,7 +1958,8 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder setFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2108,8 +1973,6 @@ public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2152,8 +2015,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2198,8 +2059,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2230,7 +2089,8 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder addFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2244,8 +2104,6 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2276,7 +2134,8 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder addFilters(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
           filters_.add(builderForValue.build());
@@ -2287,8 +2146,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2331,8 +2188,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2367,7 +2222,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -2375,8 +2231,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2418,8 +2272,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2461,8 +2313,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2493,12 +2343,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
+      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2529,16 +2378,14 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+          int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2569,8 +2416,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -2578,8 +2425,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2611,12 +2456,10 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.RowFilter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2647,13 +2490,12 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
+      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2684,27 +2526,24 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2717,12 +2556,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Interleave)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Interleave)
     private static final com.google.bigtable.v2.RowFilter.Interleave DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Interleave();
     }
@@ -2731,28 +2570,27 @@ public static com.google.bigtable.v2.RowFilter.Interleave getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Interleave parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Interleave parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2767,42 +2605,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Interleave getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface ConditionOrBuilder
-      extends
+  public interface ConditionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Condition)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ boolean hasPredicateFilter(); /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ com.google.bigtable.v2.RowFilter getPredicateFilter(); /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -2813,34 +2643,26 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
 
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ boolean hasTrueFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ com.google.bigtable.v2.RowFilter getTrueFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
@@ -2851,8 +2673,6 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder();
 
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2860,13 +2680,10 @@ public interface ConditionOrBuilder
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ boolean hasFalseFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2874,13 +2691,10 @@ public interface ConditionOrBuilder
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ com.google.bigtable.v2.RowFilter getFalseFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2892,8 +2706,6 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A RowFilter which evaluates one of two possible RowFilters, depending on
    * whether or not a predicate RowFilter outputs any cells from the input row.
@@ -2906,51 +2718,47 @@ public interface ConditionOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter.Condition}
    */
-  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Condition extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Condition)
       ConditionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Condition() {}
+    private Condition() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Condition();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Condition.class,
-              com.google.bigtable.v2.RowFilter.Condition.Builder.class);
+              com.google.bigtable.v2.RowFilter.Condition.class, com.google.bigtable.v2.RowFilter.Condition.Builder.class);
     }
 
     public static final int PREDICATE_FILTER_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.RowFilter predicateFilter_;
     /**
-     *
-     *
      * 
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -2958,26 +2766,19 @@ public boolean hasPredicateFilter() { return predicateFilter_ != null; } /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getPredicateFilter() { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -2987,23 +2788,18 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-      return predicateFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : predicateFilter_;
+      return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
     }
 
     public static final int TRUE_FILTER_FIELD_NUMBER = 2;
     private com.google.bigtable.v2.RowFilter trueFilter_;
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ @java.lang.Override @@ -3011,26 +2807,19 @@ public boolean hasTrueFilter() { return trueFilter_ != null; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getTrueFilter() { - return trueFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : trueFilter_; + return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
@@ -3040,16 +2829,12 @@ public com.google.bigtable.v2.RowFilter getTrueFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
-      return trueFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : trueFilter_;
+      return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
     }
 
     public static final int FALSE_FILTER_FIELD_NUMBER = 3;
     private com.google.bigtable.v2.RowFilter falseFilter_;
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3057,7 +2842,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ @java.lang.Override @@ -3065,8 +2849,6 @@ public boolean hasFalseFilter() { return falseFilter_ != null; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3074,18 +2856,13 @@ public boolean hasFalseFilter() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getFalseFilter() { - return falseFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : falseFilter_; + return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3096,13 +2873,10 @@ public com.google.bigtable.v2.RowFilter getFalseFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
-      return falseFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : falseFilter_;
+      return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3114,7 +2888,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (predicateFilter_ != null) {
         output.writeMessage(1, getPredicateFilter());
       }
@@ -3134,13 +2909,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (predicateFilter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPredicateFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getPredicateFilter());
       }
       if (trueFilter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTrueFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTrueFilter());
       }
       if (falseFilter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFalseFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getFalseFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3150,25 +2928,27 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Condition)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.RowFilter.Condition other =
-          (com.google.bigtable.v2.RowFilter.Condition) obj;
+      com.google.bigtable.v2.RowFilter.Condition other = (com.google.bigtable.v2.RowFilter.Condition) obj;
 
       if (hasPredicateFilter() != other.hasPredicateFilter()) return false;
       if (hasPredicateFilter()) {
-        if (!getPredicateFilter().equals(other.getPredicateFilter())) return false;
+        if (!getPredicateFilter()
+            .equals(other.getPredicateFilter())) return false;
       }
       if (hasTrueFilter() != other.hasTrueFilter()) return false;
       if (hasTrueFilter()) {
-        if (!getTrueFilter().equals(other.getTrueFilter())) return false;
+        if (!getTrueFilter()
+            .equals(other.getTrueFilter())) return false;
       }
       if (hasFalseFilter() != other.hasFalseFilter()) return false;
       if (hasFalseFilter()) {
-        if (!getFalseFilter().equals(other.getFalseFilter())) return false;
+        if (!getFalseFilter()
+            .equals(other.getFalseFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3198,94 +2978,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Condition parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Condition prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3295,8 +3071,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which evaluates one of two possible RowFilters, depending on
      * whether or not a predicate RowFilter outputs any cells from the input row.
@@ -3309,33 +3083,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.RowFilter.Condition}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Condition)
         com.google.bigtable.v2.RowFilter.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.RowFilter.Condition.class,
-                com.google.bigtable.v2.RowFilter.Condition.Builder.class);
+                com.google.bigtable.v2.RowFilter.Condition.class, com.google.bigtable.v2.RowFilter.Condition.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.RowFilter.Condition.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3359,9 +3133,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -3380,11 +3154,8 @@ public com.google.bigtable.v2.RowFilter.Condition build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
-        com.google.bigtable.v2.RowFilter.Condition result =
-            new com.google.bigtable.v2.RowFilter.Condition(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.RowFilter.Condition result = new com.google.bigtable.v2.RowFilter.Condition(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -3392,16 +3163,19 @@ public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
       private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.predicateFilter_ =
-              predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build();
+          result.predicateFilter_ = predicateFilterBuilder_ == null
+              ? predicateFilter_
+              : predicateFilterBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.trueFilter_ =
-              trueFilterBuilder_ == null ? trueFilter_ : trueFilterBuilder_.build();
+          result.trueFilter_ = trueFilterBuilder_ == null
+              ? trueFilter_
+              : trueFilterBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.falseFilter_ =
-              falseFilterBuilder_ == null ? falseFilter_ : falseFilterBuilder_.build();
+          result.falseFilter_ = falseFilterBuilder_ == null
+              ? falseFilter_
+              : falseFilterBuilder_.build();
         }
       }
 
@@ -3409,41 +3183,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Condition) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition) other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3487,32 +3258,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getTrueFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getFalseFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getPredicateFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getTrueFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getFalseFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3522,54 +3294,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.bigtable.v2.RowFilter predicateFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          predicateFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_;
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** - * - * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3591,8 +3349,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3600,7 +3356,8 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
-      public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setPredicateFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (predicateFilterBuilder_ == null) {
           predicateFilter_ = builderForValue.build();
         } else {
@@ -3611,8 +3368,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3622,9 +3377,9 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
        */
       public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         if (predicateFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && predicateFilter_ != null
-              && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            predicateFilter_ != null &&
+            predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getPredicateFilterBuilder().mergeFrom(value);
           } else {
             predicateFilter_ = value;
@@ -3637,8 +3392,6 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3657,8 +3410,6 @@ public Builder clearPredicateFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3672,8 +3423,6 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
         return getPredicateFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3685,14 +3434,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
         if (predicateFilterBuilder_ != null) {
           return predicateFilterBuilder_.getMessageOrBuilder();
         } else {
-          return predicateFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : predicateFilter_;
+          return predicateFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3701,17 +3447,14 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getPredicateFilterFieldBuilder() {
         if (predicateFilterBuilder_ == null) {
-          predicateFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getPredicateFilter(), getParentForChildren(), isClean());
+          predicateFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getPredicateFilter(),
+                  getParentForChildren(),
+                  isClean());
           predicateFilter_ = null;
         }
         return predicateFilterBuilder_;
@@ -3719,49 +3462,36 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
 
       private com.google.bigtable.v2.RowFilter trueFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          trueFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> trueFilterBuilder_;
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ public boolean hasTrueFilter() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ public com.google.bigtable.v2.RowFilter getTrueFilter() { if (trueFilterBuilder_ == null) { - return trueFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : trueFilter_; + return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; } else { return trueFilterBuilder_.getMessage(); } } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3783,8 +3513,6 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3792,7 +3520,8 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
-      public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setTrueFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (trueFilterBuilder_ == null) {
           trueFilter_ = builderForValue.build();
         } else {
@@ -3803,8 +3532,6 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3814,9 +3541,9 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderFor
        */
       public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         if (trueFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && trueFilter_ != null
-              && trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            trueFilter_ != null &&
+            trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getTrueFilterBuilder().mergeFrom(value);
           } else {
             trueFilter_ = value;
@@ -3829,8 +3556,6 @@ public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3849,8 +3574,6 @@ public Builder clearTrueFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3864,8 +3587,6 @@ public com.google.bigtable.v2.RowFilter.Builder getTrueFilterBuilder() {
         return getTrueFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3877,14 +3598,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
         if (trueFilterBuilder_ != null) {
           return trueFilterBuilder_.getMessageOrBuilder();
         } else {
-          return trueFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : trueFilter_;
+          return trueFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3893,17 +3611,14 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getTrueFilterFieldBuilder() {
         if (trueFilterBuilder_ == null) {
-          trueFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getTrueFilter(), getParentForChildren(), isClean());
+          trueFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getTrueFilter(),
+                  getParentForChildren(),
+                  isClean());
           trueFilter_ = null;
         }
         return trueFilterBuilder_;
@@ -3911,13 +3626,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
 
       private com.google.bigtable.v2.RowFilter falseFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          falseFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> falseFilterBuilder_;
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3925,15 +3635,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
        * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ public boolean hasFalseFilter() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3941,21 +3648,16 @@ public boolean hasFalseFilter() {
        * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ public com.google.bigtable.v2.RowFilter getFalseFilter() { if (falseFilterBuilder_ == null) { - return falseFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : falseFilter_; + return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_; } else { return falseFilterBuilder_.getMessage(); } } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3978,8 +3680,6 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3988,7 +3688,8 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
-      public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setFalseFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (falseFilterBuilder_ == null) {
           falseFilter_ = builderForValue.build();
         } else {
@@ -3999,8 +3700,6 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderFo
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4011,9 +3710,9 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderFo
        */
       public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         if (falseFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && falseFilter_ != null
-              && falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            falseFilter_ != null &&
+            falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getFalseFilterBuilder().mergeFrom(value);
           } else {
             falseFilter_ = value;
@@ -4026,8 +3725,6 @@ public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4047,8 +3744,6 @@ public Builder clearFalseFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4063,8 +3758,6 @@ public com.google.bigtable.v2.RowFilter.Builder getFalseFilterBuilder() {
         return getFalseFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4077,14 +3770,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
         if (falseFilterBuilder_ != null) {
           return falseFilterBuilder_.getMessageOrBuilder();
         } else {
-          return falseFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : falseFilter_;
+          return falseFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4094,22 +3784,18 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFalseFilterFieldBuilder() {
         if (falseFilterBuilder_ == null) {
-          falseFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getFalseFilter(), getParentForChildren(), isClean());
+          falseFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getFalseFilter(),
+                  getParentForChildren(),
+                  isClean());
           falseFilter_ = null;
         }
         return falseFilterBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4122,12 +3808,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Condition)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Condition)
     private static final com.google.bigtable.v2.RowFilter.Condition DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Condition();
     }
@@ -4136,28 +3822,27 @@ public static com.google.bigtable.v2.RowFilter.Condition getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Condition parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Condition parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4172,16 +3857,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int filterCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object filter_;
-
   public enum FilterCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CHAIN(1),
     INTERLEAVE(2),
@@ -4204,7 +3887,6 @@ public enum FilterCase
     APPLY_LABEL_TRANSFORMER(19),
     FILTER_NOT_SET(0);
     private final int value;
-
     private FilterCase(int value) {
       this.value = value;
     }
@@ -4220,71 +3902,48 @@ public static FilterCase valueOf(int value) {
 
     public static FilterCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return CHAIN;
-        case 2:
-          return INTERLEAVE;
-        case 3:
-          return CONDITION;
-        case 16:
-          return SINK;
-        case 17:
-          return PASS_ALL_FILTER;
-        case 18:
-          return BLOCK_ALL_FILTER;
-        case 4:
-          return ROW_KEY_REGEX_FILTER;
-        case 14:
-          return ROW_SAMPLE_FILTER;
-        case 5:
-          return FAMILY_NAME_REGEX_FILTER;
-        case 6:
-          return COLUMN_QUALIFIER_REGEX_FILTER;
-        case 7:
-          return COLUMN_RANGE_FILTER;
-        case 8:
-          return TIMESTAMP_RANGE_FILTER;
-        case 9:
-          return VALUE_REGEX_FILTER;
-        case 15:
-          return VALUE_RANGE_FILTER;
-        case 10:
-          return CELLS_PER_ROW_OFFSET_FILTER;
-        case 11:
-          return CELLS_PER_ROW_LIMIT_FILTER;
-        case 12:
-          return CELLS_PER_COLUMN_LIMIT_FILTER;
-        case 13:
-          return STRIP_VALUE_TRANSFORMER;
-        case 19:
-          return APPLY_LABEL_TRANSFORMER;
-        case 0:
-          return FILTER_NOT_SET;
-        default:
-          return null;
+        case 1: return CHAIN;
+        case 2: return INTERLEAVE;
+        case 3: return CONDITION;
+        case 16: return SINK;
+        case 17: return PASS_ALL_FILTER;
+        case 18: return BLOCK_ALL_FILTER;
+        case 4: return ROW_KEY_REGEX_FILTER;
+        case 14: return ROW_SAMPLE_FILTER;
+        case 5: return FAMILY_NAME_REGEX_FILTER;
+        case 6: return COLUMN_QUALIFIER_REGEX_FILTER;
+        case 7: return COLUMN_RANGE_FILTER;
+        case 8: return TIMESTAMP_RANGE_FILTER;
+        case 9: return VALUE_REGEX_FILTER;
+        case 15: return VALUE_RANGE_FILTER;
+        case 10: return CELLS_PER_ROW_OFFSET_FILTER;
+        case 11: return CELLS_PER_ROW_LIMIT_FILTER;
+        case 12: return CELLS_PER_COLUMN_LIMIT_FILTER;
+        case 13: return STRIP_VALUE_TRANSFORMER;
+        case 19: return APPLY_LABEL_TRANSFORMER;
+        case 0: return FILTER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public FilterCase getFilterCase() {
-    return FilterCase.forNumber(filterCase_);
+  public FilterCase
+  getFilterCase() {
+    return FilterCase.forNumber(
+        filterCase_);
   }
 
   public static final int CHAIN_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ @java.lang.Override @@ -4292,27 +3951,22 @@ public boolean hasChain() { return filterCase_ == 1; } /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain getChain() { if (filterCase_ == 1) { - return (com.google.bigtable.v2.RowFilter.Chain) filter_; + return (com.google.bigtable.v2.RowFilter.Chain) filter_; } return com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance(); } /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
@@ -4323,22 +3977,19 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     if (filterCase_ == 1) {
-      return (com.google.bigtable.v2.RowFilter.Chain) filter_;
+       return (com.google.bigtable.v2.RowFilter.Chain) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance();
   }
 
   public static final int INTERLEAVE_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ @java.lang.Override @@ -4346,27 +3997,22 @@ public boolean hasInterleave() { return filterCase_ == 2; } /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { if (filterCase_ == 2) { - return (com.google.bigtable.v2.RowFilter.Interleave) filter_; + return (com.google.bigtable.v2.RowFilter.Interleave) filter_; } return com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance(); } /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
@@ -4377,22 +4023,19 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuilder() {
     if (filterCase_ == 2) {
-      return (com.google.bigtable.v2.RowFilter.Interleave) filter_;
+       return (com.google.bigtable.v2.RowFilter.Interleave) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance();
   }
 
   public static final int CONDITION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -4400,27 +4043,22 @@ public boolean hasCondition() { return filterCase_ == 3; } /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Condition getCondition() { if (filterCase_ == 3) { - return (com.google.bigtable.v2.RowFilter.Condition) filter_; + return (com.google.bigtable.v2.RowFilter.Condition) filter_; } return com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance(); } /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
@@ -4431,15 +4069,13 @@ public com.google.bigtable.v2.RowFilter.Condition getCondition() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder() {
     if (filterCase_ == 3) {
-      return (com.google.bigtable.v2.RowFilter.Condition) filter_;
+       return (com.google.bigtable.v2.RowFilter.Condition) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance();
   }
 
   public static final int SINK_FIELD_NUMBER = 16;
   /**
-   *
-   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4503,7 +4139,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ @java.lang.Override @@ -4511,8 +4146,6 @@ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4576,7 +4209,6 @@ public boolean hasSink() {
    * 
* * bool sink = 16; - * * @return The sink. */ @java.lang.Override @@ -4589,15 +4221,12 @@ public boolean getSink() { public static final int PASS_ALL_FILTER_FIELD_NUMBER = 17; /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ @java.lang.Override @@ -4605,15 +4234,12 @@ public boolean hasPassAllFilter() { return filterCase_ == 17; } /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ @java.lang.Override @@ -4626,15 +4252,12 @@ public boolean getPassAllFilter() { public static final int BLOCK_ALL_FILTER_FIELD_NUMBER = 18; /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ @java.lang.Override @@ -4642,15 +4265,12 @@ public boolean hasBlockAllFilter() { return filterCase_ == 18; } /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ @java.lang.Override @@ -4663,8 +4283,6 @@ public boolean getBlockAllFilter() { public static final int ROW_KEY_REGEX_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -4676,7 +4294,6 @@ public boolean getBlockAllFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ @java.lang.Override @@ -4684,8 +4301,6 @@ public boolean hasRowKeyRegexFilter() { return filterCase_ == 4; } /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -4697,7 +4312,6 @@ public boolean hasRowKeyRegexFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ @java.lang.Override @@ -4710,15 +4324,12 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() { public static final int ROW_SAMPLE_FILTER_FIELD_NUMBER = 14; /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ @java.lang.Override @@ -4726,15 +4337,12 @@ public boolean hasRowSampleFilter() { return filterCase_ == 14; } /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ @java.lang.Override @@ -4747,8 +4355,6 @@ public double getRowSampleFilter() { public static final int FAMILY_NAME_REGEX_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4759,15 +4365,12 @@ public double getRowSampleFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ public boolean hasFamilyNameRegexFilter() { return filterCase_ == 5; } /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4778,7 +4381,6 @@ public boolean hasFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ public java.lang.String getFamilyNameRegexFilter() { @@ -4789,7 +4391,8 @@ public java.lang.String getFamilyNameRegexFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 5) { filter_ = s; @@ -4798,8 +4401,6 @@ public java.lang.String getFamilyNameRegexFilter() { } } /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4810,17 +4411,18 @@ public java.lang.String getFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ - public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { + public com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes() { java.lang.Object ref = ""; if (filterCase_ == 5) { ref = filter_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 5) { filter_ = b; } @@ -4832,8 +4434,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { public static final int COLUMN_QUALIFIER_REGEX_FILTER_FIELD_NUMBER = 6; /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4844,7 +4444,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ @java.lang.Override @@ -4852,8 +4451,6 @@ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4864,7 +4461,6 @@ public boolean hasColumnQualifierRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ @java.lang.Override @@ -4877,14 +4473,11 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { public static final int COLUMN_RANGE_FILTER_FIELD_NUMBER = 7; /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ @java.lang.Override @@ -4892,26 +4485,21 @@ public boolean hasColumnRangeFilter() { return filterCase_ == 7; } /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { if (filterCase_ == 7) { - return (com.google.bigtable.v2.ColumnRange) filter_; + return (com.google.bigtable.v2.ColumnRange) filter_; } return com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells from columns within the given range.
    * 
@@ -4921,21 +4509,18 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { @java.lang.Override public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder() { if (filterCase_ == 7) { - return (com.google.bigtable.v2.ColumnRange) filter_; + return (com.google.bigtable.v2.ColumnRange) filter_; } return com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } public static final int TIMESTAMP_RANGE_FILTER_FIELD_NUMBER = 8; /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -4943,26 +4528,21 @@ public boolean hasTimestampRangeFilter() { return filterCase_ == 8; } /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { if (filterCase_ == 8) { - return (com.google.bigtable.v2.TimestampRange) filter_; + return (com.google.bigtable.v2.TimestampRange) filter_; } return com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
@@ -4972,15 +4552,13 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrBuilder() { if (filterCase_ == 8) { - return (com.google.bigtable.v2.TimestampRange) filter_; + return (com.google.bigtable.v2.TimestampRange) filter_; } return com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } public static final int VALUE_REGEX_FILTER_FIELD_NUMBER = 9; /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -4990,7 +4568,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ @java.lang.Override @@ -4998,8 +4575,6 @@ public boolean hasValueRegexFilter() { return filterCase_ == 9; } /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -5009,7 +4584,6 @@ public boolean hasValueRegexFilter() {
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ @java.lang.Override @@ -5022,14 +4596,11 @@ public com.google.protobuf.ByteString getValueRegexFilter() { public static final int VALUE_RANGE_FILTER_FIELD_NUMBER = 15; /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ @java.lang.Override @@ -5037,26 +4608,21 @@ public boolean hasValueRangeFilter() { return filterCase_ == 15; } /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.ValueRange getValueRangeFilter() { if (filterCase_ == 15) { - return (com.google.bigtable.v2.ValueRange) filter_; + return (com.google.bigtable.v2.ValueRange) filter_; } return com.google.bigtable.v2.ValueRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
@@ -5066,15 +4632,13 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { @java.lang.Override public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() { if (filterCase_ == 15) { - return (com.google.bigtable.v2.ValueRange) filter_; + return (com.google.bigtable.v2.ValueRange) filter_; } return com.google.bigtable.v2.ValueRange.getDefaultInstance(); } public static final int CELLS_PER_ROW_OFFSET_FILTER_FIELD_NUMBER = 10; /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5082,7 +4646,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ @java.lang.Override @@ -5090,8 +4653,6 @@ public boolean hasCellsPerRowOffsetFilter() { return filterCase_ == 10; } /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5099,7 +4660,6 @@ public boolean hasCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ @java.lang.Override @@ -5112,8 +4672,6 @@ public int getCellsPerRowOffsetFilter() { public static final int CELLS_PER_ROW_LIMIT_FILTER_FIELD_NUMBER = 11; /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5121,7 +4679,6 @@ public int getCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ @java.lang.Override @@ -5129,8 +4686,6 @@ public boolean hasCellsPerRowLimitFilter() { return filterCase_ == 11; } /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5138,7 +4693,6 @@ public boolean hasCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ @java.lang.Override @@ -5151,8 +4705,6 @@ public int getCellsPerRowLimitFilter() { public static final int CELLS_PER_COLUMN_LIMIT_FILTER_FIELD_NUMBER = 12; /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -5163,7 +4715,6 @@ public int getCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ @java.lang.Override @@ -5171,8 +4722,6 @@ public boolean hasCellsPerColumnLimitFilter() { return filterCase_ == 12; } /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -5183,7 +4732,6 @@ public boolean hasCellsPerColumnLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ @java.lang.Override @@ -5196,14 +4744,11 @@ public int getCellsPerColumnLimitFilter() { public static final int STRIP_VALUE_TRANSFORMER_FIELD_NUMBER = 13; /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ @java.lang.Override @@ -5211,14 +4756,11 @@ public boolean hasStripValueTransformer() { return filterCase_ == 13; } /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ @java.lang.Override @@ -5231,8 +4773,6 @@ public boolean getStripValueTransformer() { public static final int APPLY_LABEL_TRANSFORMER_FIELD_NUMBER = 19; /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5250,15 +4790,12 @@ public boolean getStripValueTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ public boolean hasApplyLabelTransformer() { return filterCase_ == 19; } /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5276,7 +4813,6 @@ public boolean hasApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ public java.lang.String getApplyLabelTransformer() { @@ -5287,7 +4823,8 @@ public java.lang.String getApplyLabelTransformer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 19) { filter_ = s; @@ -5296,8 +4833,6 @@ public java.lang.String getApplyLabelTransformer() { } } /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5315,17 +4850,18 @@ public java.lang.String getApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { + public com.google.protobuf.ByteString + getApplyLabelTransformerBytes() { java.lang.Object ref = ""; if (filterCase_ == 19) { ref = filter_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 19) { filter_ = b; } @@ -5336,7 +4872,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5348,7 +4883,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (filterCase_ == 1) { output.writeMessage(1, (com.google.bigtable.v2.RowFilter.Chain) filter_); } @@ -5359,13 +4895,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.bigtable.v2.RowFilter.Condition) filter_); } if (filterCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } if (filterCase_ == 6) { - output.writeBytes(6, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 6, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 7) { output.writeMessage(7, (com.google.bigtable.v2.ColumnRange) filter_); @@ -5374,34 +4912,43 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(8, (com.google.bigtable.v2.TimestampRange) filter_); } if (filterCase_ == 9) { - output.writeBytes(9, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 9, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 10) { - output.writeInt32(10, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 10, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 11) { - output.writeInt32(11, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 11, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 12) { - output.writeInt32(12, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 12, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 13) { - output.writeBool(13, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 13, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 14) { - output.writeDouble(14, (double) ((java.lang.Double) filter_)); + output.writeDouble( + 14, (double)((java.lang.Double) filter_)); } if (filterCase_ == 15) { output.writeMessage(15, (com.google.bigtable.v2.ValueRange) filter_); } if (filterCase_ == 16) { - output.writeBool(16, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 16, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 17) { - output.writeBool(17, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 17, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 18) { - output.writeBool(18, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 18, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 19) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, filter_); @@ -5416,92 +4963,86 @@ public int getSerializedSize() { size = 0; if (filterCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.RowFilter.Chain) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.RowFilter.Chain) filter_); } if (filterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.RowFilter.Interleave) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.RowFilter.Interleave) filter_); } if (filterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.RowFilter.Condition) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.RowFilter.Condition) filter_); } if (filterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (filterCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 6, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 6, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.bigtable.v2.ColumnRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.bigtable.v2.ColumnRange) filter_); } if (filterCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.bigtable.v2.TimestampRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.bigtable.v2.TimestampRange) filter_); } if (filterCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 9, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 9, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 10, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 10, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 11, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 11, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 12, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 12, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 13, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 13, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 14, (double) ((java.lang.Double) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 14, (double)((java.lang.Double) filter_)); } if (filterCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.bigtable.v2.ValueRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.bigtable.v2.ValueRange) filter_); } if (filterCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 16, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 16, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 17, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 17, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 18, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 18, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 19) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, filter_); @@ -5514,7 +5055,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowFilter)) { return super.equals(obj); @@ -5524,63 +5065,81 @@ public boolean equals(final java.lang.Object obj) { if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 1: - if (!getChain().equals(other.getChain())) return false; + if (!getChain() + .equals(other.getChain())) return false; break; case 2: - if (!getInterleave().equals(other.getInterleave())) return false; + if (!getInterleave() + .equals(other.getInterleave())) return false; break; case 3: - if (!getCondition().equals(other.getCondition())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; break; case 16: - if (getSink() != other.getSink()) return false; + if (getSink() + != other.getSink()) return false; break; case 17: - if (getPassAllFilter() != other.getPassAllFilter()) return false; + if (getPassAllFilter() + != other.getPassAllFilter()) return false; break; case 18: - if (getBlockAllFilter() != other.getBlockAllFilter()) return false; + if (getBlockAllFilter() + != other.getBlockAllFilter()) return false; break; case 4: - if (!getRowKeyRegexFilter().equals(other.getRowKeyRegexFilter())) return false; + if (!getRowKeyRegexFilter() + .equals(other.getRowKeyRegexFilter())) return false; break; case 14: if (java.lang.Double.doubleToLongBits(getRowSampleFilter()) - != java.lang.Double.doubleToLongBits(other.getRowSampleFilter())) return false; + != java.lang.Double.doubleToLongBits( + other.getRowSampleFilter())) return false; break; case 5: - if (!getFamilyNameRegexFilter().equals(other.getFamilyNameRegexFilter())) return false; + if (!getFamilyNameRegexFilter() + .equals(other.getFamilyNameRegexFilter())) return false; break; case 6: - if (!getColumnQualifierRegexFilter().equals(other.getColumnQualifierRegexFilter())) - return false; + if (!getColumnQualifierRegexFilter() + .equals(other.getColumnQualifierRegexFilter())) return false; break; case 7: - if (!getColumnRangeFilter().equals(other.getColumnRangeFilter())) return false; + if (!getColumnRangeFilter() + .equals(other.getColumnRangeFilter())) return false; break; case 8: - if (!getTimestampRangeFilter().equals(other.getTimestampRangeFilter())) return false; + if (!getTimestampRangeFilter() + .equals(other.getTimestampRangeFilter())) return false; break; case 9: - if (!getValueRegexFilter().equals(other.getValueRegexFilter())) return false; + if (!getValueRegexFilter() + .equals(other.getValueRegexFilter())) return false; break; case 15: - if (!getValueRangeFilter().equals(other.getValueRangeFilter())) return false; + if (!getValueRangeFilter() + .equals(other.getValueRangeFilter())) return false; break; case 10: - if (getCellsPerRowOffsetFilter() != other.getCellsPerRowOffsetFilter()) return false; + if (getCellsPerRowOffsetFilter() + != other.getCellsPerRowOffsetFilter()) return false; break; case 11: - if (getCellsPerRowLimitFilter() != other.getCellsPerRowLimitFilter()) return false; + if (getCellsPerRowLimitFilter() + != other.getCellsPerRowLimitFilter()) return false; break; case 12: - if (getCellsPerColumnLimitFilter() != other.getCellsPerColumnLimitFilter()) return false; + if (getCellsPerColumnLimitFilter() + != other.getCellsPerColumnLimitFilter()) return false; break; case 13: - if (getStripValueTransformer() != other.getStripValueTransformer()) return false; + if (getStripValueTransformer() + != other.getStripValueTransformer()) return false; break; case 19: - if (!getApplyLabelTransformer().equals(other.getApplyLabelTransformer())) return false; + if (!getApplyLabelTransformer() + .equals(other.getApplyLabelTransformer())) return false; break; case 0: default: @@ -5611,15 +5170,18 @@ public int hashCode() { break; case 16: hash = (37 * hash) + SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSink()); break; case 17: hash = (37 * hash) + PASS_ALL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassAllFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPassAllFilter()); break; case 18: hash = (37 * hash) + BLOCK_ALL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBlockAllFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBlockAllFilter()); break; case 4: hash = (37 * hash) + ROW_KEY_REGEX_FILTER_FIELD_NUMBER; @@ -5627,10 +5189,8 @@ public int hashCode() { break; case 14: hash = (37 * hash) + ROW_SAMPLE_FILTER_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRowSampleFilter())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRowSampleFilter())); break; case 5: hash = (37 * hash) + FAMILY_NAME_REGEX_FILTER_FIELD_NUMBER; @@ -5670,7 +5230,8 @@ public int hashCode() { break; case 13: hash = (37 * hash) + STRIP_VALUE_TRANSFORMER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStripValueTransformer()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStripValueTransformer()); break; case 19: hash = (37 * hash) + APPLY_LABEL_TRANSFORMER_FIELD_NUMBER; @@ -5684,103 +5245,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowFilter parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowFilter parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Takes a row as input and produces an alternate view of the row based on
    * specified rules. For example, a RowFilter might trim down a row to include
@@ -5819,32 +5376,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter)
       com.google.bigtable.v2.RowFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.class,
-              com.google.bigtable.v2.RowFilter.Builder.class);
+              com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RowFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5873,9 +5431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
     }
 
     @java.lang.Override
@@ -5895,9 +5453,7 @@ public com.google.bigtable.v2.RowFilter build() {
     @java.lang.Override
     public com.google.bigtable.v2.RowFilter buildPartial() {
       com.google.bigtable.v2.RowFilter result = new com.google.bigtable.v2.RowFilter(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5910,22 +5466,28 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 1 && chainBuilder_ != null) {
+      if (filterCase_ == 1 &&
+          chainBuilder_ != null) {
         result.filter_ = chainBuilder_.build();
       }
-      if (filterCase_ == 2 && interleaveBuilder_ != null) {
+      if (filterCase_ == 2 &&
+          interleaveBuilder_ != null) {
         result.filter_ = interleaveBuilder_.build();
       }
-      if (filterCase_ == 3 && conditionBuilder_ != null) {
+      if (filterCase_ == 3 &&
+          conditionBuilder_ != null) {
         result.filter_ = conditionBuilder_.build();
       }
-      if (filterCase_ == 7 && columnRangeFilterBuilder_ != null) {
+      if (filterCase_ == 7 &&
+          columnRangeFilterBuilder_ != null) {
         result.filter_ = columnRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 8 && timestampRangeFilterBuilder_ != null) {
+      if (filterCase_ == 8 &&
+          timestampRangeFilterBuilder_ != null) {
         result.filter_ = timestampRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 15 && valueRangeFilterBuilder_ != null) {
+      if (filterCase_ == 15 &&
+          valueRangeFilterBuilder_ != null) {
         result.filter_ = valueRangeFilterBuilder_.build();
       }
     }
@@ -5934,39 +5496,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RowFilter) {
-        return mergeFrom((com.google.bigtable.v2.RowFilter) other);
+        return mergeFrom((com.google.bigtable.v2.RowFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5976,109 +5537,89 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.bigtable.v2.RowFilter other) {
       if (other == com.google.bigtable.v2.RowFilter.getDefaultInstance()) return this;
       switch (other.getFilterCase()) {
-        case CHAIN:
-          {
-            mergeChain(other.getChain());
-            break;
-          }
-        case INTERLEAVE:
-          {
-            mergeInterleave(other.getInterleave());
-            break;
-          }
-        case CONDITION:
-          {
-            mergeCondition(other.getCondition());
-            break;
-          }
-        case SINK:
-          {
-            setSink(other.getSink());
-            break;
-          }
-        case PASS_ALL_FILTER:
-          {
-            setPassAllFilter(other.getPassAllFilter());
-            break;
-          }
-        case BLOCK_ALL_FILTER:
-          {
-            setBlockAllFilter(other.getBlockAllFilter());
-            break;
-          }
-        case ROW_KEY_REGEX_FILTER:
-          {
-            setRowKeyRegexFilter(other.getRowKeyRegexFilter());
-            break;
-          }
-        case ROW_SAMPLE_FILTER:
-          {
-            setRowSampleFilter(other.getRowSampleFilter());
-            break;
-          }
-        case FAMILY_NAME_REGEX_FILTER:
-          {
-            filterCase_ = 5;
-            filter_ = other.filter_;
-            onChanged();
-            break;
-          }
-        case COLUMN_QUALIFIER_REGEX_FILTER:
-          {
-            setColumnQualifierRegexFilter(other.getColumnQualifierRegexFilter());
-            break;
-          }
-        case COLUMN_RANGE_FILTER:
-          {
-            mergeColumnRangeFilter(other.getColumnRangeFilter());
-            break;
-          }
-        case TIMESTAMP_RANGE_FILTER:
-          {
-            mergeTimestampRangeFilter(other.getTimestampRangeFilter());
-            break;
-          }
-        case VALUE_REGEX_FILTER:
-          {
-            setValueRegexFilter(other.getValueRegexFilter());
-            break;
-          }
-        case VALUE_RANGE_FILTER:
-          {
-            mergeValueRangeFilter(other.getValueRangeFilter());
-            break;
-          }
-        case CELLS_PER_ROW_OFFSET_FILTER:
-          {
-            setCellsPerRowOffsetFilter(other.getCellsPerRowOffsetFilter());
-            break;
-          }
-        case CELLS_PER_ROW_LIMIT_FILTER:
-          {
-            setCellsPerRowLimitFilter(other.getCellsPerRowLimitFilter());
-            break;
-          }
-        case CELLS_PER_COLUMN_LIMIT_FILTER:
-          {
-            setCellsPerColumnLimitFilter(other.getCellsPerColumnLimitFilter());
-            break;
-          }
-        case STRIP_VALUE_TRANSFORMER:
-          {
-            setStripValueTransformer(other.getStripValueTransformer());
-            break;
-          }
-        case APPLY_LABEL_TRANSFORMER:
-          {
-            filterCase_ = 19;
-            filter_ = other.filter_;
-            onChanged();
-            break;
-          }
-        case FILTER_NOT_SET:
-          {
-            break;
-          }
+        case CHAIN: {
+          mergeChain(other.getChain());
+          break;
+        }
+        case INTERLEAVE: {
+          mergeInterleave(other.getInterleave());
+          break;
+        }
+        case CONDITION: {
+          mergeCondition(other.getCondition());
+          break;
+        }
+        case SINK: {
+          setSink(other.getSink());
+          break;
+        }
+        case PASS_ALL_FILTER: {
+          setPassAllFilter(other.getPassAllFilter());
+          break;
+        }
+        case BLOCK_ALL_FILTER: {
+          setBlockAllFilter(other.getBlockAllFilter());
+          break;
+        }
+        case ROW_KEY_REGEX_FILTER: {
+          setRowKeyRegexFilter(other.getRowKeyRegexFilter());
+          break;
+        }
+        case ROW_SAMPLE_FILTER: {
+          setRowSampleFilter(other.getRowSampleFilter());
+          break;
+        }
+        case FAMILY_NAME_REGEX_FILTER: {
+          filterCase_ = 5;
+          filter_ = other.filter_;
+          onChanged();
+          break;
+        }
+        case COLUMN_QUALIFIER_REGEX_FILTER: {
+          setColumnQualifierRegexFilter(other.getColumnQualifierRegexFilter());
+          break;
+        }
+        case COLUMN_RANGE_FILTER: {
+          mergeColumnRangeFilter(other.getColumnRangeFilter());
+          break;
+        }
+        case TIMESTAMP_RANGE_FILTER: {
+          mergeTimestampRangeFilter(other.getTimestampRangeFilter());
+          break;
+        }
+        case VALUE_REGEX_FILTER: {
+          setValueRegexFilter(other.getValueRegexFilter());
+          break;
+        }
+        case VALUE_RANGE_FILTER: {
+          mergeValueRangeFilter(other.getValueRangeFilter());
+          break;
+        }
+        case CELLS_PER_ROW_OFFSET_FILTER: {
+          setCellsPerRowOffsetFilter(other.getCellsPerRowOffsetFilter());
+          break;
+        }
+        case CELLS_PER_ROW_LIMIT_FILTER: {
+          setCellsPerRowLimitFilter(other.getCellsPerRowLimitFilter());
+          break;
+        }
+        case CELLS_PER_COLUMN_LIMIT_FILTER: {
+          setCellsPerColumnLimitFilter(other.getCellsPerColumnLimitFilter());
+          break;
+        }
+        case STRIP_VALUE_TRANSFORMER: {
+          setStripValueTransformer(other.getStripValueTransformer());
+          break;
+        }
+        case APPLY_LABEL_TRANSFORMER: {
+          filterCase_ = 19;
+          filter_ = other.filter_;
+          onChanged();
+          break;
+        }
+        case FILTER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -6106,132 +5647,121 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getChainFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getInterleaveFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                filterCase_ = 5;
-                filter_ = s;
-                break;
-              } // case 42
-            case 50:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getColumnRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getTimestampRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 9;
-                break;
-              } // case 74
-            case 80:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 10;
-                break;
-              } // case 80
-            case 88:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 11;
-                break;
-              } // case 88
-            case 96:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 12;
-                break;
-              } // case 96
-            case 104:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 13;
-                break;
-              } // case 104
-            case 113:
-              {
-                filter_ = input.readDouble();
-                filterCase_ = 14;
-                break;
-              } // case 113
-            case 122:
-              {
-                input.readMessage(
-                    getValueRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 15;
-                break;
-              } // case 122
-            case 128:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 16;
-                break;
-              } // case 128
-            case 136:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 17;
-                break;
-              } // case 136
-            case 144:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 18;
-                break;
-              } // case 144
-            case 154:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                filterCase_ = 19;
-                filter_ = s;
-                break;
-              } // case 154
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getChainFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getInterleaveFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getConditionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              filter_ = input.readBytes();
+              filterCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              filterCase_ = 5;
+              filter_ = s;
+              break;
+            } // case 42
+            case 50: {
+              filter_ = input.readBytes();
+              filterCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getColumnRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getTimestampRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              filter_ = input.readBytes();
+              filterCase_ = 9;
+              break;
+            } // case 74
+            case 80: {
+              filter_ = input.readInt32();
+              filterCase_ = 10;
+              break;
+            } // case 80
+            case 88: {
+              filter_ = input.readInt32();
+              filterCase_ = 11;
+              break;
+            } // case 88
+            case 96: {
+              filter_ = input.readInt32();
+              filterCase_ = 12;
+              break;
+            } // case 96
+            case 104: {
+              filter_ = input.readBool();
+              filterCase_ = 13;
+              break;
+            } // case 104
+            case 113: {
+              filter_ = input.readDouble();
+              filterCase_ = 14;
+              break;
+            } // case 113
+            case 122: {
+              input.readMessage(
+                  getValueRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 15;
+              break;
+            } // case 122
+            case 128: {
+              filter_ = input.readBool();
+              filterCase_ = 16;
+              break;
+            } // case 128
+            case 136: {
+              filter_ = input.readBool();
+              filterCase_ = 17;
+              break;
+            } // case 136
+            case 144: {
+              filter_ = input.readBool();
+              filterCase_ = 18;
+              break;
+            } // case 144
+            case 154: {
+              java.lang.String s = input.readStringRequireUtf8();
+              filterCase_ = 19;
+              filter_ = s;
+              break;
+            } // case 154
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6241,12 +5771,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-
-    public FilterCase getFilterCase() {
-      return FilterCase.forNumber(filterCase_);
+    public FilterCase
+        getFilterCase() {
+      return FilterCase.forNumber(
+          filterCase_);
     }
 
     public Builder clearFilter() {
@@ -6259,20 +5789,14 @@ public Builder clearFilter() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Chain,
-            com.google.bigtable.v2.RowFilter.Chain.Builder,
-            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
-        chainBuilder_;
+        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> chainBuilder_;
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ @java.lang.Override @@ -6280,15 +5804,12 @@ public boolean hasChain() { return filterCase_ == 1; } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ @java.lang.Override @@ -6306,8 +5827,6 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() { } } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6329,8 +5848,6 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6338,7 +5855,8 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
      *
      * .google.bigtable.v2.RowFilter.Chain chain = 1;
      */
-    public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderForValue) {
+    public Builder setChain(
+        com.google.bigtable.v2.RowFilter.Chain.Builder builderForValue) {
       if (chainBuilder_ == null) {
         filter_ = builderForValue.build();
         onChanged();
@@ -6349,8 +5867,6 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6360,13 +5876,10 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderFo
      */
     public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       if (chainBuilder_ == null) {
-        if (filterCase_ == 1
-            && filter_ != com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Chain.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Chain) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 1 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Chain.newBuilder((com.google.bigtable.v2.RowFilter.Chain) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6382,8 +5895,6 @@ public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6408,8 +5919,6 @@ public Builder clearChain() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6421,8 +5930,6 @@ public com.google.bigtable.v2.RowFilter.Chain.Builder getChainBuilder() {
       return getChainFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6442,8 +5949,6 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6452,19 +5957,14 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
      * .google.bigtable.v2.RowFilter.Chain chain = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Chain,
-            com.google.bigtable.v2.RowFilter.Chain.Builder,
-            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
+        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> 
         getChainFieldBuilder() {
       if (chainBuilder_ == null) {
         if (!(filterCase_ == 1)) {
           filter_ = com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance();
         }
-        chainBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Chain,
-                com.google.bigtable.v2.RowFilter.Chain.Builder,
-                com.google.bigtable.v2.RowFilter.ChainOrBuilder>(
+        chainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Chain) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6476,20 +5976,14 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Interleave,
-            com.google.bigtable.v2.RowFilter.Interleave.Builder,
-            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
-        interleaveBuilder_;
+        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> interleaveBuilder_;
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ @java.lang.Override @@ -6497,15 +5991,12 @@ public boolean hasInterleave() { return filterCase_ == 2; } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ @java.lang.Override @@ -6523,8 +6014,6 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { } } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6546,8 +6035,6 @@ public Builder setInterleave(com.google.bigtable.v2.RowFilter.Interleave value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6567,8 +6054,6 @@ public Builder setInterleave(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6578,13 +6063,10 @@ public Builder setInterleave(
      */
     public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value) {
       if (interleaveBuilder_ == null) {
-        if (filterCase_ == 2
-            && filter_ != com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Interleave.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Interleave) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 2 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Interleave.newBuilder((com.google.bigtable.v2.RowFilter.Interleave) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6600,8 +6082,6 @@ public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6626,8 +6106,6 @@ public Builder clearInterleave() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6639,8 +6117,6 @@ public com.google.bigtable.v2.RowFilter.Interleave.Builder getInterleaveBuilder(
       return getInterleaveFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6660,8 +6136,6 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6670,19 +6144,14 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
      * .google.bigtable.v2.RowFilter.Interleave interleave = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Interleave,
-            com.google.bigtable.v2.RowFilter.Interleave.Builder,
-            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
+        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> 
         getInterleaveFieldBuilder() {
       if (interleaveBuilder_ == null) {
         if (!(filterCase_ == 2)) {
           filter_ = com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance();
         }
-        interleaveBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Interleave,
-                com.google.bigtable.v2.RowFilter.Interleave.Builder,
-                com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>(
+        interleaveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Interleave) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6694,20 +6163,14 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Condition,
-            com.google.bigtable.v2.RowFilter.Condition.Builder,
-            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
-        conditionBuilder_;
+        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> conditionBuilder_;
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -6715,15 +6178,12 @@ public boolean hasCondition() { return filterCase_ == 3; } /** - * - * *
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ @java.lang.Override @@ -6741,8 +6201,6 @@ public com.google.bigtable.v2.RowFilter.Condition getCondition() { } } /** - * - * *
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6764,8 +6222,6 @@ public Builder setCondition(com.google.bigtable.v2.RowFilter.Condition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6785,8 +6241,6 @@ public Builder setCondition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6796,13 +6250,10 @@ public Builder setCondition(
      */
     public Builder mergeCondition(com.google.bigtable.v2.RowFilter.Condition value) {
       if (conditionBuilder_ == null) {
-        if (filterCase_ == 3
-            && filter_ != com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Condition.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Condition) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 3 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Condition.newBuilder((com.google.bigtable.v2.RowFilter.Condition) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6818,8 +6269,6 @@ public Builder mergeCondition(com.google.bigtable.v2.RowFilter.Condition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6844,8 +6293,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6857,8 +6304,6 @@ public com.google.bigtable.v2.RowFilter.Condition.Builder getConditionBuilder()
       return getConditionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6878,8 +6323,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6888,19 +6331,14 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
      * .google.bigtable.v2.RowFilter.Condition condition = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Condition,
-            com.google.bigtable.v2.RowFilter.Condition.Builder,
-            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
+        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> 
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
         if (!(filterCase_ == 3)) {
           filter_ = com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance();
         }
-        conditionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Condition,
-                com.google.bigtable.v2.RowFilter.Condition.Builder,
-                com.google.bigtable.v2.RowFilter.ConditionOrBuilder>(
+        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Condition) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6912,8 +6350,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
     }
 
     /**
-     *
-     *
      * 
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6977,15 +6413,12 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
      * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7049,7 +6482,6 @@ public boolean hasSink() {
      * 
* * bool sink = 16; - * * @return The sink. */ public boolean getSink() { @@ -7059,8 +6491,6 @@ public boolean getSink() { return false; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7124,7 +6554,6 @@ public boolean getSink() {
      * 
* * bool sink = 16; - * * @param value The sink to set. * @return This builder for chaining. */ @@ -7136,8 +6565,6 @@ public Builder setSink(boolean value) { return this; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7201,7 +6628,6 @@ public Builder setSink(boolean value) {
      * 
* * bool sink = 16; - * * @return This builder for chaining. */ public Builder clearSink() { @@ -7214,30 +6640,24 @@ public Builder clearSink() { } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ public boolean hasPassAllFilter() { return filterCase_ == 17; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ public boolean getPassAllFilter() { @@ -7247,15 +6667,12 @@ public boolean getPassAllFilter() { return false; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @param value The passAllFilter to set. * @return This builder for chaining. */ @@ -7267,15 +6684,12 @@ public Builder setPassAllFilter(boolean value) { return this; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return This builder for chaining. */ public Builder clearPassAllFilter() { @@ -7288,30 +6702,24 @@ public Builder clearPassAllFilter() { } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ public boolean hasBlockAllFilter() { return filterCase_ == 18; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ public boolean getBlockAllFilter() { @@ -7321,15 +6729,12 @@ public boolean getBlockAllFilter() { return false; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @param value The blockAllFilter to set. * @return This builder for chaining. */ @@ -7341,15 +6746,12 @@ public Builder setBlockAllFilter(boolean value) { return this; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return This builder for chaining. */ public Builder clearBlockAllFilter() { @@ -7362,8 +6764,6 @@ public Builder clearBlockAllFilter() { } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7375,15 +6775,12 @@ public Builder clearBlockAllFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ public boolean hasRowKeyRegexFilter() { return filterCase_ == 4; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7395,7 +6792,6 @@ public boolean hasRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ public com.google.protobuf.ByteString getRowKeyRegexFilter() { @@ -7405,8 +6801,6 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7418,22 +6812,17 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @param value The rowKeyRegexFilter to set. * @return This builder for chaining. */ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 4; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7445,7 +6834,6 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key_regex_filter = 4; - * * @return This builder for chaining. */ public Builder clearRowKeyRegexFilter() { @@ -7458,30 +6846,24 @@ public Builder clearRowKeyRegexFilter() { } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ public boolean hasRowSampleFilter() { return filterCase_ == 14; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ public double getRowSampleFilter() { @@ -7491,15 +6873,12 @@ public double getRowSampleFilter() { return 0D; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @param value The rowSampleFilter to set. * @return This builder for chaining. */ @@ -7511,15 +6890,12 @@ public Builder setRowSampleFilter(double value) { return this; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return This builder for chaining. */ public Builder clearRowSampleFilter() { @@ -7532,8 +6908,6 @@ public Builder clearRowSampleFilter() { } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7544,7 +6918,6 @@ public Builder clearRowSampleFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ @java.lang.Override @@ -7552,8 +6925,6 @@ public boolean hasFamilyNameRegexFilter() { return filterCase_ == 5; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7564,7 +6935,6 @@ public boolean hasFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ @java.lang.Override @@ -7574,7 +6944,8 @@ public java.lang.String getFamilyNameRegexFilter() { ref = filter_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 5) { filter_ = s; @@ -7585,8 +6956,6 @@ public java.lang.String getFamilyNameRegexFilter() { } } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7597,18 +6966,19 @@ public java.lang.String getFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { + public com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes() { java.lang.Object ref = ""; if (filterCase_ == 5) { ref = filter_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 5) { filter_ = b; } @@ -7618,8 +6988,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { } } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7630,22 +6998,18 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
      * 
* * string family_name_regex_filter = 5; - * * @param value The familyNameRegexFilter to set. * @return This builder for chaining. */ - public Builder setFamilyNameRegexFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameRegexFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filterCase_ = 5; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7656,7 +7020,6 @@ public Builder setFamilyNameRegexFilter(java.lang.String value) {
      * 
* * string family_name_regex_filter = 5; - * * @return This builder for chaining. */ public Builder clearFamilyNameRegexFilter() { @@ -7668,8 +7031,6 @@ public Builder clearFamilyNameRegexFilter() { return this; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7680,14 +7041,12 @@ public Builder clearFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @param value The bytes for familyNameRegexFilter to set. * @return This builder for chaining. */ - public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameRegexFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 5; filter_ = value; @@ -7696,8 +7055,6 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7708,15 +7065,12 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7727,7 +7081,6 @@ public boolean hasColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { @@ -7737,8 +7090,6 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7749,22 +7100,17 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @param value The columnQualifierRegexFilter to set. * @return This builder for chaining. */ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 6; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7775,7 +7121,6 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return This builder for chaining. */ public Builder clearColumnQualifierRegexFilter() { @@ -7788,19 +7133,13 @@ public Builder clearColumnQualifierRegexFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder> - columnRangeFilterBuilder_; + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder> columnRangeFilterBuilder_; /** - * - * *
      * Matches only cells from columns within the given range.
      * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ @java.lang.Override @@ -7808,14 +7147,11 @@ public boolean hasColumnRangeFilter() { return filterCase_ == 7; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ @java.lang.Override @@ -7833,8 +7169,6 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7855,8 +7189,6 @@ public Builder setColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7875,8 +7207,6 @@ public Builder setColumnRangeFilter( return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7885,13 +7215,10 @@ public Builder setColumnRangeFilter( */ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { if (columnRangeFilterBuilder_ == null) { - if (filterCase_ == 7 - && filter_ != com.google.bigtable.v2.ColumnRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.ColumnRange.newBuilder( - (com.google.bigtable.v2.ColumnRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 7 && + filter_ != com.google.bigtable.v2.ColumnRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.ColumnRange.newBuilder((com.google.bigtable.v2.ColumnRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -7907,8 +7234,6 @@ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7932,8 +7257,6 @@ public Builder clearColumnRangeFilter() { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7944,8 +7267,6 @@ public com.google.bigtable.v2.ColumnRange.Builder getColumnRangeFilterBuilder() return getColumnRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7964,8 +7285,6 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7973,20 +7292,17 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder * .google.bigtable.v2.ColumnRange column_range_filter = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder> + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder> getColumnRangeFilterFieldBuilder() { if (columnRangeFilterBuilder_ == null) { if (!(filterCase_ == 7)) { filter_ = com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } - columnRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder>( - (com.google.bigtable.v2.ColumnRange) filter_, getParentForChildren(), isClean()); + columnRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder>( + (com.google.bigtable.v2.ColumnRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 7; @@ -7995,19 +7311,13 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> - timestampRangeFilterBuilder_; + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timestampRangeFilterBuilder_; /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -8015,14 +7325,11 @@ public boolean hasTimestampRangeFilter() { return filterCase_ == 8; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ @java.lang.Override @@ -8040,8 +7347,6 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8062,8 +7367,6 @@ public Builder setTimestampRangeFilter(com.google.bigtable.v2.TimestampRange val return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8082,8 +7385,6 @@ public Builder setTimestampRangeFilter( return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8092,13 +7393,10 @@ public Builder setTimestampRangeFilter( */ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange value) { if (timestampRangeFilterBuilder_ == null) { - if (filterCase_ == 8 - && filter_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.TimestampRange.newBuilder( - (com.google.bigtable.v2.TimestampRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 8 && + filter_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.TimestampRange.newBuilder((com.google.bigtable.v2.TimestampRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -8114,8 +7412,6 @@ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange v return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8139,8 +7435,6 @@ public Builder clearTimestampRangeFilter() { return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8151,8 +7445,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimestampRangeFilterBuil return getTimestampRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8171,8 +7463,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8180,20 +7470,17 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> getTimestampRangeFilterFieldBuilder() { if (timestampRangeFilterBuilder_ == null) { if (!(filterCase_ == 8)) { filter_ = com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } - timestampRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder>( - (com.google.bigtable.v2.TimestampRange) filter_, getParentForChildren(), isClean()); + timestampRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder>( + (com.google.bigtable.v2.TimestampRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 8; @@ -8202,8 +7489,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8213,15 +7498,12 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
      * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ public boolean hasValueRegexFilter() { return filterCase_ == 9; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8231,7 +7513,6 @@ public boolean hasValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ public com.google.protobuf.ByteString getValueRegexFilter() { @@ -8241,8 +7522,6 @@ public com.google.protobuf.ByteString getValueRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8252,22 +7531,17 @@ public com.google.protobuf.ByteString getValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; - * * @param value The valueRegexFilter to set. * @return This builder for chaining. */ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 9; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8277,7 +7551,6 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes value_regex_filter = 9; - * * @return This builder for chaining. */ public Builder clearValueRegexFilter() { @@ -8290,19 +7563,13 @@ public Builder clearValueRegexFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder> - valueRangeFilterBuilder_; + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder> valueRangeFilterBuilder_; /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ @java.lang.Override @@ -8310,14 +7577,11 @@ public boolean hasValueRangeFilter() { return filterCase_ == 15; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ @java.lang.Override @@ -8335,8 +7599,6 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8357,15 +7619,14 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; */ - public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder builderForValue) { + public Builder setValueRangeFilter( + com.google.bigtable.v2.ValueRange.Builder builderForValue) { if (valueRangeFilterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); @@ -8376,8 +7637,6 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8386,13 +7645,10 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui */ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { if (valueRangeFilterBuilder_ == null) { - if (filterCase_ == 15 - && filter_ != com.google.bigtable.v2.ValueRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.ValueRange.newBuilder( - (com.google.bigtable.v2.ValueRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 15 && + filter_ != com.google.bigtable.v2.ValueRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.ValueRange.newBuilder((com.google.bigtable.v2.ValueRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -8408,8 +7664,6 @@ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8433,8 +7687,6 @@ public Builder clearValueRangeFilter() { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8445,8 +7697,6 @@ public com.google.bigtable.v2.ValueRange.Builder getValueRangeFilterBuilder() { return getValueRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8465,8 +7715,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8474,20 +7722,17 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() * .google.bigtable.v2.ValueRange value_range_filter = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder> + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder> getValueRangeFilterFieldBuilder() { if (valueRangeFilterBuilder_ == null) { if (!(filterCase_ == 15)) { filter_ = com.google.bigtable.v2.ValueRange.getDefaultInstance(); } - valueRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder>( - (com.google.bigtable.v2.ValueRange) filter_, getParentForChildren(), isClean()); + valueRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder>( + (com.google.bigtable.v2.ValueRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 15; @@ -8496,8 +7741,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8505,15 +7748,12 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ public boolean hasCellsPerRowOffsetFilter() { return filterCase_ == 10; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8521,7 +7761,6 @@ public boolean hasCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ public int getCellsPerRowOffsetFilter() { @@ -8531,8 +7770,6 @@ public int getCellsPerRowOffsetFilter() { return 0; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8540,7 +7777,6 @@ public int getCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @param value The cellsPerRowOffsetFilter to set. * @return This builder for chaining. */ @@ -8552,8 +7788,6 @@ public Builder setCellsPerRowOffsetFilter(int value) { return this; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8561,7 +7795,6 @@ public Builder setCellsPerRowOffsetFilter(int value) {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return This builder for chaining. */ public Builder clearCellsPerRowOffsetFilter() { @@ -8574,8 +7807,6 @@ public Builder clearCellsPerRowOffsetFilter() { } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8583,15 +7814,12 @@ public Builder clearCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ public boolean hasCellsPerRowLimitFilter() { return filterCase_ == 11; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8599,7 +7827,6 @@ public boolean hasCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ public int getCellsPerRowLimitFilter() { @@ -8609,8 +7836,6 @@ public int getCellsPerRowLimitFilter() { return 0; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8618,7 +7843,6 @@ public int getCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @param value The cellsPerRowLimitFilter to set. * @return This builder for chaining. */ @@ -8630,8 +7854,6 @@ public Builder setCellsPerRowLimitFilter(int value) { return this; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8639,7 +7861,6 @@ public Builder setCellsPerRowLimitFilter(int value) {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return This builder for chaining. */ public Builder clearCellsPerRowLimitFilter() { @@ -8652,8 +7873,6 @@ public Builder clearCellsPerRowLimitFilter() { } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8664,15 +7883,12 @@ public Builder clearCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ public boolean hasCellsPerColumnLimitFilter() { return filterCase_ == 12; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8683,7 +7899,6 @@ public boolean hasCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ public int getCellsPerColumnLimitFilter() { @@ -8693,8 +7908,6 @@ public int getCellsPerColumnLimitFilter() { return 0; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8705,7 +7918,6 @@ public int getCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @param value The cellsPerColumnLimitFilter to set. * @return This builder for chaining. */ @@ -8717,8 +7929,6 @@ public Builder setCellsPerColumnLimitFilter(int value) { return this; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8729,7 +7939,6 @@ public Builder setCellsPerColumnLimitFilter(int value) {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return This builder for chaining. */ public Builder clearCellsPerColumnLimitFilter() { @@ -8742,28 +7951,22 @@ public Builder clearCellsPerColumnLimitFilter() { } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ public boolean hasStripValueTransformer() { return filterCase_ == 13; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ public boolean getStripValueTransformer() { @@ -8773,14 +7976,11 @@ public boolean getStripValueTransformer() { return false; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @param value The stripValueTransformer to set. * @return This builder for chaining. */ @@ -8792,14 +7992,11 @@ public Builder setStripValueTransformer(boolean value) { return this; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return This builder for chaining. */ public Builder clearStripValueTransformer() { @@ -8812,8 +8009,6 @@ public Builder clearStripValueTransformer() { } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8831,7 +8026,6 @@ public Builder clearStripValueTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ @java.lang.Override @@ -8839,8 +8033,6 @@ public boolean hasApplyLabelTransformer() { return filterCase_ == 19; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8858,7 +8050,6 @@ public boolean hasApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ @java.lang.Override @@ -8868,7 +8059,8 @@ public java.lang.String getApplyLabelTransformer() { ref = filter_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 19) { filter_ = s; @@ -8879,8 +8071,6 @@ public java.lang.String getApplyLabelTransformer() { } } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8898,18 +8088,19 @@ public java.lang.String getApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ @java.lang.Override - public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { + public com.google.protobuf.ByteString + getApplyLabelTransformerBytes() { java.lang.Object ref = ""; if (filterCase_ == 19) { ref = filter_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 19) { filter_ = b; } @@ -8919,8 +8110,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8938,22 +8127,18 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() {
      * 
* * string apply_label_transformer = 19; - * * @param value The applyLabelTransformer to set. * @return This builder for chaining. */ - public Builder setApplyLabelTransformer(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplyLabelTransformer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filterCase_ = 19; filter_ = value; onChanged(); return this; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8971,7 +8156,6 @@ public Builder setApplyLabelTransformer(java.lang.String value) {
      * 
* * string apply_label_transformer = 19; - * * @return This builder for chaining. */ public Builder clearApplyLabelTransformer() { @@ -8983,8 +8167,6 @@ public Builder clearApplyLabelTransformer() { return this; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -9002,23 +8184,21 @@ public Builder clearApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @param value The bytes for applyLabelTransformer to set. * @return This builder for chaining. */ - public Builder setApplyLabelTransformerBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplyLabelTransformerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 19; filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9028,12 +8208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter) private static final com.google.bigtable.v2.RowFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter(); } @@ -9042,27 +8222,27 @@ public static com.google.bigtable.v2.RowFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9077,4 +8257,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java similarity index 94% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java index a6fffae624..696a699e3d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface RowFilterOrBuilder - extends +public interface RowFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ boolean hasChain(); /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ com.google.bigtable.v2.RowFilter.Chain getChain(); /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
@@ -62,34 +38,26 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder();
 
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ boolean hasInterleave(); /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ com.google.bigtable.v2.RowFilter.Interleave getInterleave(); /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
@@ -100,34 +68,26 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuilder();
 
   /**
-   *
-   *
    * 
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ com.google.bigtable.v2.RowFilter.Condition getCondition(); /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
@@ -138,8 +98,6 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder();
 
   /**
-   *
-   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -203,13 +161,10 @@ public interface RowFilterOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ boolean hasSink(); /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -273,68 +228,53 @@ public interface RowFilterOrBuilder
    * 
* * bool sink = 16; - * * @return The sink. */ boolean getSink(); /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ boolean hasPassAllFilter(); /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ boolean getPassAllFilter(); /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ boolean hasBlockAllFilter(); /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ boolean getBlockAllFilter(); /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -346,13 +286,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ boolean hasRowKeyRegexFilter(); /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -364,41 +301,32 @@ public interface RowFilterOrBuilder
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ com.google.protobuf.ByteString getRowKeyRegexFilter(); /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ boolean hasRowSampleFilter(); /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ double getRowSampleFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -409,13 +337,10 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ boolean hasFamilyNameRegexFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -426,13 +351,10 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ java.lang.String getFamilyNameRegexFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -443,14 +365,12 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ - com.google.protobuf.ByteString getFamilyNameRegexFilterBytes(); + com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes(); /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -461,13 +381,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ boolean hasColumnQualifierRegexFilter(); /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -478,38 +395,29 @@ public interface RowFilterOrBuilder
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ com.google.protobuf.ByteString getColumnQualifierRegexFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ boolean hasColumnRangeFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ com.google.bigtable.v2.ColumnRange getColumnRangeFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
@@ -519,32 +427,24 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ boolean hasTimestampRangeFilter(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ com.google.bigtable.v2.TimestampRange getTimestampRangeFilter(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
@@ -554,8 +454,6 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrBuilder(); /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -565,13 +463,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ boolean hasValueRegexFilter(); /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -581,38 +476,29 @@ public interface RowFilterOrBuilder
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ com.google.protobuf.ByteString getValueRegexFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ boolean hasValueRangeFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ com.google.bigtable.v2.ValueRange getValueRangeFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
@@ -622,8 +508,6 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder(); /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -631,13 +515,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ boolean hasCellsPerRowOffsetFilter(); /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -645,14 +526,11 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ int getCellsPerRowOffsetFilter(); /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -660,13 +538,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ boolean hasCellsPerRowLimitFilter(); /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -674,14 +549,11 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ int getCellsPerRowLimitFilter(); /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -692,13 +564,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ boolean hasCellsPerColumnLimitFilter(); /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -709,39 +578,30 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ int getCellsPerColumnLimitFilter(); /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ boolean hasStripValueTransformer(); /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ boolean getStripValueTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -759,13 +619,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ boolean hasApplyLabelTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -783,13 +640,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ java.lang.String getApplyLabelTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -807,10 +661,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - com.google.protobuf.ByteString getApplyLabelTransformerBytes(); + com.google.protobuf.ByteString + getApplyLabelTransformerBytes(); com.google.bigtable.v2.RowFilter.FilterCase getFilterCase(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java index 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 c61270ae13..3aefa3f4c6 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
@@ -1,77 +1,57 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specifies a contiguous range of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ -public final class RowRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowRange) RowRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowRange.newBuilder() to construct. private RowRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RowRange() {} + private RowRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } private int startKeyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object startKey_; - public enum StartKeyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_KEY_CLOSED(1), START_KEY_OPEN(2), STARTKEY_NOT_SET(0); private final int value; - private StartKeyCase(int value) { this.value = value; } @@ -87,40 +67,33 @@ public static StartKeyCase valueOf(int value) { public static StartKeyCase forNumber(int value) { switch (value) { - case 1: - return START_KEY_CLOSED; - case 2: - return START_KEY_OPEN; - case 0: - return STARTKEY_NOT_SET; - default: - return null; + case 1: return START_KEY_CLOSED; + case 2: return START_KEY_OPEN; + case 0: return STARTKEY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StartKeyCase getStartKeyCase() { - return StartKeyCase.forNumber(startKeyCase_); + public StartKeyCase + getStartKeyCase() { + return StartKeyCase.forNumber( + startKeyCase_); } private int endKeyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object endKey_; - public enum EndKeyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_KEY_OPEN(3), END_KEY_CLOSED(4), ENDKEY_NOT_SET(0); private final int value; - private EndKeyCase(int value) { this.value = value; } @@ -136,36 +109,30 @@ public static EndKeyCase valueOf(int value) { public static EndKeyCase forNumber(int value) { switch (value) { - case 3: - return END_KEY_OPEN; - case 4: - return END_KEY_CLOSED; - case 0: - return ENDKEY_NOT_SET; - default: - return null; + case 3: return END_KEY_OPEN; + case 4: return END_KEY_CLOSED; + case 0: return ENDKEY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EndKeyCase getEndKeyCase() { - return EndKeyCase.forNumber(endKeyCase_); + public EndKeyCase + getEndKeyCase() { + return EndKeyCase.forNumber( + endKeyCase_); } public static final int START_KEY_CLOSED_FIELD_NUMBER = 1; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ @java.lang.Override @@ -173,14 +140,11 @@ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ @java.lang.Override @@ -193,14 +157,11 @@ public com.google.protobuf.ByteString getStartKeyClosed() { public static final int START_KEY_OPEN_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ @java.lang.Override @@ -208,14 +169,11 @@ public boolean hasStartKeyOpen() { return startKeyCase_ == 2; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ @java.lang.Override @@ -228,14 +186,11 @@ public com.google.protobuf.ByteString getStartKeyOpen() { public static final int END_KEY_OPEN_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ @java.lang.Override @@ -243,14 +198,11 @@ public boolean hasEndKeyOpen() { return endKeyCase_ == 3; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ @java.lang.Override @@ -263,14 +215,11 @@ public com.google.protobuf.ByteString getEndKeyOpen() { public static final int END_KEY_CLOSED_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ @java.lang.Override @@ -278,14 +227,11 @@ public boolean hasEndKeyClosed() { return endKeyCase_ == 4; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ @java.lang.Override @@ -297,7 +243,6 @@ public com.google.protobuf.ByteString getEndKeyClosed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,18 +254,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startKeyCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) startKey_); + output.writeBytes( + 1, (com.google.protobuf.ByteString) startKey_); } if (startKeyCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startKey_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startKey_); } if (endKeyCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) endKey_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) endKey_); } if (endKeyCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endKey_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endKey_); } getUnknownFields().writeTo(output); } @@ -332,24 +282,24 @@ public int getSerializedSize() { size = 0; if (startKeyCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) startKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 1, (com.google.protobuf.ByteString) startKey_); } if (startKeyCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startKey_); } if (endKeyCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) endKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) endKey_); } if (endKeyCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endKey_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -359,7 +309,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowRange)) { return super.equals(obj); @@ -369,10 +319,12 @@ public boolean equals(final java.lang.Object obj) { if (!getStartKeyCase().equals(other.getStartKeyCase())) return false; switch (startKeyCase_) { case 1: - if (!getStartKeyClosed().equals(other.getStartKeyClosed())) return false; + if (!getStartKeyClosed() + .equals(other.getStartKeyClosed())) return false; break; case 2: - if (!getStartKeyOpen().equals(other.getStartKeyOpen())) return false; + if (!getStartKeyOpen() + .equals(other.getStartKeyOpen())) return false; break; case 0: default: @@ -380,10 +332,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndKeyCase().equals(other.getEndKeyCase())) return false; switch (endKeyCase_) { case 3: - if (!getEndKeyOpen().equals(other.getEndKeyOpen())) return false; + if (!getEndKeyOpen() + .equals(other.getEndKeyOpen())) return false; break; case 4: - if (!getEndKeyClosed().equals(other.getEndKeyClosed())) return false; + if (!getEndKeyClosed() + .equals(other.getEndKeyClosed())) return false; break; case 0: default: @@ -428,134 +382,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of rows.
    * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowRange) com.google.bigtable.v2.RowRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } // Construct using com.google.bigtable.v2.RowRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -568,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override @@ -590,9 +542,7 @@ public com.google.bigtable.v2.RowRange build() { @java.lang.Override public com.google.bigtable.v2.RowRange buildPartial() { com.google.bigtable.v2.RowRange result = new com.google.bigtable.v2.RowRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -613,39 +563,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowRange) { - return mergeFrom((com.google.bigtable.v2.RowRange) other); + return mergeFrom((com.google.bigtable.v2.RowRange)other); } else { super.mergeFrom(other); return this; @@ -655,36 +604,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.RowRange other) { if (other == com.google.bigtable.v2.RowRange.getDefaultInstance()) return this; switch (other.getStartKeyCase()) { - case START_KEY_CLOSED: - { - setStartKeyClosed(other.getStartKeyClosed()); - break; - } - case START_KEY_OPEN: - { - setStartKeyOpen(other.getStartKeyOpen()); - break; - } - case STARTKEY_NOT_SET: - { - break; - } + case START_KEY_CLOSED: { + setStartKeyClosed(other.getStartKeyClosed()); + break; + } + case START_KEY_OPEN: { + setStartKeyOpen(other.getStartKeyOpen()); + break; + } + case STARTKEY_NOT_SET: { + break; + } } switch (other.getEndKeyCase()) { - case END_KEY_OPEN: - { - setEndKeyOpen(other.getEndKeyOpen()); - break; - } - case END_KEY_CLOSED: - { - setEndKeyClosed(other.getEndKeyClosed()); - break; - } - case ENDKEY_NOT_SET: - { - break; - } + case END_KEY_OPEN: { + setEndKeyOpen(other.getEndKeyOpen()); + break; + } + case END_KEY_CLOSED: { + setEndKeyClosed(other.getEndKeyClosed()); + break; + } + case ENDKEY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -712,37 +655,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startKey_ = input.readBytes(); - startKeyCase_ = 1; - break; - } // case 10 - case 18: - { - startKey_ = input.readBytes(); - startKeyCase_ = 2; - break; - } // case 18 - case 26: - { - endKey_ = input.readBytes(); - endKeyCase_ = 3; - break; - } // case 26 - case 34: - { - endKey_ = input.readBytes(); - endKeyCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startKey_ = input.readBytes(); + startKeyCase_ = 1; + break; + } // case 10 + case 18: { + startKey_ = input.readBytes(); + startKeyCase_ = 2; + break; + } // case 18 + case 26: { + endKey_ = input.readBytes(); + endKeyCase_ = 3; + break; + } // case 26 + case 34: { + endKey_ = input.readBytes(); + endKeyCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -752,12 +690,12 @@ public Builder mergeFrom( } // finally return this; } - private int startKeyCase_ = 0; private java.lang.Object startKey_; - - public StartKeyCase getStartKeyCase() { - return StartKeyCase.forNumber(startKeyCase_); + public StartKeyCase + getStartKeyCase() { + return StartKeyCase.forNumber( + startKeyCase_); } public Builder clearStartKey() { @@ -769,9 +707,10 @@ public Builder clearStartKey() { private int endKeyCase_ = 0; private java.lang.Object endKey_; - - public EndKeyCase getEndKeyCase() { - return EndKeyCase.forNumber(endKeyCase_); + public EndKeyCase + getEndKeyCase() { + return EndKeyCase.forNumber( + endKeyCase_); } public Builder clearEndKey() { @@ -784,28 +723,22 @@ public Builder clearEndKey() { private int bitField0_; /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ public com.google.protobuf.ByteString getStartKeyClosed() { @@ -815,35 +748,27 @@ public com.google.protobuf.ByteString getStartKeyClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @param value The startKeyClosed to set. * @return This builder for chaining. */ public Builder setStartKeyClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startKeyCase_ = 1; startKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return This builder for chaining. */ public Builder clearStartKeyClosed() { @@ -856,28 +781,22 @@ public Builder clearStartKeyClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ public boolean hasStartKeyOpen() { return startKeyCase_ == 2; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ public com.google.protobuf.ByteString getStartKeyOpen() { @@ -887,35 +806,27 @@ public com.google.protobuf.ByteString getStartKeyOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @param value The startKeyOpen to set. * @return This builder for chaining. */ public Builder setStartKeyOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startKeyCase_ = 2; startKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return This builder for chaining. */ public Builder clearStartKeyOpen() { @@ -928,28 +839,22 @@ public Builder clearStartKeyOpen() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ public boolean hasEndKeyOpen() { return endKeyCase_ == 3; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ public com.google.protobuf.ByteString getEndKeyOpen() { @@ -959,35 +864,27 @@ public com.google.protobuf.ByteString getEndKeyOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @param value The endKeyOpen to set. * @return This builder for chaining. */ public Builder setEndKeyOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endKeyCase_ = 3; endKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return This builder for chaining. */ public Builder clearEndKeyOpen() { @@ -1000,28 +897,22 @@ public Builder clearEndKeyOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ public boolean hasEndKeyClosed() { return endKeyCase_ == 4; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ public com.google.protobuf.ByteString getEndKeyClosed() { @@ -1031,35 +922,27 @@ public com.google.protobuf.ByteString getEndKeyClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @param value The endKeyClosed to set. * @return This builder for chaining. */ public Builder setEndKeyClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endKeyCase_ = 4; endKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return This builder for chaining. */ public Builder clearEndKeyClosed() { @@ -1070,9 +953,9 @@ public Builder clearEndKeyClosed() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1082,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowRange) private static final com.google.bigtable.v2.RowRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowRange(); } @@ -1096,27 +979,27 @@ public static com.google.bigtable.v2.RowRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,4 +1014,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java index 01f5a4e956..04cba2c1eb 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java @@ -1,124 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface RowRangeOrBuilder - extends +public interface RowRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ boolean hasStartKeyClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ com.google.protobuf.ByteString getStartKeyClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ boolean hasStartKeyOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ com.google.protobuf.ByteString getStartKeyOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ boolean hasEndKeyOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ com.google.protobuf.ByteString getEndKeyOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ boolean hasEndKeyClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ com.google.protobuf.ByteString getEndKeyClosed(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java index 7e2c50f8a7..b71ad542ae 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies a non-contiguous set of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowSet} */ -public final class RowSet extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowSet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowSet) RowSetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowSet.newBuilder() to construct. private RowSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RowSet() { rowKeys_ = java.util.Collections.emptyList(); rowRanges_ = java.util.Collections.emptyList(); @@ -44,65 +26,57 @@ private RowSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowSet(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } public static final int ROW_KEYS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rowKeys_; /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ @java.lang.Override - public java.util.List getRowKeysList() { + public java.util.List + getRowKeysList() { return rowKeys_; } /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -111,12 +85,9 @@ public com.google.protobuf.ByteString getRowKeys(int index) { } public static final int ROW_RANGES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List rowRanges_; /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -128,8 +99,6 @@ public java.util.List getRowRangesList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -137,13 +106,11 @@ public java.util.List getRowRangesList() { * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRowRangesOrBuilderList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -155,8 +122,6 @@ public int getRowRangesCount() { return rowRanges_.size(); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -168,8 +133,6 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { return rowRanges_.get(index); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -177,12 +140,12 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ @java.lang.Override - public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) { + public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index) { return rowRanges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rowKeys_.size(); i++) { output.writeBytes(1, rowKeys_.get(i)); } @@ -213,13 +177,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < rowKeys_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(rowKeys_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(rowKeys_.get(i)); } size += dataSize; size += 1 * getRowKeysList().size(); } for (int i = 0; i < rowRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rowRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, rowRanges_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,15 +195,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowSet)) { return super.equals(obj); } com.google.bigtable.v2.RowSet other = (com.google.bigtable.v2.RowSet) obj; - if (!getRowKeysList().equals(other.getRowKeysList())) return false; - if (!getRowRangesList().equals(other.getRowRangesList())) return false; + if (!getRowKeysList() + .equals(other.getRowKeysList())) return false; + if (!getRowRangesList() + .equals(other.getRowRangesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,133 +230,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowSet parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowSet parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowSet parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.RowSet parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.RowSet parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a non-contiguous set of rows.
    * 
* * Protobuf type {@code google.bigtable.v2.RowSet} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowSet) com.google.bigtable.v2.RowSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } // Construct using com.google.bigtable.v2.RowSet.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -405,7 +372,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @@ -427,9 +395,7 @@ public com.google.bigtable.v2.RowSet build() { public com.google.bigtable.v2.RowSet buildPartial() { com.google.bigtable.v2.RowSet result = new com.google.bigtable.v2.RowSet(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -459,39 +425,38 @@ private void buildPartial0(com.google.bigtable.v2.RowSet result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowSet) { - return mergeFrom((com.google.bigtable.v2.RowSet) other); + return mergeFrom((com.google.bigtable.v2.RowSet)other); } else { super.mergeFrom(other); return this; @@ -528,10 +493,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowSet other) { rowRangesBuilder_ = null; rowRanges_ = other.rowRanges_; bitField0_ = (bitField0_ & ~0x00000002); - rowRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowRangesFieldBuilder() - : null; + rowRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowRangesFieldBuilder() : null; } else { rowRangesBuilder_.addAllMessages(other.rowRanges_); } @@ -563,32 +527,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.ByteString v = input.readBytes(); - ensureRowKeysIsMutable(); - rowKeys_.add(v); - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.RowRange m = - input.readMessage(com.google.bigtable.v2.RowRange.parser(), extensionRegistry); - if (rowRangesBuilder_ == null) { - ensureRowRangesIsMutable(); - rowRanges_.add(m); - } else { - rowRangesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureRowKeysIsMutable(); + rowKeys_.add(v); + break; + } // case 10 + case 18: { + com.google.bigtable.v2.RowRange m = + input.readMessage( + com.google.bigtable.v2.RowRange.parser(), + extensionRegistry); + if (rowRangesBuilder_ == null) { + ensureRowRangesIsMutable(); + rowRanges_.add(m); + } else { + rowRangesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,12 +561,9 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List rowKeys_ = - java.util.Collections.emptyList(); - + private java.util.List rowKeys_ = java.util.Collections.emptyList(); private void ensureRowKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rowKeys_ = new java.util.ArrayList(rowKeys_); @@ -611,44 +571,35 @@ private void ensureRowKeysIsMutable() { } } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ - public java.util.List getRowKeysList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(rowKeys_) - : rowKeys_; + public java.util.List + getRowKeysList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(rowKeys_) : rowKeys_; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -656,76 +607,62 @@ public com.google.protobuf.ByteString getRowKeys(int index) { return rowKeys_.get(index); } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param index The index to set the value at. * @param value The rowKeys to set. * @return This builder for chaining. */ - public Builder setRowKeys(int index, com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowKeys( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } ensureRowKeysIsMutable(); rowKeys_.set(index, value); onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param value The rowKeys to add. * @return This builder for chaining. */ public Builder addRowKeys(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } ensureRowKeysIsMutable(); rowKeys_.add(value); onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param values The rowKeys to add. * @return This builder for chaining. */ public Builder addAllRowKeys( java.lang.Iterable values) { ensureRowKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowKeys_); onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return This builder for chaining. */ public Builder clearRowKeys() { @@ -736,24 +673,18 @@ public Builder clearRowKeys() { } private java.util.List rowRanges_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRowRangesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rowRanges_ = new java.util.ArrayList(rowRanges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder> - rowRangesBuilder_; + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangesBuilder_; /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -768,8 +699,6 @@ public java.util.List getRowRangesList() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -784,8 +713,6 @@ public int getRowRangesCount() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -800,15 +727,14 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { + public Builder setRowRanges( + int index, com.google.bigtable.v2.RowRange value) { if (rowRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,8 +748,6 @@ public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -842,8 +766,6 @@ public Builder setRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -864,15 +786,14 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder addRowRanges(int index, com.google.bigtable.v2.RowRange value) { + public Builder addRowRanges( + int index, com.google.bigtable.v2.RowRange value) { if (rowRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -886,15 +807,14 @@ public Builder addRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForValue) { + public Builder addRowRanges( + com.google.bigtable.v2.RowRange.Builder builderForValue) { if (rowRangesBuilder_ == null) { ensureRowRangesIsMutable(); rowRanges_.add(builderForValue.build()); @@ -905,8 +825,6 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForVa return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -925,8 +843,6 @@ public Builder addRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -937,7 +853,8 @@ public Builder addAllRowRanges( java.lang.Iterable values) { if (rowRangesBuilder_ == null) { ensureRowRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowRanges_); onChanged(); } else { rowRangesBuilder_.addAllMessages(values); @@ -945,8 +862,6 @@ public Builder addAllRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -964,8 +879,6 @@ public Builder clearRowRanges() { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -983,44 +896,39 @@ public Builder removeRowRanges(int index) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRange.Builder getRowRangesBuilder(int index) { + public com.google.bigtable.v2.RowRange.Builder getRowRangesBuilder( + int index) { return getRowRangesFieldBuilder().getBuilder(index); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) { + public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index) { if (rowRangesBuilder_ == null) { - return rowRanges_.get(index); - } else { + return rowRanges_.get(index); } else { return rowRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public java.util.List - getRowRangesOrBuilderList() { + public java.util.List + getRowRangesOrBuilderList() { if (rowRangesBuilder_ != null) { return rowRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1028,8 +936,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -1037,54 +943,49 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder() { - return getRowRangesFieldBuilder() - .addBuilder(com.google.bigtable.v2.RowRange.getDefaultInstance()); + return getRowRangesFieldBuilder().addBuilder( + com.google.bigtable.v2.RowRange.getDefaultInstance()); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder(int index) { - return getRowRangesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.RowRange.getDefaultInstance()); + public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder( + int index) { + return getRowRangesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.RowRange.getDefaultInstance()); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public java.util.List getRowRangesBuilderList() { + public java.util.List + getRowRangesBuilderList() { return getRowRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder> + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> getRowRangesFieldBuilder() { if (rowRangesBuilder_ == null) { - rowRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder>( - rowRanges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rowRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>( + rowRanges_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); rowRanges_ = null; } return rowRangesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowSet) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowSet) private static final com.google.bigtable.v2.RowSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowSet(); } @@ -1108,27 +1009,27 @@ public static com.google.bigtable.v2.RowSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,4 +1044,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java index 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 4d5d9a3c92..66ad21cecf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysRequest} */ -public final class SampleRowKeysRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SampleRowKeysRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysRequest) SampleRowKeysRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SampleRowKeysRequest.newBuilder() to construct. private SampleRowKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SampleRowKeysRequest() { tableName_ = ""; appProfileId_ = ""; @@ -44,42 +26,35 @@ private SampleRowKeysRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, - com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -123,19 +96,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -144,30 +113,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.SampleRowKeysRequest)) { return super.equals(obj); } - com.google.bigtable.v2.SampleRowKeysRequest other = - (com.google.bigtable.v2.SampleRowKeysRequest) obj; + com.google.bigtable.v2.SampleRowKeysRequest other = (com.google.bigtable.v2.SampleRowKeysRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.SampleRowKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.SampleRowKeys.
    * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.SampleRowKeysRequest) com.google.bigtable.v2.SampleRowKeysRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, - com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } // Construct using com.google.bigtable.v2.SampleRowKeysRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.bigtable.v2.SampleRowKeysRequest build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysRequest buildPartial() { - com.google.bigtable.v2.SampleRowKeysRequest result = - new com.google.bigtable.v2.SampleRowKeysRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.SampleRowKeysRequest result = new com.google.bigtable.v2.SampleRowKeysRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysRequest) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest)other); } else { super.mergeFrom(other); return this; @@ -509,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,29 +496,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -568,25 +522,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -594,43 +545,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -640,25 +580,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -668,21 +602,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -691,22 +623,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -714,37 +645,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -754,31 +678,27 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.SampleRowKeysRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.SampleRowKeysRequest) private static final com.google.bigtable.v2.SampleRowKeysRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.SampleRowKeysRequest(); } @@ -802,27 +722,27 @@ public static com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleRowKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SampleRowKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java index 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 d20679570c..be83159b89 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java @@ -1,72 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ -public final class SampleRowKeysResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SampleRowKeysResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysResponse) SampleRowKeysResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SampleRowKeysResponse.newBuilder() to construct. private SampleRowKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SampleRowKeysResponse() { rowKey_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, - com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Sorted streamed sequence of sample row keys in the table. The table might
    * have contents before the first row key in the list and after the last one,
@@ -78,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -89,8 +67,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int OFFSET_BYTES_FIELD_NUMBER = 2; private long offsetBytes_ = 0L; /** - * - * *
    * Approximate total storage space used by all rows in the table which precede
    * `row_key`. Buffering the contents of all rows between two subsequent
@@ -99,7 +75,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -108,7 +83,6 @@ public long getOffsetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -137,10 +112,12 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } if (offsetBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offsetBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, offsetBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,16 +127,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.SampleRowKeysResponse)) { return super.equals(obj); } - com.google.bigtable.v2.SampleRowKeysResponse other = - (com.google.bigtable.v2.SampleRowKeysResponse) obj; + com.google.bigtable.v2.SampleRowKeysResponse other = (com.google.bigtable.v2.SampleRowKeysResponse) obj; - if (!getRowKey().equals(other.getRowKey())) return false; - if (getOffsetBytes() != other.getOffsetBytes()) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (getOffsetBytes() + != other.getOffsetBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -174,142 +152,139 @@ public int hashCode() { hash = (37 * hash) + ROW_KEY_FIELD_NUMBER; hash = (53 * hash) + getRowKey().hashCode(); hash = (37 * hash) + OFFSET_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffsetBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffsetBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.SampleRowKeysResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.SampleRowKeys.
    * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.SampleRowKeysResponse) com.google.bigtable.v2.SampleRowKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, - com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } // Construct using com.google.bigtable.v2.SampleRowKeysResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override @@ -341,11 +316,8 @@ public com.google.bigtable.v2.SampleRowKeysResponse build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysResponse buildPartial() { - com.google.bigtable.v2.SampleRowKeysResponse result = - new com.google.bigtable.v2.SampleRowKeysResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.SampleRowKeysResponse result = new com.google.bigtable.v2.SampleRowKeysResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +336,38 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysResponse) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse)other); } else { super.mergeFrom(other); return this; @@ -437,25 +408,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - offsetBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + offsetBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,13 +433,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -483,7 +448,6 @@ public Builder mergeFrom(
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -491,8 +455,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -504,22 +466,17 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * bytes row_key = 1; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -531,7 +488,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -541,10 +497,8 @@ public Builder clearRowKey() { return this; } - private long offsetBytes_; + private long offsetBytes_ ; /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -553,7 +507,6 @@ public Builder clearRowKey() {
      * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -561,8 +514,6 @@ public long getOffsetBytes() { return offsetBytes_; } /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -571,7 +522,6 @@ public long getOffsetBytes() {
      * 
* * int64 offset_bytes = 2; - * * @param value The offsetBytes to set. * @return This builder for chaining. */ @@ -583,8 +533,6 @@ public Builder setOffsetBytes(long value) { return this; } /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -593,7 +541,6 @@ public Builder setOffsetBytes(long value) {
      * 
* * int64 offset_bytes = 2; - * * @return This builder for chaining. */ public Builder clearOffsetBytes() { @@ -602,9 +549,9 @@ public Builder clearOffsetBytes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.SampleRowKeysResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.SampleRowKeysResponse) private static final com.google.bigtable.v2.SampleRowKeysResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.SampleRowKeysResponse(); } @@ -628,27 +575,27 @@ public static com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleRowKeysResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SampleRowKeysResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,4 +610,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java index 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/StreamContinuationToken.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java similarity index 67% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java index 0dec3bd601..6d74a706df 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from a
@@ -29,52 +12,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
  */
-public final class StreamContinuationToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamContinuationToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationToken)
     StreamContinuationTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamContinuationToken.newBuilder() to construct.
   private StreamContinuationToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamContinuationToken() {
     token_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamContinuationToken();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationToken.class,
-            com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+            com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
   }
 
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
-   *
-   *
    * 
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * The partition that this token applies to.
    * 
@@ -109,24 +80,18 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } public static final int TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The token. */ @java.lang.Override @@ -135,29 +100,29 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -166,7 +131,6 @@ public com.google.protobuf.ByteString getTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +142,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partition_ != null) { output.writeMessage(1, getPartition()); } @@ -195,7 +160,8 @@ public int getSerializedSize() { size = 0; if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); @@ -208,19 +174,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationToken)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationToken other = - (com.google.bigtable.v2.StreamContinuationToken) obj; + com.google.bigtable.v2.StreamContinuationToken other = (com.google.bigtable.v2.StreamContinuationToken) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } - if (!getToken().equals(other.getToken())) return false; + if (!getToken() + .equals(other.getToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,104 +210,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from a
@@ -349,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationToken)
       com.google.bigtable.v2.StreamContinuationTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationToken.class,
-              com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+              com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationToken.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
@@ -410,11 +373,8 @@ public com.google.bigtable.v2.StreamContinuationToken build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
-      com.google.bigtable.v2.StreamContinuationToken result =
-          new com.google.bigtable.v2.StreamContinuationToken(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.StreamContinuationToken result = new com.google.bigtable.v2.StreamContinuationToken(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -422,7 +382,9 @@ public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.token_ = token_;
@@ -433,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationToken) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken) other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,25 +469,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                token_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              token_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -536,52 +496,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamPartition,
-            com.google.bigtable.v2.StreamPartition.Builder,
-            com.google.bigtable.v2.StreamPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -602,15 +548,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -621,8 +566,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -631,9 +574,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -646,8 +589,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -665,8 +606,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -679,8 +618,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -691,14 +628,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -706,17 +640,14 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; @@ -724,20 +655,18 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { private java.lang.Object token_ = ""; /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -746,21 +675,20 @@ public java.lang.String getToken() { } } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -768,35 +696,28 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -806,30 +727,26 @@ public Builder clearToken() { return this; } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationToken) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationToken) private static final com.google.bigtable.v2.StreamContinuationToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationToken(); } @@ -853,27 +770,27 @@ public static com.google.bigtable.v2.StreamContinuationToken getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,4 +805,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java index a6b34089ed..06b58ad23f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface StreamContinuationTokenOrBuilder - extends +public interface StreamContinuationTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * The partition that this token applies to.
    * 
@@ -59,27 +35,22 @@ public interface StreamContinuationTokenOrBuilder com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java index 3510dd3e69..e69be94cd1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from multiple
@@ -29,48 +12,43 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
  */
-public final class StreamContinuationTokens extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamContinuationTokens extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationTokens)
     StreamContinuationTokensOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamContinuationTokens.newBuilder() to construct.
   private StreamContinuationTokens(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamContinuationTokens() {
     tokens_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamContinuationTokens();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationTokens.class,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+            com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
   }
 
   public static final int TOKENS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tokens_;
   /**
-   *
-   *
    * 
    * List of continuation tokens.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTokensL return tokens_; } /** - * - * *
    * List of continuation tokens.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTokensL * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTokensOrBuilderList() { return tokens_; } /** - * - * *
    * List of continuation tokens.
    * 
@@ -109,8 +83,6 @@ public int getTokensCount() { return tokens_.size(); } /** - * - * *
    * List of continuation tokens.
    * 
@@ -122,8 +94,6 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { return tokens_.get(index); } /** - * - * *
    * List of continuation tokens.
    * 
@@ -131,12 +101,12 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index) { return tokens_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tokens_.size(); i++) { output.writeMessage(1, tokens_.get(i)); } @@ -162,7 +133,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tokens_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tokens_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tokens_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,15 +144,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationTokens)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationTokens other = - (com.google.bigtable.v2.StreamContinuationTokens) obj; + com.google.bigtable.v2.StreamContinuationTokens other = (com.google.bigtable.v2.StreamContinuationTokens) obj; - if (!getTokensList().equals(other.getTokensList())) return false; + if (!getTokensList() + .equals(other.getTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -201,104 +173,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationTokens prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from multiple
@@ -307,32 +274,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationTokens)
       com.google.bigtable.v2.StreamContinuationTokensOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationTokens.class,
-              com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+              com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationTokens.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -348,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
@@ -369,18 +337,14 @@ public com.google.bigtable.v2.StreamContinuationTokens build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokens buildPartial() {
-      com.google.bigtable.v2.StreamContinuationTokens result =
-          new com.google.bigtable.v2.StreamContinuationTokens(this);
+      com.google.bigtable.v2.StreamContinuationTokens result = new com.google.bigtable.v2.StreamContinuationTokens(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.v2.StreamContinuationTokens result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.v2.StreamContinuationTokens result) {
       if (tokensBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tokens_ = java.util.Collections.unmodifiableList(tokens_);
@@ -400,39 +364,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationTokens resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationTokens) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens) other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,8 +403,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other) {
-      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) return this;
       if (tokensBuilder_ == null) {
         if (!other.tokens_.isEmpty()) {
           if (tokens_.isEmpty()) {
@@ -460,10 +422,9 @@ public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other)
             tokensBuilder_ = null;
             tokens_ = other.tokens_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tokensBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTokensFieldBuilder()
-                    : null;
+            tokensBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTokensFieldBuilder() : null;
           } else {
             tokensBuilder_.addAllMessages(other.tokens_);
           }
@@ -495,26 +456,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.v2.StreamContinuationToken m =
-                    input.readMessage(
-                        com.google.bigtable.v2.StreamContinuationToken.parser(), extensionRegistry);
-                if (tokensBuilder_ == null) {
-                  ensureTokensIsMutable();
-                  tokens_.add(m);
-                } else {
-                  tokensBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.v2.StreamContinuationToken m =
+                  input.readMessage(
+                      com.google.bigtable.v2.StreamContinuationToken.parser(),
+                      extensionRegistry);
+              if (tokensBuilder_ == null) {
+                ensureTokensIsMutable();
+                tokens_.add(m);
+              } else {
+                tokensBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -524,28 +484,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tokens_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTokensIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tokens_ = new java.util.ArrayList(tokens_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationToken,
-            com.google.bigtable.v2.StreamContinuationToken.Builder,
-            com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
-        tokensBuilder_;
+        com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> tokensBuilder_;
 
     /**
-     *
-     *
      * 
      * List of continuation tokens.
      * 
@@ -560,8 +513,6 @@ public java.util.List getTokensL } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -576,8 +527,6 @@ public int getTokensCount() { } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -592,15 +541,14 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { } } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder setTokens( + int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,8 +562,6 @@ public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationTok return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -634,8 +580,6 @@ public Builder setTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -656,15 +600,14 @@ public Builder addTokens(com.google.bigtable.v2.StreamContinuationToken value) { return this; } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder addTokens( + int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,8 +621,6 @@ public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationTok return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -698,8 +639,6 @@ public Builder addTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -718,8 +657,6 @@ public Builder addTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -730,7 +667,8 @@ public Builder addAllTokens( java.lang.Iterable values) { if (tokensBuilder_ == null) { ensureTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tokens_); onChanged(); } else { tokensBuilder_.addAllMessages(values); @@ -738,8 +676,6 @@ public Builder addAllTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -757,8 +693,6 @@ public Builder clearTokens() { return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -776,44 +710,39 @@ public Builder removeTokens(int index) { return this; } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder( + int index) { return getTokensFieldBuilder().getBuilder(index); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index) { if (tokensBuilder_ == null) { - return tokens_.get(index); - } else { + return tokens_.get(index); } else { return tokensBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensOrBuilderList() { + public java.util.List + getTokensOrBuilderList() { if (tokensBuilder_ != null) { return tokensBuilder_.getMessageOrBuilderList(); } else { @@ -821,8 +750,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -830,55 +757,49 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder() { - return getTokensFieldBuilder() - .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + return getTokensFieldBuilder().addBuilder( + com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder(int index) { - return getTokensFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder( + int index) { + return getTokensFieldBuilder().addBuilder( + index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensBuilderList() { + public java.util.List + getTokensBuilderList() { return getTokensFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder> + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> getTokensFieldBuilder() { if (tokensBuilder_ == null) { - tokensBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( - tokens_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( + tokens_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tokens_ = null; } return tokensBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,12 +809,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationTokens) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationTokens) private static final com.google.bigtable.v2.StreamContinuationTokens DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationTokens(); } @@ -902,27 +823,27 @@ public static com.google.bigtable.v2.StreamContinuationTokens getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationTokens parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationTokens parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +858,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationTokens getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java index 70dd89bfb5..2b8350d5ee 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface StreamContinuationTokensOrBuilder - extends +public interface StreamContinuationTokensOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationTokens) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List getTokensList(); + java.util.List + getTokensList(); /** - * - * *
    * List of continuation tokens.
    * 
@@ -44,8 +25,6 @@ public interface StreamContinuationTokensOrBuilder */ com.google.bigtable.v2.StreamContinuationToken getTokens(int index); /** - * - * *
    * List of continuation tokens.
    * 
@@ -54,24 +33,21 @@ public interface StreamContinuationTokensOrBuilder */ int getTokensCount(); /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List + java.util.List getTokensOrBuilderList(); /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index); + com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java index 9e116e6514..d11c2a2108 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * A partition of a change stream.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamPartition}
  */
-public final class StreamPartition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamPartition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamPartition)
     StreamPartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamPartition.newBuilder() to construct.
   private StreamPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StreamPartition() {}
+  private StreamPartition() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamPartition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamPartition.class,
-            com.google.bigtable.v2.StreamPartition.Builder.class);
+            com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
   }
 
   public static final int ROW_RANGE_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.RowRange rowRange_;
   /**
-   *
-   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ @java.lang.Override @@ -80,15 +59,12 @@ public boolean hasRowRange() { return rowRange_ != null; } /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ @java.lang.Override @@ -96,8 +72,6 @@ public com.google.bigtable.v2.RowRange getRowRange() { return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_; } /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
@@ -111,7 +85,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -123,7 +96,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (rowRange_ != null) {
       output.writeMessage(1, getRowRange());
     }
@@ -137,7 +111,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (rowRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRowRange());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -147,7 +122,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.StreamPartition)) {
       return super.equals(obj);
@@ -156,7 +131,8 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowRange() != other.hasRowRange()) return false;
     if (hasRowRange()) {
-      if (!getRowRange().equals(other.getRowRange())) return false;
+      if (!getRowRange()
+          .equals(other.getRowRange())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -178,104 +154,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.StreamPartition parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.StreamPartition parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.StreamPartition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * A partition of a change stream.
@@ -283,32 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamPartition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamPartition)
       com.google.bigtable.v2.StreamPartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamPartition.class,
-              com.google.bigtable.v2.StreamPartition.Builder.class);
+              com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamPartition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -322,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +315,8 @@ public com.google.bigtable.v2.StreamPartition build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamPartition buildPartial() {
-      com.google.bigtable.v2.StreamPartition result =
-          new com.google.bigtable.v2.StreamPartition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.StreamPartition result = new com.google.bigtable.v2.StreamPartition(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -355,7 +324,9 @@ public com.google.bigtable.v2.StreamPartition buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.rowRange_ = rowRangeBuilder_ == null ? rowRange_ : rowRangeBuilder_.build();
+        result.rowRange_ = rowRangeBuilder_ == null
+            ? rowRange_
+            : rowRangeBuilder_.build();
       }
     }
 
@@ -363,39 +334,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamPartition) {
-        return mergeFrom((com.google.bigtable.v2.StreamPartition) other);
+        return mergeFrom((com.google.bigtable.v2.StreamPartition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -433,19 +403,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getRowRangeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getRowRangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -455,40 +425,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.RowRange rowRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange,
-            com.google.bigtable.v2.RowRange.Builder,
-            com.google.bigtable.v2.RowRangeOrBuilder>
-        rowRangeBuilder_;
+        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangeBuilder_;
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ public boolean hasRowRange() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ public com.google.bigtable.v2.RowRange getRowRange() { @@ -499,8 +459,6 @@ public com.google.bigtable.v2.RowRange getRowRange() { } } /** - * - * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -522,8 +480,6 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -531,7 +487,8 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
      *
      * .google.bigtable.v2.RowRange row_range = 1;
      */
-    public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForValue) {
+    public Builder setRowRange(
+        com.google.bigtable.v2.RowRange.Builder builderForValue) {
       if (rowRangeBuilder_ == null) {
         rowRange_ = builderForValue.build();
       } else {
@@ -542,8 +499,6 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -553,9 +508,9 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForVal
      */
     public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       if (rowRangeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && rowRange_ != null
-            && rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          rowRange_ != null &&
+          rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
           getRowRangeBuilder().mergeFrom(value);
         } else {
           rowRange_ = value;
@@ -568,8 +523,6 @@ public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -588,8 +541,6 @@ public Builder clearRowRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -603,8 +554,6 @@ public com.google.bigtable.v2.RowRange.Builder getRowRangeBuilder() {
       return getRowRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -616,12 +565,11 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
       if (rowRangeBuilder_ != null) {
         return rowRangeBuilder_.getMessageOrBuilder();
       } else {
-        return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
+        return rowRange_ == null ?
+            com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
       }
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -630,24 +578,21 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
      * .google.bigtable.v2.RowRange row_range = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange,
-            com.google.bigtable.v2.RowRange.Builder,
-            com.google.bigtable.v2.RowRangeOrBuilder>
+        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> 
         getRowRangeFieldBuilder() {
       if (rowRangeBuilder_ == null) {
-        rowRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowRange,
-                com.google.bigtable.v2.RowRange.Builder,
-                com.google.bigtable.v2.RowRangeOrBuilder>(
-                getRowRange(), getParentForChildren(), isClean());
+        rowRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>(
+                getRowRange(),
+                getParentForChildren(),
+                isClean());
         rowRange_ = null;
       }
       return rowRangeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -657,12 +602,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamPartition)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamPartition)
   private static final com.google.bigtable.v2.StreamPartition DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamPartition();
   }
@@ -671,27 +616,27 @@ public static com.google.bigtable.v2.StreamPartition getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StreamPartition parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StreamPartition parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -706,4 +651,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.StreamPartition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
similarity index 61%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
index fe09a7dffa..b677f3325e 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
-public interface StreamPartitionOrBuilder
-    extends
+public interface StreamPartitionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamPartition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ boolean hasRowRange(); /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ com.google.bigtable.v2.RowRange getRowRange(); /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
similarity index 100%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
similarity index 66%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
index 08a0c5e15d..2952dc55e7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
@@ -1,76 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specified a contiguous range of microsecond timestamps.
  * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, - com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); } public static final int START_TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long startTimestampMicros_ = 0L; /** - * - * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -81,14 +60,11 @@ public long getStartTimestampMicros() { public static final int END_TIMESTAMP_MICROS_FIELD_NUMBER = 2; private long endTimestampMicros_ = 0L; /** - * - * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -97,7 +73,6 @@ public long getEndTimestampMicros() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,7 +84,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTimestampMicros_ != 0L) { output.writeInt64(1, startTimestampMicros_); } @@ -126,10 +102,12 @@ public int getSerializedSize() { size = 0; if (startTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, startTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, startTimestampMicros_); } if (endTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, endTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, endTimestampMicros_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -139,15 +117,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.TimestampRange)) { return super.equals(obj); } com.google.bigtable.v2.TimestampRange other = (com.google.bigtable.v2.TimestampRange) obj; - if (getStartTimestampMicros() != other.getStartTimestampMicros()) return false; - if (getEndTimestampMicros() != other.getEndTimestampMicros()) return false; + if (getStartTimestampMicros() + != other.getStartTimestampMicros()) return false; + if (getEndTimestampMicros() + != other.getEndTimestampMicros()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,143 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTimestampMicros()); hash = (37 * hash) + END_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTimestampMicros()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.TimestampRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.TimestampRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.TimestampRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specified a contiguous range of microsecond timestamps.
    * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.TimestampRange) com.google.bigtable.v2.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, - com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); } // Construct using com.google.bigtable.v2.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -307,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override @@ -328,11 +307,8 @@ public com.google.bigtable.v2.TimestampRange build() { @java.lang.Override public com.google.bigtable.v2.TimestampRange buildPartial() { - com.google.bigtable.v2.TimestampRange result = - new com.google.bigtable.v2.TimestampRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.TimestampRange result = new com.google.bigtable.v2.TimestampRange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -351,39 +327,38 @@ private void buildPartial0(com.google.bigtable.v2.TimestampRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.TimestampRange) { - return mergeFrom((com.google.bigtable.v2.TimestampRange) other); + return mergeFrom((com.google.bigtable.v2.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -424,25 +399,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - startTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - endTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + startTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + endTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,19 +424,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long startTimestampMicros_; + private long startTimestampMicros_ ; /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -472,14 +440,11 @@ public long getStartTimestampMicros() { return startTimestampMicros_; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @param value The startTimestampMicros to set. * @return This builder for chaining. */ @@ -491,14 +456,11 @@ public Builder setStartTimestampMicros(long value) { return this; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearStartTimestampMicros() { @@ -508,16 +470,13 @@ public Builder clearStartTimestampMicros() { return this; } - private long endTimestampMicros_; + private long endTimestampMicros_ ; /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -525,14 +484,11 @@ public long getEndTimestampMicros() { return endTimestampMicros_; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @param value The endTimestampMicros to set. * @return This builder for chaining. */ @@ -544,14 +500,11 @@ public Builder setEndTimestampMicros(long value) { return this; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return This builder for chaining. */ public Builder clearEndTimestampMicros() { @@ -560,9 +513,9 @@ public Builder clearEndTimestampMicros() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.TimestampRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.TimestampRange) private static final com.google.bigtable.v2.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.TimestampRange(); } @@ -586,27 +539,27 @@ public static com.google.bigtable.v2.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java similarity index 51% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java index 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 8c992499c3..f0aa909e9b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java @@ -1,79 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies a contiguous range of raw byte values.
  * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ -public final class ValueRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValueRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ValueRange) ValueRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValueRange.newBuilder() to construct. private ValueRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ValueRange() {} + private ValueRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValueRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, - com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); } private int startValueCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object startValue_; - public enum StartValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_VALUE_CLOSED(1), START_VALUE_OPEN(2), STARTVALUE_NOT_SET(0); private final int value; - private StartValueCase(int value) { this.value = value; } @@ -89,40 +67,33 @@ public static StartValueCase valueOf(int value) { public static StartValueCase forNumber(int value) { switch (value) { - case 1: - return START_VALUE_CLOSED; - case 2: - return START_VALUE_OPEN; - case 0: - return STARTVALUE_NOT_SET; - default: - return null; + case 1: return START_VALUE_CLOSED; + case 2: return START_VALUE_OPEN; + case 0: return STARTVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StartValueCase getStartValueCase() { - return StartValueCase.forNumber(startValueCase_); + public StartValueCase + getStartValueCase() { + return StartValueCase.forNumber( + startValueCase_); } private int endValueCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object endValue_; - public enum EndValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_VALUE_CLOSED(3), END_VALUE_OPEN(4), ENDVALUE_NOT_SET(0); private final int value; - private EndValueCase(int value) { this.value = value; } @@ -138,36 +109,30 @@ public static EndValueCase valueOf(int value) { public static EndValueCase forNumber(int value) { switch (value) { - case 3: - return END_VALUE_CLOSED; - case 4: - return END_VALUE_OPEN; - case 0: - return ENDVALUE_NOT_SET; - default: - return null; + case 3: return END_VALUE_CLOSED; + case 4: return END_VALUE_OPEN; + case 0: return ENDVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EndValueCase getEndValueCase() { - return EndValueCase.forNumber(endValueCase_); + public EndValueCase + getEndValueCase() { + return EndValueCase.forNumber( + endValueCase_); } public static final int START_VALUE_CLOSED_FIELD_NUMBER = 1; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ @java.lang.Override @@ -175,14 +140,11 @@ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ @java.lang.Override @@ -195,14 +157,11 @@ public com.google.protobuf.ByteString getStartValueClosed() { public static final int START_VALUE_OPEN_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ @java.lang.Override @@ -210,14 +169,11 @@ public boolean hasStartValueOpen() { return startValueCase_ == 2; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ @java.lang.Override @@ -230,14 +186,11 @@ public com.google.protobuf.ByteString getStartValueOpen() { public static final int END_VALUE_CLOSED_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ @java.lang.Override @@ -245,14 +198,11 @@ public boolean hasEndValueClosed() { return endValueCase_ == 3; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ @java.lang.Override @@ -265,14 +215,11 @@ public com.google.protobuf.ByteString getEndValueClosed() { public static final int END_VALUE_OPEN_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ @java.lang.Override @@ -280,14 +227,11 @@ public boolean hasEndValueOpen() { return endValueCase_ == 4; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ @java.lang.Override @@ -299,7 +243,6 @@ public com.google.protobuf.ByteString getEndValueOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,18 +254,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startValueCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) startValue_); + output.writeBytes( + 1, (com.google.protobuf.ByteString) startValue_); } if (startValueCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startValue_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startValue_); } if (endValueCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) endValue_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) endValue_); } if (endValueCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endValue_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endValue_); } getUnknownFields().writeTo(output); } @@ -334,24 +282,24 @@ public int getSerializedSize() { size = 0; if (startValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) startValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 1, (com.google.protobuf.ByteString) startValue_); } if (startValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startValue_); } if (endValueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) endValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) endValue_); } if (endValueCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endValue_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -361,7 +309,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ValueRange)) { return super.equals(obj); @@ -371,10 +319,12 @@ public boolean equals(final java.lang.Object obj) { if (!getStartValueCase().equals(other.getStartValueCase())) return false; switch (startValueCase_) { case 1: - if (!getStartValueClosed().equals(other.getStartValueClosed())) return false; + if (!getStartValueClosed() + .equals(other.getStartValueClosed())) return false; break; case 2: - if (!getStartValueOpen().equals(other.getStartValueOpen())) return false; + if (!getStartValueOpen() + .equals(other.getStartValueOpen())) return false; break; case 0: default: @@ -382,10 +332,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndValueCase().equals(other.getEndValueCase())) return false; switch (endValueCase_) { case 3: - if (!getEndValueClosed().equals(other.getEndValueClosed())) return false; + if (!getEndValueClosed() + .equals(other.getEndValueClosed())) return false; break; case 4: - if (!getEndValueOpen().equals(other.getEndValueOpen())) return false; + if (!getEndValueOpen() + .equals(other.getEndValueOpen())) return false; break; case 0: default: @@ -430,135 +382,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ValueRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ValueRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ValueRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ValueRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ValueRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ValueRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ValueRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ValueRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ValueRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of raw byte values.
    * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ValueRange) com.google.bigtable.v2.ValueRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, - com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); } // Construct using com.google.bigtable.v2.ValueRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override @@ -593,9 +542,7 @@ public com.google.bigtable.v2.ValueRange build() { @java.lang.Override public com.google.bigtable.v2.ValueRange buildPartial() { com.google.bigtable.v2.ValueRange result = new com.google.bigtable.v2.ValueRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -616,39 +563,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ValueRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ValueRange) { - return mergeFrom((com.google.bigtable.v2.ValueRange) other); + return mergeFrom((com.google.bigtable.v2.ValueRange)other); } else { super.mergeFrom(other); return this; @@ -658,36 +604,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.ValueRange other) { if (other == com.google.bigtable.v2.ValueRange.getDefaultInstance()) return this; switch (other.getStartValueCase()) { - case START_VALUE_CLOSED: - { - setStartValueClosed(other.getStartValueClosed()); - break; - } - case START_VALUE_OPEN: - { - setStartValueOpen(other.getStartValueOpen()); - break; - } - case STARTVALUE_NOT_SET: - { - break; - } + case START_VALUE_CLOSED: { + setStartValueClosed(other.getStartValueClosed()); + break; + } + case START_VALUE_OPEN: { + setStartValueOpen(other.getStartValueOpen()); + break; + } + case STARTVALUE_NOT_SET: { + break; + } } switch (other.getEndValueCase()) { - case END_VALUE_CLOSED: - { - setEndValueClosed(other.getEndValueClosed()); - break; - } - case END_VALUE_OPEN: - { - setEndValueOpen(other.getEndValueOpen()); - break; - } - case ENDVALUE_NOT_SET: - { - break; - } + case END_VALUE_CLOSED: { + setEndValueClosed(other.getEndValueClosed()); + break; + } + case END_VALUE_OPEN: { + setEndValueOpen(other.getEndValueOpen()); + break; + } + case ENDVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -715,37 +655,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startValue_ = input.readBytes(); - startValueCase_ = 1; - break; - } // case 10 - case 18: - { - startValue_ = input.readBytes(); - startValueCase_ = 2; - break; - } // case 18 - case 26: - { - endValue_ = input.readBytes(); - endValueCase_ = 3; - break; - } // case 26 - case 34: - { - endValue_ = input.readBytes(); - endValueCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startValue_ = input.readBytes(); + startValueCase_ = 1; + break; + } // case 10 + case 18: { + startValue_ = input.readBytes(); + startValueCase_ = 2; + break; + } // case 18 + case 26: { + endValue_ = input.readBytes(); + endValueCase_ = 3; + break; + } // case 26 + case 34: { + endValue_ = input.readBytes(); + endValueCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -755,12 +690,12 @@ public Builder mergeFrom( } // finally return this; } - private int startValueCase_ = 0; private java.lang.Object startValue_; - - public StartValueCase getStartValueCase() { - return StartValueCase.forNumber(startValueCase_); + public StartValueCase + getStartValueCase() { + return StartValueCase.forNumber( + startValueCase_); } public Builder clearStartValue() { @@ -772,9 +707,10 @@ public Builder clearStartValue() { private int endValueCase_ = 0; private java.lang.Object endValue_; - - public EndValueCase getEndValueCase() { - return EndValueCase.forNumber(endValueCase_); + public EndValueCase + getEndValueCase() { + return EndValueCase.forNumber( + endValueCase_); } public Builder clearEndValue() { @@ -787,28 +723,22 @@ public Builder clearEndValue() { private int bitField0_; /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ public com.google.protobuf.ByteString getStartValueClosed() { @@ -818,35 +748,27 @@ public com.google.protobuf.ByteString getStartValueClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @param value The startValueClosed to set. * @return This builder for chaining. */ public Builder setStartValueClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startValueCase_ = 1; startValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return This builder for chaining. */ public Builder clearStartValueClosed() { @@ -859,28 +781,22 @@ public Builder clearStartValueClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ public boolean hasStartValueOpen() { return startValueCase_ == 2; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ public com.google.protobuf.ByteString getStartValueOpen() { @@ -890,35 +806,27 @@ public com.google.protobuf.ByteString getStartValueOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @param value The startValueOpen to set. * @return This builder for chaining. */ public Builder setStartValueOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startValueCase_ = 2; startValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return This builder for chaining. */ public Builder clearStartValueOpen() { @@ -931,28 +839,22 @@ public Builder clearStartValueOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ public boolean hasEndValueClosed() { return endValueCase_ == 3; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ public com.google.protobuf.ByteString getEndValueClosed() { @@ -962,35 +864,27 @@ public com.google.protobuf.ByteString getEndValueClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @param value The endValueClosed to set. * @return This builder for chaining. */ public Builder setEndValueClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endValueCase_ = 3; endValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return This builder for chaining. */ public Builder clearEndValueClosed() { @@ -1003,28 +897,22 @@ public Builder clearEndValueClosed() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ public boolean hasEndValueOpen() { return endValueCase_ == 4; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ public com.google.protobuf.ByteString getEndValueOpen() { @@ -1034,35 +922,27 @@ public com.google.protobuf.ByteString getEndValueOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @param value The endValueOpen to set. * @return This builder for chaining. */ public Builder setEndValueOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endValueCase_ = 4; endValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return This builder for chaining. */ public Builder clearEndValueOpen() { @@ -1073,9 +953,9 @@ public Builder clearEndValueOpen() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ValueRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ValueRange) private static final com.google.bigtable.v2.ValueRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ValueRange(); } @@ -1099,27 +979,27 @@ public static com.google.bigtable.v2.ValueRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,4 +1014,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ValueRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java index d115c94e1f..0fff71fb24 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java @@ -1,124 +1,84 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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 98% 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 8624833ade..0e8c38f168 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 @@ -271,6 +271,16 @@ message ReadRowsRequest { // The view into RequestStats, as described above. RequestStatsView request_stats_view = 6; + + // Experimental API - Please note that this API is currently experimental + // and can change in the future. + // + // Return rows in lexiographical descending order of the row keys. The row + // contents will not be affected by this flag. + // Example result set: [ + // {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", + // "f:col2": "v2"} ]. + bool reversed = 7; } // Response message for Bigtable.ReadRows. diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto similarity index 90% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto index ba10707a3f..224d5f1e79 100644 --- a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto @@ -33,6 +33,10 @@ option ruby_package = "Google::Cloud::Bigtable::V2"; // This is an internal implementation detail and should not be used by endusers // directly. message FeatureFlags { + // Notify the server that the client supports reverse scans. The server will + // reject ReadRowsRequests with the reverse bit set when this is absent. + bool reverse_scans = 1; + // Notify the server that the client enables batch write flow control by // requesting RateLimitInfo from MutateRowsResponse. bool mutate_rows_rate_limit = 3; diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java deleted file mode 100644 index 726be0fcae..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\"\337\002\n\025Crea" - + "teInstanceRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372" - + "A-\n+cloudresourcemanager.googleapis.com/" - + "Project\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022:\n\010in" - + "stance\030\003 \001(\0132\".google.bigtable.admin.v2." - + "InstanceB\004\342A\001\002\022U\n\010clusters\030\004 \003(\0132=.googl" - + "e.bigtable.admin.v2.CreateInstanceReques" - + "t.ClustersEntryB\004\342A\001\002\032R\n\rClustersEntry\022\013" - + "\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigt" - + "able.admin.v2.Cluster:\0028\001\"R\n\022GetInstance" - + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" - + "admin.googleapis.com/Instance\"p\n\024ListIns" - + "tancesRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+" - + "cloudresourcemanager.googleapis.com/Proj" - + "ect\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\025ListInstance" - + "sResponse\0225\n\tinstances\030\001 \003(\0132\".google.bi" - + "gtable.admin.v2.Instance\022\030\n\020failed_locat" - + "ions\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\221\001\n\034" - + "PartialUpdateInstanceRequest\022:\n\010instance" - + "\030\001 \001(\0132\".google.bigtable.admin.v2.Instan" - + "ceB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\004\342A\001\002\"U\n\025DeleteInstanc" - + "eRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtabl" - + "eadmin.googleapis.com/Instance\"\252\001\n\024Creat" - + "eClusterRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" - + "\n%bigtableadmin.googleapis.com/Instance\022" - + "\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0228\n\007cluster\030\003 \001" - + "(\0132!.google.bigtable.admin.v2.ClusterB\004\342" - + "A\001\002\"P\n\021GetClusterRequest\022;\n\004name\030\001 \001(\tB-" - + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" - + "uster\"i\n\023ListClustersRequest\022>\n\006parent\030\001" - + " \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis." - + "com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024List" - + "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" - + "gle.bigtable.admin.v2.Cluster\022\030\n\020failed_" - + "locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t" - + "\"S\n\024DeleteClusterRequest\022;\n\004name\030\001 \001(\tB-" - + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" - + "uster\"\306\001\n\026CreateInstanceMetadata\022I\n\020orig" - + "inal_request\030\001 \001(\0132/.google.bigtable.adm" - + "in.v2.CreateInstanceRequest\0220\n\014request_t" - + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013finish_time\030\003 \001(\0132\032.google.protobuf.Tim" - + "estamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020ori" - + "ginal_request\030\001 \001(\01326.google.bigtable.ad" - + "min.v2.PartialUpdateInstanceRequest\0220\n\014r" - + "equest_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stamp\022/\n\013finish_time\030\003 \001(\0132\032.google.prot" - + "obuf.Timestamp\"\373\004\n\025CreateClusterMetadata" - + "\022H\n\020original_request\030\001 \001(\0132..google.bigt" - + "able.admin.v2.CreateClusterRequest\0220\n\014re" - + "quest_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tamp\022/\n\013finish_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\022K\n\006tables\030\004 \003(\0132;.google.b" - + "igtable.admin.v2.CreateClusterMetadata.T" - + "ablesEntry\032\371\001\n\rTableProgress\022\034\n\024estimate" - + "d_size_bytes\030\002 \001(\003\022\036\n\026estimated_copied_b" - + "ytes\030\003 \001(\003\022R\n\005state\030\004 \001(\0162C.google.bigta" - + "ble.admin.v2.CreateClusterMetadata.Table" - + "Progress.State\"V\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMP" - + "LETED\020\003\022\r\n\tCANCELLED\020\004\032l\n\013TablesEntry\022\013\n" - + "\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google.bigta" - + "ble.admin.v2.CreateClusterMetadata.Table" - + "Progress:\0028\001\"\267\001\n\025UpdateClusterMetadata\022;" - + "\n\020original_request\030\001 \001(\0132!.google.bigtab" - + "le.admin.v2.Cluster\0220\n\014request_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\322" - + "\001\n\034PartialUpdateClusterMetadata\0220\n\014reque" - + "st_time\030\001 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013finish_time\030\002 \001(\0132\032.google.protobuf" - + ".Timestamp\022O\n\020original_request\030\003 \001(\01325.g" - + "oogle.bigtable.admin.v2.PartialUpdateClu" - + "sterRequest\"\216\001\n\033PartialUpdateClusterRequ" - + "est\0228\n\007cluster\030\001 \001(\0132!.google.bigtable.a" - + "dmin.v2.ClusterB\004\342A\001\002\0225\n\013update_mask\030\002 \001" - + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\321\001\n" - + "\027CreateAppProfileRequest\022>\n\006parent\030\001 \001(\t" - + "B.\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/" - + "Instance\022\034\n\016app_profile_id\030\002 \001(\tB\004\342A\001\002\022?" - + "\n\013app_profile\030\003 \001(\0132$.google.bigtable.ad" - + "min.v2.AppProfileB\004\342A\001\002\022\027\n\017ignore_warnin" - + "gs\030\004 \001(\010\"V\n\024GetAppProfileRequest\022>\n\004name" - + "\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadmin.googleapi" - + "s.com/AppProfile\"\177\n\026ListAppProfilesReque" - + "st\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadm" - + "in.googleapis.com/Instance\022\021\n\tpage_size\030" - + "\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListAppPro" - + "filesResponse\022:\n\014app_profiles\030\001 \003(\0132$.go" - + "ogle.bigtable.admin.v2.AppProfile\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\022\030\n\020failed_locations\030\003" - + " \003(\t\"\252\001\n\027UpdateAppProfileRequest\022?\n\013app_" - + "profile\030\001 \001(\0132$.google.bigtable.admin.v2" - + ".AppProfileB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMaskB\004\342A\001\002\022\027\n\017igno" - + "re_warnings\030\003 \001(\010\"x\n\027DeleteAppProfileReq" - + "uest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadm" - + "in.googleapis.com/AppProfile\022\035\n\017ignore_w" - + "arnings\030\002 \001(\010B\004\342A\001\002\"\032\n\030UpdateAppProfileM" - + "etadata\"\333\001\n\025ListHotTabletsRequest\022=\n\006par" - + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" - + "apis.com/Cluster\022.\n\nstart_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022,\n\010end_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\022\021\n\tpage_s" - + "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"k\n\026ListHot" - + "TabletsResponse\0228\n\013hot_tablets\030\001 \003(\0132#.g" - + "oogle.bigtable.admin.v2.HotTablet\022\027\n\017nex" - + "t_page_token\030\002 \001(\t2\313!\n\025BigtableInstanceA" - + "dmin\022\332\001\n\016CreateInstance\022/.google.bigtabl" - + "e.admin.v2.CreateInstanceRequest\032\035.googl" - + "e.longrunning.Operation\"x\312A\"\n\010Instance\022\026" - + "CreateInstanceMetadata\332A$parent,instance" - + "_id,instance,clusters\202\323\344\223\002&\"!/v2/{parent" - + "=projects/*}/instances:\001*\022\221\001\n\013GetInstanc" - + "e\022,.google.bigtable.admin.v2.GetInstance" - + "Request\032\".google.bigtable.admin.v2.Insta" - + "nce\"0\332A\004name\202\323\344\223\002#\022!/v2/{name=projects/*" - + "/instances/*}\022\244\001\n\rListInstances\022..google" - + ".bigtable.admin.v2.ListInstancesRequest\032" - + "/.google.bigtable.admin.v2.ListInstances" - + "Response\"2\332A\006parent\202\323\344\223\002#\022!/v2/{parent=p" - + "rojects/*}/instances\022\206\001\n\016UpdateInstance\022" - + "\".google.bigtable.admin.v2.Instance\032\".go" - + "ogle.bigtable.admin.v2.Instance\",\202\323\344\223\002&\032" - + "!/v2/{name=projects/*/instances/*}:\001*\022\350\001" - + "\n\025PartialUpdateInstance\0226.google.bigtabl" - + "e.admin.v2.PartialUpdateInstanceRequest\032" - + "\035.google.longrunning.Operation\"x\312A\"\n\010Ins" - + "tance\022\026UpdateInstanceMetadata\332A\024instance" - + ",update_mask\202\323\344\223\00262*/v2/{instance.name=p" - + "rojects/*/instances/*}:\010instance\022\213\001\n\016Del" - + "eteInstance\022/.google.bigtable.admin.v2.D" - + "eleteInstanceRequest\032\026.google.protobuf.E" - + "mpty\"0\332A\004name\202\323\344\223\002#*!/v2/{name=projects/" - + "*/instances/*}\022\334\001\n\rCreateCluster\022..googl" - + "e.bigtable.admin.v2.CreateClusterRequest" - + "\032\035.google.longrunning.Operation\"|\312A \n\007Cl" - + "uster\022\025CreateClusterMetadata\332A\031parent,cl" - + "uster_id,cluster\202\323\344\223\0027\",/v2/{parent=proj" - + "ects/*/instances/*}/clusters:\007cluster\022\231\001" - + "\n\nGetCluster\022+.google.bigtable.admin.v2." - + "GetClusterRequest\032!.google.bigtable.admi" - + "n.v2.Cluster\";\332A\004name\202\323\344\223\002.\022,/v2/{name=p" - + "rojects/*/instances/*/clusters/*}\022\254\001\n\014Li" - + "stClusters\022-.google.bigtable.admin.v2.Li" - + "stClustersRequest\032..google.bigtable.admi" - + "n.v2.ListClustersResponse\"=\332A\006parent\202\323\344\223" - + "\002.\022,/v2/{parent=projects/*/instances/*}/" - + "clusters\022\255\001\n\rUpdateCluster\022!.google.bigt" - + "able.admin.v2.Cluster\032\035.google.longrunni" - + "ng.Operation\"Z\312A \n\007Cluster\022\025UpdateCluste" - + "rMetadata\202\323\344\223\0021\032,/v2/{name=projects/*/in" - + "stances/*/clusters/*}:\001*\022\364\001\n\024PartialUpda" - + "teCluster\0225.google.bigtable.admin.v2.Par" - + "tialUpdateClusterRequest\032\035.google.longru" - + "nning.Operation\"\205\001\312A\'\n\007Cluster\022\034PartialU" - + "pdateClusterMetadata\332A\023cluster,update_ma" - + "sk\202\323\344\223\002?24/v2/{cluster.name=projects/*/i" - + "nstances/*/clusters/*}:\007cluster\022\224\001\n\rDele" - + "teCluster\022..google.bigtable.admin.v2.Del" - + "eteClusterRequest\032\026.google.protobuf.Empt" - + "y\";\332A\004name\202\323\344\223\002.*,/v2/{name=projects/*/i" - + "nstances/*/clusters/*}\022\325\001\n\020CreateAppProf" - + "ile\0221.google.bigtable.admin.v2.CreateApp" - + "ProfileRequest\032$.google.bigtable.admin.v" - + "2.AppProfile\"h\332A!parent,app_profile_id,a" - + "pp_profile\202\323\344\223\002>\"//v2/{parent=projects/*" - + "/instances/*}/appProfiles:\013app_profile\022\245" - + "\001\n\rGetAppProfile\022..google.bigtable.admin" - + ".v2.GetAppProfileRequest\032$.google.bigtab" - + "le.admin.v2.AppProfile\">\332A\004name\202\323\344\223\0021\022//" - + "v2/{name=projects/*/instances/*/appProfi" - + "les/*}\022\270\001\n\017ListAppProfiles\0220.google.bigt" - + "able.admin.v2.ListAppProfilesRequest\0321.g" - + "oogle.bigtable.admin.v2.ListAppProfilesR" - + "esponse\"@\332A\006parent\202\323\344\223\0021\022//v2/{parent=pr" - + "ojects/*/instances/*}/appProfiles\022\372\001\n\020Up" - + "dateAppProfile\0221.google.bigtable.admin.v" - + "2.UpdateAppProfileRequest\032\035.google.longr" - + "unning.Operation\"\223\001\312A&\n\nAppProfile\022\030Upda" - + "teAppProfileMetadata\332A\027app_profile,updat" - + "e_mask\202\323\344\223\002J2;/v2/{app_profile.name=proj" - + "ects/*/instances/*/appProfiles/*}:\013app_p" - + "rofile\022\235\001\n\020DeleteAppProfile\0221.google.big" - + "table.admin.v2.DeleteAppProfileRequest\032\026" - + ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" - + "v2/{name=projects/*/instances/*/appProfi" - + "les/*}\022\223\001\n\014GetIamPolicy\022\".google.iam.v1." - + "GetIamPolicyRequest\032\025.google.iam.v1.Poli" - + "cy\"H\332A\010resource\202\323\344\223\0027\"2/v2/{resource=pro" - + "jects/*/instances/*}:getIamPolicy:\001*\022\232\001\n" - + "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" - + "cyRequest\032\025.google.iam.v1.Policy\"O\332A\017res" - + "ource,policy\202\323\344\223\0027\"2/v2/{resource=projec" - + "ts/*/instances/*}:setIamPolicy:\001*\022\305\001\n\022Te" - + "stIamPermissions\022(.google.iam.v1.TestIam" - + "PermissionsRequest\032).google.iam.v1.TestI" - + "amPermissionsResponse\"Z\332A\024resource,permi" - + "ssions\202\323\344\223\002=\"8/v2/{resource=projects/*/i" - + "nstances/*}:testIamPermissions:\001*\022\277\001\n\016Li" - + "stHotTablets\022/.google.bigtable.admin.v2." - + "ListHotTabletsRequest\0320.google.bigtable." - + "admin.v2.ListHotTabletsResponse\"J\332A\006pare" - + "nt\202\323\344\223\002;\0229/v2/{parent=projects/*/instanc" - + "es/*/clusters/*}/hotTablets\032\232\003\312A\034bigtabl" - + "eadmin.googleapis.com\322A\367\002https://www.goo" - + "gleapis.com/auth/bigtable.admin,https://" - + "www.googleapis.com/auth/bigtable.admin.c" - + "luster,https://www.googleapis.com/auth/b" - + "igtable.admin.instance,https://www.googl" - + "eapis.com/auth/cloud-bigtable.admin,http" - + "s://www.googleapis.com/auth/cloud-bigtab" - + "le.admin.cluster,https://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/cloud-platform.read-only" - + "B\342\001\n\034com.google.bigtable.admin.v2B\032Bigta" - + "bleInstanceAdminProtoP\001Z=google.golang.o" - + "rg/genproto/googleapis/bigtable/admin/v2" - + ";admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312" - + "\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Googl" - + "e::Cloud::Bigtable::Admin::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.InstanceProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "Clusters", - }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "FailedLocations", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, - new java.lang.String[] { - "Instance", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", - }); - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, - new java.lang.String[] { - "Clusters", "FailedLocations", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", "Tables", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, - new java.lang.String[] { - "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, - new java.lang.String[] { - "RequestTime", "FinishTime", "OriginalRequest", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, - new java.lang.String[] { - "Cluster", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, - new java.lang.String[] { - "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, - new java.lang.String[] { - "AppProfiles", "NextPageToken", "FailedLocations", - }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, - new java.lang.String[] { - "AppProfile", "UpdateMask", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, - new java.lang.String[] { - "Name", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, - new java.lang.String[] { - "Parent", "StartTime", "EndTime", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, - new java.lang.String[] { - "HotTablets", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java deleted file mode 100644 index 249f672667..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ /dev/null @@ -1,781 +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\"\263\001\n\023RestoreTableRequest" - + "\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin" - + ".googleapis.com/Instance\022\026\n\010table_id\030\002 \001" - + "(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtablea" - + "dmin.googleapis.com/BackupH\000B\010\n\006source\"\230" - + "\002\n\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n" - + "\013source_type\030\002 \001(\0162+.google.bigtable.adm" - + "in.v2.RestoreSourceType\022;\n\013backup_info\030\003" - + " \001(\0132$.google.bigtable.admin.v2.BackupIn" - + "foH\000\022%\n\035optimize_table_operation_name\030\004 " - + "\001(\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable." - + "admin.v2.OperationProgressB\r\n\013source_inf" - + "o\"l\n\035OptimizeRestoredTableMetadata\022\014\n\004na" - + "me\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigt" - + "able.admin.v2.OperationProgress\"\204\002\n\022Crea" - + "teTableRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" - + "%bigtableadmin.googleapis.com/Instance\022\026" - + "\n\010table_id\030\002 \001(\tB\004\342A\001\002\0224\n\005table\030\003 \001(\0132\037." - + "google.bigtable.admin.v2.TableB\004\342A\001\002\022J\n\016" - + "initial_splits\030\004 \003(\01322.google.bigtable.a" - + "dmin.v2.CreateTableRequest.Split\032\024\n\005Spli" - + "t\022\013\n\003key\030\001 \001(\014\"\301\001\n\036CreateTableFromSnapsh" - + "otRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigt" - + "ableadmin.googleapis.com/Instance\022\026\n\010tab" - + "le_id\030\002 \001(\tB\004\342A\001\002\022G\n\017source_snapshot\030\003 \001" - + "(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.co" - + "m/Snapshot\"\232\001\n\023DropRowRangeRequest\0229\n\004na" - + "me\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googlea" - + "pis.com/Table\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022" - + "$\n\032delete_all_data_from_table\030\003 \001(\010H\000B\010\n" - + "\006target\"\256\001\n\021ListTablesRequest\022>\n\006parent\030" - + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" - + ".com/Instance\0222\n\004view\030\002 \001(\0162$.google.big" - + "table.admin.v2.Table.View\022\021\n\tpage_size\030\004" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRe" - + "sponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable" - + ".admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\200\001\n\017GetTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" - + "\372A$\n\"bigtableadmin.googleapis.com/Table\022" - + "2\n\004view\030\002 \001(\0162$.google.bigtable.admin.v2" - + ".Table.View\"\201\001\n\022UpdateTableRequest\0224\n\005ta" - + "ble\030\001 \001(\0132\037.google.bigtable.admin.v2.Tab" - + "leB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\004\342A\001\002\"\201\001\n\023UpdateTableM" - + "etadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"O\n\022D" - + "eleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$" - + "\n\"bigtableadmin.googleapis.com/Table\"Q\n\024" - + "UndeleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" - + "\372A$\n\"bigtableadmin.googleapis.com/Table\"" - + "\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001(\t\022" - + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\"\341\002\n\033ModifyColumnFamiliesRe" - + "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtablead" - + "min.googleapis.com/Table\022_\n\rmodification" - + "s\030\002 \003(\0132B.google.bigtable.admin.v2.Modif" - + "yColumnFamiliesRequest.ModificationB\004\342A\001" - + "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create" - + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" - + "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab" - + "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010" - + "H\000B\005\n\003mod\"\\\n\037GenerateConsistencyTokenReq" - + "uest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadm" - + "in.googleapis.com/Table\"=\n GenerateConsi" - + "stencyTokenResponse\022\031\n\021consistency_token" - + "\030\001 \001(\t\"u\n\027CheckConsistencyRequest\0229\n\004nam" - + "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" - + "is.com/Table\022\037\n\021consistency_token\030\002 \001(\tB" - + "\004\342A\001\002\".\n\030CheckConsistencyResponse\022\022\n\ncon" - + "sistent\030\001 \001(\010\"\351\001\n\024SnapshotTableRequest\0229" - + "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goo" - + "gleapis.com/Table\022>\n\007cluster\030\002 \001(\tB-\342A\001\002" - + "\372A&\n$bigtableadmin.googleapis.com/Cluste" - + "r\022\031\n\013snapshot_id\030\003 \001(\tB\004\342A\001\002\022&\n\003ttl\030\004 \001(" - + "\0132\031.google.protobuf.Duration\022\023\n\013descript" - + "ion\030\005 \001(\t\"R\n\022GetSnapshotRequest\022<\n\004name\030" - + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" - + ".com/Snapshot\"|\n\024ListSnapshotsRequest\022=\n" - + "\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.go" - + "ogleapis.com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022" - + "\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsResp" - + "onse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigtabl" - + "e.admin.v2.Snapshot\022\027\n\017next_page_token\030\002" - + " \001(\t\"U\n\025DeleteSnapshotRequest\022<\n\004name\030\001 " - + "\001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.c" - + "om/Snapshot\"\304\001\n\025SnapshotTableMetadata\022H\n" - + "\020original_request\030\001 \001(\0132..google.bigtabl" - + "e.admin.v2.SnapshotTableRequest\0220\n\014reque" - + "st_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf" - + ".Timestamp\"\330\001\n\037CreateTableFromSnapshotMe" - + "tadata\022R\n\020original_request\030\001 \001(\01328.googl" - + "e.bigtable.admin.v2.CreateTableFromSnaps" - + "hotRequest\0220\n\014request_time\030\002 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022/\n\013finish_time\030\003 \001(" - + "\0132\032.google.protobuf.Timestamp\"\245\001\n\023Create" - + "BackupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$" - + "bigtableadmin.googleapis.com/Cluster\022\027\n\t" - + "backup_id\030\002 \001(\tB\004\342A\001\002\0226\n\006backup\030\003 \001(\0132 ." - + "google.bigtable.admin.v2.BackupB\004\342A\001\002\"\230\001" - + "\n\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014" - + "source_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032" - + ".google.protobuf.Timestamp\022,\n\010end_time\030\004" - + " \001(\0132\032.google.protobuf.Timestamp\"\204\001\n\023Upd" - + "ateBackupRequest\0226\n\006backup\030\001 \001(\0132 .googl" - + "e.bigtable.admin.v2.BackupB\004\342A\001\002\0225\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\004\342A\001\002\"N\n\020GetBackupRequest\022:\n\004name\030\001 \001(" - + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" - + "/Backup\"Q\n\023DeleteBackupRequest\022:\n\004name\030\001" - + " \001(\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis." - + "com/Backup\"\234\001\n\022ListBackupsRequest\022=\n\006par" - + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" - + "apis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" - + "r_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_to" - + "ken\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007back" - + "ups\030\001 \003(\0132 .google.bigtable.admin.v2.Bac" - + "kup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Bigtabl" - + "eTableAdmin\022\253\001\n\013CreateTable\022,.google.big" - + "table.admin.v2.CreateTableRequest\032\037.goog" - + "le.bigtable.admin.v2.Table\"M\332A\025parent,ta" - + "ble_id,table\202\323\344\223\002/\"*/v2/{parent=projects" - + "/*/instances/*}/tables:\001*\022\212\002\n\027CreateTabl" - + "eFromSnapshot\0228.google.bigtable.admin.v2" - + ".CreateTableFromSnapshotRequest\032\035.google" - + ".longrunning.Operation\"\225\001\312A(\n\005Table\022\037Cre" - + "ateTableFromSnapshotMetadata\332A\037parent,ta" - + "ble_id,source_snapshot\202\323\344\223\002B\"=/v2/{paren" - + "t=projects/*/instances/*}/tables:createF" - + "romSnapshot:\001*\022\244\001\n\nListTables\022+.google.b" - + "igtable.admin.v2.ListTablesRequest\032,.goo" - + "gle.bigtable.admin.v2.ListTablesResponse" - + "\";\332A\006parent\202\323\344\223\002,\022*/v2/{parent=projects/" - + "*/instances/*}/tables\022\221\001\n\010GetTable\022).goo" - + "gle.bigtable.admin.v2.GetTableRequest\032\037." - + "google.bigtable.admin.v2.Table\"9\332A\004name\202" - + "\323\344\223\002,\022*/v2/{name=projects/*/instances/*/" - + "tables/*}\022\316\001\n\013UpdateTable\022,.google.bigta" - + "ble.admin.v2.UpdateTableRequest\032\035.google" - + ".longrunning.Operation\"r\312A\034\n\005Table\022\023Upda" - + "teTableMetadata\332A\021table,update_mask\202\323\344\223\002" - + "920/v2/{table.name=projects/*/instances/" - + "*/tables/*}:\005table\022\216\001\n\013DeleteTable\022,.goo" - + "gle.bigtable.admin.v2.DeleteTableRequest" - + "\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223\002,*" - + "*/v2/{name=projects/*/instances/*/tables" - + "/*}\022\306\001\n\rUndeleteTable\022..google.bigtable." - + "admin.v2.UndeleteTableRequest\032\035.google.l" - + "ongrunning.Operation\"f\312A\036\n\005Table\022\025Undele" - + "teTableMetadata\332A\004name\202\323\344\223\0028\"3/v2/{name=" - + "projects/*/instances/*/tables/*}:undelet" - + "e:\001*\022\317\001\n\024ModifyColumnFamilies\0225.google.b" - + "igtable.admin.v2.ModifyColumnFamiliesReq" - + "uest\032\037.google.bigtable.admin.v2.Table\"_\332" - + "A\022name,modifications\202\323\344\223\002D\"?/v2/{name=pr" - + "ojects/*/instances/*/tables/*}:modifyCol" - + "umnFamilies:\001*\022\231\001\n\014DropRowRange\022-.google" - + ".bigtable.admin.v2.DropRowRangeRequest\032\026" - + ".google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{nam" - + "e=projects/*/instances/*/tables/*}:dropR" - + "owRange:\001*\022\350\001\n\030GenerateConsistencyToken\022" - + "9.google.bigtable.admin.v2.GenerateConsi" - + "stencyTokenRequest\032:.google.bigtable.adm" - + "in.v2.GenerateConsistencyTokenResponse\"U" - + "\332A\004name\202\323\344\223\002H\"C/v2/{name=projects/*/inst" - + "ances/*/tables/*}:generateConsistencyTok" - + "en:\001*\022\332\001\n\020CheckConsistency\0221.google.bigt" - + "able.admin.v2.CheckConsistencyRequest\0322." - + "google.bigtable.admin.v2.CheckConsistenc" - + "yResponse\"_\332A\026name,consistency_token\202\323\344\223" - + "\002@\";/v2/{name=projects/*/instances/*/tab" - + "les/*}:checkConsistency:\001*\022\352\001\n\rSnapshotT" - + "able\022..google.bigtable.admin.v2.Snapshot" - + "TableRequest\032\035.google.longrunning.Operat" - + "ion\"\211\001\312A!\n\010Snapshot\022\025SnapshotTableMetada" - + "ta\332A$name,cluster,snapshot_id,descriptio" - + "n\202\323\344\223\0028\"3/v2/{name=projects/*/instances/" - + "*/tables/*}:snapshot:\001*\022\250\001\n\013GetSnapshot\022" - + ",.google.bigtable.admin.v2.GetSnapshotRe" - + "quest\032\".google.bigtable.admin.v2.Snapsho" - + "t\"G\332A\004name\202\323\344\223\002:\0228/v2/{name=projects/*/i" - + "nstances/*/clusters/*/snapshots/*}\022\273\001\n\rL" - + "istSnapshots\022..google.bigtable.admin.v2." - + "ListSnapshotsRequest\032/.google.bigtable.a" - + "dmin.v2.ListSnapshotsResponse\"I\332A\006parent" - + "\202\323\344\223\002:\0228/v2/{parent=projects/*/instances" - + "/*/clusters/*}/snapshots\022\242\001\n\016DeleteSnaps" - + "hot\022/.google.bigtable.admin.v2.DeleteSna" - + "pshotRequest\032\026.google.protobuf.Empty\"G\332A" - + "\004name\202\323\344\223\002:*8/v2/{name=projects/*/instan" - + "ces/*/clusters/*/snapshots/*}\022\340\001\n\014Create" - + "Backup\022-.google.bigtable.admin.v2.Create" - + "BackupRequest\032\035.google.longrunning.Opera" - + "tion\"\201\001\312A\036\n\006Backup\022\024CreateBackupMetadata" - + "\332A\027parent,backup_id,backup\202\323\344\223\002@\"6/v2/{p" - + "arent=projects/*/instances/*/clusters/*}" - + "/backups:\006backup\022\240\001\n\tGetBackup\022*.google." - + "bigtable.admin.v2.GetBackupRequest\032 .goo" - + "gle.bigtable.admin.v2.Backup\"E\332A\004name\202\323\344" - + "\223\0028\0226/v2/{name=projects/*/instances/*/cl" - + "usters/*/backups/*}\022\303\001\n\014UpdateBackup\022-.g" - + "oogle.bigtable.admin.v2.UpdateBackupRequ" - + "est\032 .google.bigtable.admin.v2.Backup\"b\332" - + "A\022backup,update_mask\202\323\344\223\002G2=/v2/{backup." - + "name=projects/*/instances/*/clusters/*/b" - + "ackups/*}:\006backup\022\234\001\n\014DeleteBackup\022-.goo" - + "gle.bigtable.admin.v2.DeleteBackupReques" - + "t\032\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223\0028" - + "*6/v2/{name=projects/*/instances/*/clust" - + "ers/*/backups/*}\022\263\001\n\013ListBackups\022,.googl" - + "e.bigtable.admin.v2.ListBackupsRequest\032-" - + ".google.bigtable.admin.v2.ListBackupsRes" - + "ponse\"G\332A\006parent\202\323\344\223\0028\0226/v2/{parent=proj" - + "ects/*/instances/*/clusters/*}/backups\022\273" - + "\001\n\014RestoreTable\022-.google.bigtable.admin." - + "v2.RestoreTableRequest\032\035.google.longrunn" - + "ing.Operation\"]\312A\035\n\005Table\022\024RestoreTableM" - + "etadata\202\323\344\223\0027\"2/v2/{parent=projects/*/in" - + "stances/*}/tables:restore:\001*\022\354\001\n\014GetIamP" - + "olicy\022\".google.iam.v1.GetIamPolicyReques" - + "t\032\025.google.iam.v1.Policy\"\240\001\332A\010resource\202\323" - + "\344\223\002\216\001\";/v2/{resource=projects/*/instance" - + "s/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/{re" - + "source=projects/*/instances/*/clusters/*" - + "/backups/*}:getIamPolicy:\001*\022\363\001\n\014SetIamPo" - + "licy\022\".google.iam.v1.SetIamPolicyRequest" - + "\032\025.google.iam.v1.Policy\"\247\001\332A\017resource,po" - + "licy\202\323\344\223\002\216\001\";/v2/{resource=projects/*/in" - + "stances/*/tables/*}:setIamPolicy:\001*ZL\"G/" - + "v2/{resource=projects/*/instances/*/clus" - + "ters/*/backups/*}:setIamPolicy:\001*\022\244\002\n\022Te" - + "stIamPermissions\022(.google.iam.v1.TestIam" - + "PermissionsRequest\032).google.iam.v1.TestI" - + "amPermissionsResponse\"\270\001\332A\024resource,perm" - + "issions\202\323\344\223\002\232\001\"A/v2/{resource=projects/*" - + "/instances/*/tables/*}:testIamPermission" - + "s:\001*ZR\"M/v2/{resource=projects/*/instanc" - + "es/*/clusters/*/backups/*}:testIamPermis" - + "sions:\001*\032\336\002\312A\034bigtableadmin.googleapis.c" - + "om\322A\273\002https://www.googleapis.com/auth/bi" - + "gtable.admin,https://www.googleapis.com/" - + "auth/bigtable.admin.table,https://www.go" - + "ogleapis.com/auth/cloud-bigtable.admin,h" - + "ttps://www.googleapis.com/auth/cloud-big" - + "table.admin.table,https://www.googleapis" - + ".com/auth/cloud-platform,https://www.goo" - + "gleapis.com/auth/cloud-platform.read-onl" - + "yB\337\001\n\034com.google.bigtable.admin.v2B\027Bigt" - + "ableTableAdminProtoP\001Z=google.golang.org" - + "/genproto/googleapis/bigtable/admin/v2;a" - + "dmin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036" - + "Google\\Cloud\\Bigtable\\Admin\\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.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 75ff96f513..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\"" - + "\311\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" - + "me\030\002 \001(\tB\004\342A\001\002\0227\n\005state\030\003 \001(\0162(.google.b" - + "igtable.admin.v2.Instance.State\0225\n\004type\030" - + "\004 \001(\0162\'.google.bigtable.admin.v2.Instanc" - + "e.Type\022>\n\006labels\030\005 \003(\0132..google.bigtable" - + ".admin.v2.Instance.LabelsEntry\0225\n\013create" - + "_time\030\007 \001(\0132\032.google.protobuf.TimestampB" - + "\004\342A\001\003\022 \n\rsatisfies_pzs\030\010 \001(\010B\004\342A\001\003H\000\210\001\001\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" - + "READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UN" - + "SPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPME" - + "NT\020\002:S\352AP\n%bigtableadmin.googleapis.com/" - + "Instance\022\'projects/{project}/instances/{" - + "instance}B\020\n\016_satisfies_pzs\"_\n\022Autoscali" - + "ngTargets\022\037\n\027cpu_utilization_percent\030\002 \001" - + "(\005\022(\n storage_utilization_gib_per_node\030\003" - + " \001(\005\"Q\n\021AutoscalingLimits\022\035\n\017min_serve_n" - + "odes\030\001 \001(\005B\004\342A\001\002\022\035\n\017max_serve_nodes\030\002 \001(" - + "\005B\004\342A\001\002\"\327\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022<\n\010loc" - + "ation\030\002 \001(\tB*\342A\001\005\372A#\n!locations.googleap" - + "is.com/Location\022<\n\005state\030\003 \001(\0162\'.google." - + "bigtable.admin.v2.Cluster.StateB\004\342A\001\003\022\023\n" - + "\013serve_nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001" - + "(\0132/.google.bigtable.admin.v2.Cluster.Cl" - + "usterConfigH\000\022I\n\024default_storage_type\030\005 " - + "\001(\0162%.google.bigtable.admin.v2.StorageTy" - + "peB\004\342A\001\005\022S\n\021encryption_config\030\006 \001(\01322.go" - + "ogle.bigtable.admin.v2.Cluster.Encryptio" - + "nConfigB\004\342A\001\005\032\272\001\n\030ClusterAutoscalingConf" - + "ig\022M\n\022autoscaling_limits\030\001 \001(\0132+.google." - + "bigtable.admin.v2.AutoscalingLimitsB\004\342A\001" - + "\002\022O\n\023autoscaling_targets\030\002 \001(\0132,.google." - + "bigtable.admin.v2.AutoscalingTargetsB\004\342A" - + "\001\002\032o\n\rClusterConfig\022^\n\032cluster_autoscali" - + "ng_config\030\001 \001(\0132:.google.bigtable.admin." - + "v2.Cluster.ClusterAutoscalingConfig\032P\n\020E" - + "ncryptionConfig\022<\n\014kms_key_name\030\001 \001(\tB&\372" - + "A#\n!cloudkms.googleapis.com/CryptoKey\"Q\n" - + "\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014" - + "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" - + ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" - + "ter\022:projects/{project}/instances/{insta" - + "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" - + "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" - + "description\030\003 \001(\t\022g\n\035multi_cluster_routi" - + "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" - + ".v2.AppProfile.MultiClusterRoutingUseAny" - + "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" - + "gle.bigtable.admin.v2.AppProfile.SingleC" - + "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" - + "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" - + "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" - + "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" - + "admin.googleapis.com/AppProfile\022Aproject" - + "s/{project}/instances/{instance}/appProf" - + "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" - + "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" - + " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" - + "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." - + "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" - + "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" - + "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" - + "admin.googleapis.com/HotTablet\022Rprojects" - + "/{project}/instances/{instance}/clusters" - + "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" - + "om.google.bigtable.admin.v2B\rInstancePro" - + "toP\001Z=google.golang.org/genproto/googlea" - + "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" - + "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" - + "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" - + ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" - + "ryptoKey\022Sprojects/{project}/locations/{" - + "location}/keyRings/{key_ring}/cryptoKeys" - + "/{crypto_key}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_Instance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "State", - "Type", - "Labels", - "CreateTime", - "SatisfiesPzs", - "SatisfiesPzs", - }); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = - internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, - new java.lang.String[] { - "CpuUtilizationPercent", "StorageUtilizationGibPerNode", - }); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, - new java.lang.String[] { - "MinServeNodes", "MaxServeNodes", - }); - internal_static_google_bigtable_admin_v2_Cluster_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_descriptor, - new java.lang.String[] { - "Name", - "Location", - "State", - "ServeNodes", - "ClusterConfig", - "DefaultStorageType", - "EncryptionConfig", - "Config", - }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, - new java.lang.String[] { - "AutoscalingLimits", "AutoscalingTargets", - }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, - new java.lang.String[] { - "ClusterAutoscalingConfig", - }); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_bigtable_admin_v2_AppProfile_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_descriptor, - new java.lang.String[] { - "Name", - "Etag", - "Description", - "MultiClusterRoutingUseAny", - "SingleClusterRouting", - "RoutingPolicy", - }); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, - new java.lang.String[] { - "ClusterIds", - }); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, - new java.lang.String[] { - "ClusterId", "AllowTransactionalWrites", - }); - internal_static_google_bigtable_admin_v2_HotTablet_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_HotTablet_descriptor, - new java.lang.String[] { - "Name", - "TableName", - "StartTime", - "EndTime", - "StartKey", - "EndKey", - "NodeCpuUsagePercent", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java deleted file mode 100644 index 365c7215b1..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ /dev/null @@ -1,356 +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_ChangeStreamConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Snapshot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n$google/bigtable/admin/v2/table.proto\022\030" - + "google.bigtable.admin.v2\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032\036google/protobuf/duration.proto\032\037go" - + "ogle/protobuf/timestamp.proto\032\027google/rp" - + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" - + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" - + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." - + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" - + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" - + "tention_period\030\001 \001(\0132\031.google.protobuf.D" - + "uration\"\337\t\n\005Table\022\014\n\004name\030\001 \001(\t\022P\n\016clust" - + "er_states\030\002 \003(\01322.google.bigtable.admin." - + "v2.Table.ClusterStatesEntryB\004\342A\001\003\022L\n\017col" - + "umn_families\030\003 \003(\01323.google.bigtable.adm" - + "in.v2.Table.ColumnFamiliesEntry\022O\n\013granu" - + "larity\030\004 \001(\01624.google.bigtable.admin.v2." - + "Table.TimestampGranularityB\004\342A\001\005\022A\n\014rest" - + "ore_info\030\006 \001(\0132%.google.bigtable.admin.v" - + "2.RestoreInfoB\004\342A\001\003\022J\n\024change_stream_con" - + "fig\030\010 \001(\0132,.google.bigtable.admin.v2.Cha" - + "ngeStreamConfig\022\033\n\023deletion_protection\030\t" - + " \001(\010\032\310\002\n\014ClusterState\022^\n\021replication_sta" - + "te\030\001 \001(\0162=.google.bigtable.admin.v2.Tabl" - + "e.ClusterState.ReplicationStateB\004\342A\001\003\022G\n" - + "\017encryption_info\030\002 \003(\0132(.google.bigtable" - + ".admin.v2.EncryptionInfoB\004\342A\001\003\"\216\001\n\020Repli" - + "cationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INIT" - + "IALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025U" - + "NPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020REA" - + "DY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n" - + "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigta" - + "ble.admin.v2.Table.ClusterState:\0028\001\032]\n\023C" - + "olumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value" - + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" - + "Family:\0028\001\"I\n\024TimestampGranularity\022%\n!TI" - + "MESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MIL" - + "LIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tN" - + "AME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATI" - + "ON_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004" - + ":_\352A\\\n\"bigtableadmin.googleapis.com/Tabl" - + "e\0226projects/{project}/instances/{instanc" - + "e}/tables/{table}\"A\n\014ColumnFamily\0221\n\007gc_" - + "rule\030\001 \001(\0132 .google.bigtable.admin.v2.Gc" - + "Rule\"\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(" - + "\005H\000\022,\n\007max_age\030\002 \001(\0132\031.google.protobuf.D" - + "urationH\000\022E\n\014intersection\030\003 \001(\0132-.google" - + ".bigtable.admin.v2.GcRule.IntersectionH\000" - + "\0227\n\005union\030\004 \001(\0132&.google.bigtable.admin." - + "v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n\005rul" - + "es\030\001 \003(\0132 .google.bigtable.admin.v2.GcRu" - + "le\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigt" - + "able.admin.v2.GcRuleB\006\n\004rule\"\334\002\n\016Encrypt" - + "ionInfo\022V\n\017encryption_type\030\003 \001(\01627.googl" - + "e.bigtable.admin.v2.EncryptionInfo.Encry" - + "ptionTypeB\004\342A\001\003\0223\n\021encryption_status\030\004 \001" - + "(\0132\022.google.rpc.StatusB\004\342A\001\003\022J\n\017kms_key_" - + "version\030\002 \001(\tB1\342A\001\003\372A*\n(cloudkms.googlea" - + "pis.com/CryptoKeyVersion\"q\n\016EncryptionTy" - + "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031G" - + "OOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_M" - + "ANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004name" - + "\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.bi" - + "gtable.admin.v2.Table\022\027\n\017data_size_bytes" - + "\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\0227\n\005state\030\006 \001(\0162" - + "(.google.bigtable.admin.v2.Snapshot.Stat" - + "e\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STATE" - + "_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{\352" - + "Ax\n%bigtableadmin.googleapis.com/Snapsho" - + "t\022Oprojects/{project}/instances/{instanc" - + "e}/clusters/{cluster}/snapshots/{snapsho" - + "t}\"\244\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\033\n\014source_ta" - + "ble\030\002 \001(\tB\005\342A\002\005\002\0225\n\013expire_time\030\003 \001(\0132\032." - + "google.protobuf.TimestampB\004\342A\001\002\0224\n\nstart" - + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" - + "\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.google.protobu" - + "f.TimestampB\004\342A\001\003\022\030\n\nsize_bytes\030\006 \001(\003B\004\342" - + "A\001\003\022;\n\005state\030\007 \001(\0162&.google.bigtable.adm" - + "in.v2.Backup.StateB\004\342A\001\003\022G\n\017encryption_i" - + "nfo\030\t \001(\0132(.google.bigtable.admin.v2.Enc" - + "ryptionInfoB\004\342A\001\003\"7\n\005State\022\025\n\021STATE_UNSP" - + "ECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n" - + "#bigtableadmin.googleapis.com/Backup\022Kpr" - + "ojects/{project}/instances/{instance}/cl" - + "usters/{cluster}/backups/{backup}\"\250\001\n\nBa" - + "ckupInfo\022\024\n\006backup\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_" - + "time\030\002 \001(\0132\032.google.protobuf.TimestampB\004" - + "\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf" - + ".TimestampB\004\342A\001\003\022\032\n\014source_table\030\004 \001(\tB\004" - + "\342A\001\003*D\n\021RestoreSourceType\022#\n\037RESTORE_SOU" - + "RCE_TYPE_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034c" - + "om.google.bigtable.admin.v2B\nTableProtoP" - + "\001Z=google.golang.org/genproto/googleapis" - + "/bigtable/admin/v2;admin\252\002\036Google.Cloud." - + "Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigtabl" - + "e\\Admin\\V2\352\002\"Google::Cloud::Bigtable::Ad" - + "min::V2\352A\246\001\n(cloudkms.googleapis.com/Cry" - + "ptoKeyVersion\022zprojects/{project}/locati" - + "ons/{location}/keyRings/{key_ring}/crypt" - + "oKeys/{crypto_key}/cryptoKeyVersions/{cr" - + "ypto_key_version}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, - new java.lang.String[] { - "SourceType", "BackupInfo", "SourceInfo", - }); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, - new java.lang.String[] { - "RetentionPeriod", - }); - internal_static_google_bigtable_admin_v2_Table_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_descriptor, - new java.lang.String[] { - "Name", - "ClusterStates", - "ColumnFamilies", - "Granularity", - "RestoreInfo", - "ChangeStreamConfig", - "DeletionProtection", - }); - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, - new java.lang.String[] { - "ReplicationState", "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, - new java.lang.String[] { - "GcRule", - }); - internal_static_google_bigtable_admin_v2_GcRule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_descriptor, - new java.lang.String[] { - "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", - }); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, - new java.lang.String[] { - "Rules", - }); - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, - new java.lang.String[] { - "Rules", - }); - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "EncryptionStatus", "KmsKeyVersion", - }); - internal_static_google_bigtable_admin_v2_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Snapshot_descriptor, - new java.lang.String[] { - "Name", - "SourceTable", - "DataSizeBytes", - "CreateTime", - "DeleteTime", - "State", - "Description", - }); - internal_static_google_bigtable_admin_v2_Backup_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Backup_descriptor, - new java.lang.String[] { - "Name", - "SourceTable", - "ExpireTime", - "StartTime", - "EndTime", - "SizeBytes", - "State", - "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, - new java.lang.String[] { - "Backup", "StartTime", "EndTime", "SourceTable", - }); - 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 c03d87bf6e..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ /dev/null @@ -1,653 +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_RateLimitInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n!google/bigtable/v2/bigtable.proto\022\022goo" - + "gle.bigtable.v2\032\034google/api/annotations." - + "proto\032\027google/api/client.proto\032\037google/a" - + "pi/field_behavior.proto\032\031google/api/reso" - + "urce.proto\032\030google/api/routing.proto\032\035go" - + "ogle/bigtable/v2/data.proto\032&google/bigt" - + "able/v2/request_stats.proto\032\036google/prot" - + "obuf/duration.proto\032\037google/protobuf/tim" - + "estamp.proto\032\036google/protobuf/wrappers.p" - + "roto\032\027google/rpc/status.proto\"\221\003\n\017ReadRo" - + "wsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"" - + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" - + "p_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.googl" - + "e.bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.g" - + "oogle.bigtable.v2.RowFilter\022\022\n\nrows_limi" - + "t\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.go" - + "ogle.bigtable.v2.ReadRowsRequest.Request" - + "StatsView\"f\n\020RequestStatsView\022\"\n\036REQUEST" - + "_STATS_VIEW_UNSPECIFIED\020\000\022\026\n\022REQUEST_STA" - + "TS_NONE\020\001\022\026\n\022REQUEST_STATS_FULL\020\002\"\261\003\n\020Re" - + "adRowsResponse\022>\n\006chunks\030\001 \003(\0132..google." - + "bigtable.v2.ReadRowsResponse.CellChunk\022\034" - + "\n\024last_scanned_row_key\030\002 \001(\014\0227\n\rrequest_" - + "stats\030\003 \001(\0132 .google.bigtable.v2.Request" - + "Stats\032\205\002\n\tCellChunk\022\017\n\007row_key\030\001 \001(\014\0221\n\013" - + "family_name\030\002 \001(\0132\034.google.protobuf.Stri" - + "ngValue\022.\n\tqualifier\030\003 \001(\0132\033.google.prot" - + "obuf.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\nvalu" - + "e_size\030\007 \001(\005\022\023\n\treset_row\030\010 \001(\010H\000\022\024\n\ncom" - + "mit_row\030\t \001(\010H\000B\014\n\nrow_status\"o\n\024SampleR" - + "owKeysRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372" - + "A$\n\"bigtableadmin.googleapis.com/Table\022\026" - + "\n\016app_profile_id\030\002 \001(\t\">\n\025SampleRowKeysR" - + "esponse\022\017\n\007row_key\030\001 \001(\014\022\024\n\014offset_bytes" - + "\030\002 \001(\003\"\271\001\n\020MutateRowRequest\022?\n\ntable_nam" - + "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" - + "is.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\025\n\007" - + "row_key\030\002 \001(\014B\004\342A\001\002\0225\n\tmutations\030\003 \003(\0132\034" - + ".google.bigtable.v2.MutationB\004\342A\001\002\"\023\n\021Mu" - + "tateRowResponse\"\201\002\n\021MutateRowsRequest\022?\n" - + "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\022\026\n\016app_profile_id" - + "\030\003 \001(\t\022B\n\007entries\030\002 \003(\0132+.google.bigtabl" - + "e.v2.MutateRowsRequest.EntryB\004\342A\001\002\032O\n\005En" - + "try\022\017\n\007row_key\030\001 \001(\014\0225\n\tmutations\030\002 \003(\0132" - + "\034.google.bigtable.v2.MutationB\004\342A\001\002\"\344\001\n\022" - + "MutateRowsResponse\022=\n\007entries\030\001 \003(\0132,.go" - + "ogle.bigtable.v2.MutateRowsResponse.Entr" - + "y\022?\n\017rate_limit_info\030\003 \001(\0132!.google.bigt" - + "able.v2.RateLimitInfoH\000\210\001\001\032:\n\005Entry\022\r\n\005i" - + "ndex\030\001 \001(\003\022\"\n\006status\030\002 \001(\0132\022.google.rpc." - + "StatusB\022\n\020_rate_limit_info\"J\n\rRateLimitI" - + "nfo\022)\n\006period\030\001 \001(\0132\031.google.protobuf.Du" - + "ration\022\016\n\006factor\030\002 \001(\001\"\260\002\n\030CheckAndMutat" - + "eRowRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$" - + "\n\"bigtableadmin.googleapis.com/Table\022\026\n\016" - + "app_profile_id\030\007 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342" - + "A\001\002\0227\n\020predicate_filter\030\006 \001(\0132\035.google.b" - + "igtable.v2.RowFilter\0224\n\016true_mutations\030\004" - + " \003(\0132\034.google.bigtable.v2.Mutation\0225\n\017fa" - + "lse_mutations\030\005 \003(\0132\034.google.bigtable.v2" - + ".Mutation\"6\n\031CheckAndMutateRowResponse\022\031" - + "\n\021predicate_matched\030\001 \001(\010\"j\n\022PingAndWarm" - + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" - + "admin.googleapis.com/Instance\022\026\n\016app_pro" - + "file_id\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"\311\001\n" - + "\031ReadModifyWriteRowRequest\022?\n\ntable_name" - + "\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleapi" - + "s.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\025\n\007r" - + "ow_key\030\002 \001(\014B\004\342A\001\002\022<\n\005rules\030\003 \003(\0132\'.goog" - + "le.bigtable.v2.ReadModifyWriteRuleB\004\342A\001\002" - + "\"B\n\032ReadModifyWriteRowResponse\022$\n\003row\030\001 " - + "\001(\0132\027.google.bigtable.v2.Row\"\207\001\n,Generat" - + "eInitialChangeStreamPartitionsRequest\022?\n" - + "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\022\026\n\016app_profile_id" - + "\030\002 \001(\t\"g\n-GenerateInitialChangeStreamPar" - + "titionsResponse\0226\n\tpartition\030\001 \001(\0132#.goo" - + "gle.bigtable.v2.StreamPartition\"\234\003\n\027Read" - + "ChangeStreamRequest\022?\n\ntable_name\030\001 \001(\tB" - + "+\342A\001\002\372A$\n\"bigtableadmin.googleapis.com/T" - + "able\022\026\n\016app_profile_id\030\002 \001(\t\0226\n\tpartitio" - + "n\030\003 \001(\0132#.google.bigtable.v2.StreamParti" - + "tion\0220\n\nstart_time\030\004 \001(\0132\032.google.protob" - + "uf.TimestampH\000\022K\n\023continuation_tokens\030\006 " - + "\001(\0132,.google.bigtable.v2.StreamContinuat" - + "ionTokensH\000\022,\n\010end_time\030\005 \001(\0132\032.google.p" - + "rotobuf.Timestamp\0225\n\022heartbeat_duration\030" - + "\007 \001(\0132\031.google.protobuf.DurationB\014\n\nstar" - + "t_from\"\251\n\n\030ReadChangeStreamResponse\022N\n\013d" - + "ata_change\030\001 \001(\01327.google.bigtable.v2.Re" - + "adChangeStreamResponse.DataChangeH\000\022K\n\th" - + "eartbeat\030\002 \001(\01326.google.bigtable.v2.Read" - + "ChangeStreamResponse.HeartbeatH\000\022P\n\014clos" - + "e_stream\030\003 \001(\01328.google.bigtable.v2.Read" - + "ChangeStreamResponse.CloseStreamH\000\032\364\001\n\rM" - + "utationChunk\022X\n\nchunk_info\030\001 \001(\0132D.googl" - + "e.bigtable.v2.ReadChangeStreamResponse.M" - + "utationChunk.ChunkInfo\022.\n\010mutation\030\002 \001(\013" - + "2\034.google.bigtable.v2.Mutation\032Y\n\tChunkI" - + "nfo\022\032\n\022chunked_value_size\030\001 \001(\005\022\034\n\024chunk" - + "ed_value_offset\030\002 \001(\005\022\022\n\nlast_chunk\030\003 \001(" - + "\010\032\306\003\n\nDataChange\022J\n\004type\030\001 \001(\0162<.google." - + "bigtable.v2.ReadChangeStreamResponse.Dat" - + "aChange.Type\022\031\n\021source_cluster_id\030\002 \001(\t\022" - + "\017\n\007row_key\030\003 \001(\014\0224\n\020commit_timestamp\030\004 \001" - + "(\0132\032.google.protobuf.Timestamp\022\022\n\ntiebre" - + "aker\030\005 \001(\005\022J\n\006chunks\030\006 \003(\0132:.google.bigt" - + "able.v2.ReadChangeStreamResponse.Mutatio" - + "nChunk\022\014\n\004done\030\010 \001(\010\022\r\n\005token\030\t \001(\t\022;\n\027e" - + "stimated_low_watermark\030\n \001(\0132\032.google.pr" - + "otobuf.Timestamp\"P\n\004Type\022\024\n\020TYPE_UNSPECI" - + "FIED\020\000\022\010\n\004USER\020\001\022\026\n\022GARBAGE_COLLECTION\020\002" - + "\022\020\n\014CONTINUATION\020\003\032\221\001\n\tHeartbeat\022G\n\022cont" - + "inuation_token\030\001 \001(\0132+.google.bigtable.v" - + "2.StreamContinuationToken\022;\n\027estimated_l" - + "ow_watermark\030\002 \001(\0132\032.google.protobuf.Tim" - + "estamp\032\270\001\n\013CloseStream\022\"\n\006status\030\001 \001(\0132\022" - + ".google.rpc.Status\022H\n\023continuation_token" - + "s\030\002 \003(\0132+.google.bigtable.v2.StreamConti" - + "nuationToken\022;\n\016new_partitions\030\003 \003(\0132#.g" - + "oogle.bigtable.v2.StreamPartitionB\017\n\rstr" - + "eam_record2\327\030\n\010Bigtable\022\233\002\n\010ReadRows\022#.g" - + "oogle.bigtable.v2.ReadRowsRequest\032$.goog" - + "le.bigtable.v2.ReadRowsResponse\"\301\001\332A\ntab" - + "le_name\332A\031table_name,app_profile_id\202\323\344\223\002" - + ">\"9/v2/{table_name=projects/*/instances/" - + "*/tables/*}:readRows:\001*\212\323\344\223\002N\022:\n\ntable_n" - + "ame\022,{table_name=projects/*/instances/*/" - + "tables/*}\022\020\n\016app_profile_id0\001\022\254\002\n\rSample" - + "RowKeys\022(.google.bigtable.v2.SampleRowKe" - + "ysRequest\032).google.bigtable.v2.SampleRow" - + "KeysResponse\"\303\001\332A\ntable_name\332A\031table_nam" - + "e,app_profile_id\202\323\344\223\002@\022>/v2/{table_name=" - + "projects/*/instances/*/tables/*}:sampleR" - + "owKeys\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=" - + "projects/*/instances/*/tables/*}\022\020\n\016app_" - + "profile_id0\001\022\301\002\n\tMutateRow\022$.google.bigt" - + "able.v2.MutateRowRequest\032%.google.bigtab" - + "le.v2.MutateRowResponse\"\346\001\332A\034table_name," - + "row_key,mutations\332A+table_name,row_key,m" - + "utations,app_profile_id\202\323\344\223\002?\":/v2/{tabl" - + "e_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\022\263\002\n\nMutateRows\022%.google" - + ".bigtable.v2.MutateRowsRequest\032&.google." - + "bigtable.v2.MutateRowsResponse\"\323\001\332A\022tabl" - + "e_name,entries\332A!table_name,entries,app_" - + "profile_id\202\323\344\223\002@\";/v2/{table_name=projec" - + "ts/*/instances/*/tables/*}:mutateRows:\001*" - + "\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=projec" - + "ts/*/instances/*/tables/*}\022\020\n\016app_profil" - + "e_id0\001\022\255\003\n\021CheckAndMutateRow\022,.google.bi" - + "gtable.v2.CheckAndMutateRowRequest\032-.goo" - + "gle.bigtable.v2.CheckAndMutateRowRespons" - + "e\"\272\002\332ABtable_name,row_key,predicate_filt" - + "er,true_mutations,false_mutations\332AQtabl" - + "e_name,row_key,predicate_filter,true_mut" - + "ations,false_mutations,app_profile_id\202\323\344" - + "\223\002G\"B/v2/{table_name=projects/*/instance" - + "s/*/tables/*}:checkAndMutateRow:\001*\212\323\344\223\002N" - + "\022:\n\ntable_name\022,{table_name=projects/*/i" - + "nstances/*/tables/*}\022\020\n\016app_profile_id\022\356" - + "\001\n\013PingAndWarm\022&.google.bigtable.v2.Ping" - + "AndWarmRequest\032\'.google.bigtable.v2.Ping" - + "AndWarmResponse\"\215\001\332A\004name\332A\023name,app_pro" - + "file_id\202\323\344\223\002+\"&/v2/{name=projects/*/inst" - + "ances/*}:ping:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=pr" - + "ojects/*/instances/*}\022\020\n\016app_profile_id\022" - + "\335\002\n\022ReadModifyWriteRow\022-.google.bigtable" - + ".v2.ReadModifyWriteRowRequest\032..google.b" - + "igtable.v2.ReadModifyWriteRowResponse\"\347\001" - + "\332A\030table_name,row_key,rules\332A\'table_name" - + ",row_key,rules,app_profile_id\202\323\344\223\002H\"C/v2" - + "/{table_name=projects/*/instances/*/tabl" - + "es/*}:readModifyWriteRow:\001*\212\323\344\223\002N\022:\n\ntab" - + "le_name\022,{table_name=projects/*/instance" - + "s/*/tables/*}\022\020\n\016app_profile_id\022\273\002\n%Gene" - + "rateInitialChangeStreamPartitions\022@.goog" - + "le.bigtable.v2.GenerateInitialChangeStre" - + "amPartitionsRequest\032A.google.bigtable.v2" - + ".GenerateInitialChangeStreamPartitionsRe" - + "sponse\"\212\001\332A\ntable_name\332A\031table_name,app_" - + "profile_id\202\323\344\223\002[\"V/v2/{table_name=projec" - + "ts/*/instances/*/tables/*}:generateIniti" - + "alChangeStreamPartitions:\001*0\001\022\346\001\n\020ReadCh" - + "angeStream\022+.google.bigtable.v2.ReadChan" - + "geStreamRequest\032,.google.bigtable.v2.Rea" - + "dChangeStreamResponse\"u\332A\ntable_name\332A\031t" - + "able_name,app_profile_id\202\323\344\223\002F\"A/v2/{tab" - + "le_name=projects/*/instances/*/tables/*}" - + ":readChangeStream:\001*0\001\032\333\002\312A\027bigtable.goo" - + "gleapis.com\322A\275\002https://www.googleapis.co" - + "m/auth/bigtable.data,https://www.googlea" - + "pis.com/auth/bigtable.data.readonly,http" - + "s://www.googleapis.com/auth/cloud-bigtab" - + "le.data,https://www.googleapis.com/auth/" - + "cloud-bigtable.data.readonly,https://www" - + ".googleapis.com/auth/cloud-platform,http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rm.read-onlyB\353\002\n\026com.google.bigtable.v2B" - + "\rBigtableProtoP\001Z:google.golang.org/genp" - + "roto/googleapis/bigtable/v2;bigtable\252\002\030G" - + "oogle.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\B" - + "igtable\\V2\352\002\033Google::Cloud::Bigtable::V2" - + "\352AP\n%bigtableadmin.googleapis.com/Instan" - + "ce\022\'projects/{project}/instances/{instan" - + "ce}\352A\\\n\"bigtableadmin.googleapis.com/Tab" - + "le\0226projects/{project}/instances/{instan" - + "ce}/tables/{table}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.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "Rows", "Filter", "RowsLimit", "RequestStatsView", - }); - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, - new java.lang.String[] { - "Chunks", "LastScannedRowKey", "RequestStats", - }); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, - new java.lang.String[] { - "RowKey", - "FamilyName", - "Qualifier", - "TimestampMicros", - "Labels", - "Value", - "ValueSize", - "ResetRow", - "CommitRow", - "RowStatus", - }); - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", - }); - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, - new java.lang.String[] { - "RowKey", "OffsetBytes", - }); - internal_static_google_bigtable_v2_MutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "RowKey", "Mutations", - }); - internal_static_google_bigtable_v2_MutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "Entries", - }); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, - new java.lang.String[] { - "RowKey", "Mutations", - }); - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, - new java.lang.String[] { - "Entries", "RateLimitInfo", "RateLimitInfo", - }); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, - new java.lang.String[] { - "Index", "Status", - }); - internal_static_google_bigtable_v2_RateLimitInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RateLimitInfo_descriptor, - new java.lang.String[] { - "Period", "Factor", - }); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "RowKey", - "PredicateFilter", - "TrueMutations", - "FalseMutations", - }); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, - new java.lang.String[] { - "PredicateMatched", - }); - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, - new java.lang.String[] { - "Name", "AppProfileId", - }); - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "RowKey", "Rules", - }); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, - new java.lang.String[] { - "Row", - }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", - }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, - new java.lang.String[] { - "Partition", - }); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "Partition", - "StartTime", - "ContinuationTokens", - "EndTime", - "HeartbeatDuration", - "StartFrom", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, - new java.lang.String[] { - "DataChange", "Heartbeat", "CloseStream", "StreamRecord", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, - new java.lang.String[] { - "ChunkInfo", "Mutation", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, - new java.lang.String[] { - "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, - new java.lang.String[] { - "Type", - "SourceClusterId", - "RowKey", - "CommitTimestamp", - "Tiebreaker", - "Chunks", - "Done", - "Token", - "EstimatedLowWatermark", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(2); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, - new java.lang.String[] { - "ContinuationToken", "EstimatedLowWatermark", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(3); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, - new java.lang.String[] { - "Status", "ContinuationTokens", "NewPartitions", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.api.RoutingProto.routing); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.RoutingProto.getDescriptor(); - com.google.bigtable.v2.DataProto.getDescriptor(); - com.google.bigtable.v2.RequestStatsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java deleted file mode 100644 index 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 e236dc1456..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ /dev/null @@ -1,415 +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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamPartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\035google/bigtable/v2/data.proto\022\022google." - + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" - + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" - + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" - + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" - + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." - + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" - + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" - + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" - + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" - + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" - + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" - + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." - + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" - + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" - + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" - + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" - + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" - + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" - + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" - + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" - + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" - + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" - + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" - + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" - + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" - + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" - + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" - + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" - + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" - + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" - + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" - + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" - + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" - + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" - + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" - + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" - + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" - + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" - + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" - + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" - + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" - + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" - + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" - + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" - + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" - + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" - + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" - + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" - + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" - + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" - + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" - + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" - + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." - + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." - + "google.bigtable.v2.Mutation.DeleteFromCo" - + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" - + "gle.bigtable.v2.Mutation.DeleteFromFamil" - + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" - + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" - + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" - + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" - + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" - + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" - + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" - + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" - + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" - + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" - + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" - + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" - + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" - + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" - + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" - + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" - + "tinuationToken\"`\n\027StreamContinuationToke" - + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" - + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" - + ".google.bigtable.v2B\tDataProtoP\001Z:google" - + ".golang.org/genproto/googleapis/bigtable" - + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" - + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" - + "ud::Bigtable::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_bigtable_v2_Row_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Row_descriptor, - new java.lang.String[] { - "Key", "Families", - }); - internal_static_google_bigtable_v2_Family_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_Family_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Family_descriptor, - new java.lang.String[] { - "Name", "Columns", - }); - internal_static_google_bigtable_v2_Column_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_Column_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Column_descriptor, - new java.lang.String[] { - "Qualifier", "Cells", - }); - internal_static_google_bigtable_v2_Cell_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_Cell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Cell_descriptor, - new java.lang.String[] { - "TimestampMicros", "Value", "Labels", - }); - internal_static_google_bigtable_v2_RowRange_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowRange_descriptor, - new java.lang.String[] { - "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", - }); - internal_static_google_bigtable_v2_RowSet_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowSet_descriptor, - new java.lang.String[] { - "RowKeys", "RowRanges", - }); - internal_static_google_bigtable_v2_ColumnRange_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ColumnRange_descriptor, - new java.lang.String[] { - "FamilyName", - "StartQualifierClosed", - "StartQualifierOpen", - "EndQualifierClosed", - "EndQualifierOpen", - "StartQualifier", - "EndQualifier", - }); - internal_static_google_bigtable_v2_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_TimestampRange_descriptor, - new java.lang.String[] { - "StartTimestampMicros", "EndTimestampMicros", - }); - internal_static_google_bigtable_v2_ValueRange_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ValueRange_descriptor, - new java.lang.String[] { - "StartValueClosed", - "StartValueOpen", - "EndValueClosed", - "EndValueOpen", - "StartValue", - "EndValue", - }); - internal_static_google_bigtable_v2_RowFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_descriptor, - new java.lang.String[] { - "Chain", - "Interleave", - "Condition", - "Sink", - "PassAllFilter", - "BlockAllFilter", - "RowKeyRegexFilter", - "RowSampleFilter", - "FamilyNameRegexFilter", - "ColumnQualifierRegexFilter", - "ColumnRangeFilter", - "TimestampRangeFilter", - "ValueRegexFilter", - "ValueRangeFilter", - "CellsPerRowOffsetFilter", - "CellsPerRowLimitFilter", - "CellsPerColumnLimitFilter", - "StripValueTransformer", - "ApplyLabelTransformer", - "Filter", - }); - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, - new java.lang.String[] { - "Filters", - }); - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, - new java.lang.String[] { - "Filters", - }); - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, - new java.lang.String[] { - "PredicateFilter", "TrueFilter", "FalseFilter", - }); - internal_static_google_bigtable_v2_Mutation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_descriptor, - new java.lang.String[] { - "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", - }); - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "TimeRange", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, - new java.lang.String[] { - "FamilyName", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", - }); - internal_static_google_bigtable_v2_StreamPartition_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamPartition_descriptor, - new java.lang.String[] { - "RowRange", - }); - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, - new java.lang.String[] { - "Tokens", - }); - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, - new java.lang.String[] { - "Partition", "Token", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java deleted file mode 100644 index d4c7af3c72..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.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/feature_flags.proto - -package com.google.bigtable.v2; - -public interface FeatureFlagsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FeatureFlags) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Notify the server that the client enables batch write flow control by
-   * requesting RateLimitInfo from MutateRowsResponse.
-   * 
- * - * bool mutate_rows_rate_limit = 3; - * - * @return The mutateRowsRateLimit. - */ - boolean getMutateRowsRateLimit(); -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java deleted file mode 100644 index 3bbdf09eca..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java +++ /dev/null @@ -1,66 +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/feature_flags.proto - -package com.google.bigtable.v2; - -public final class FeatureFlagsProto { - private FeatureFlagsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_FeatureFlags_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/feature_flags.proto" - + "\022\022google.bigtable.v2\".\n\014FeatureFlags\022\036\n\026" - + "mutate_rows_rate_limit\030\003 \001(\010B\275\001\n\026com.goo" - + "gle.bigtable.v2B\021FeatureFlagsProtoP\001Z:go" - + "ogle.golang.org/genproto/googleapis/bigt" - + "able/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_FeatureFlags_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FeatureFlags_descriptor, - new java.lang.String[] { - "MutateRowsRateLimit", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java deleted file mode 100644 index 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/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/RequestStatsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java deleted file mode 100644 index 512d606b8b..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java +++ /dev/null @@ -1,118 +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_ReadIterationStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_FullReadStatsView_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RequestStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/request_stats.proto" - + "\022\022google.bigtable.v2\032\036google/protobuf/du" - + "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" - + "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" - + "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" - + "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" - + "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" - + "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" - + "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" - + "2&.google.bigtable.v2.ReadIterationStats" - + "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" - + ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" - + "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" - + ".google.bigtable.v2.FullReadStatsViewH\000B" - + "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" - + "B\021RequestStatsProtoP\001Z:google.golang.org" - + "/genproto/googleapis/bigtable/v2;bigtabl" - + "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" - + "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" - + "e::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_bigtable_v2_ReadIterationStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadIterationStats_descriptor, - new java.lang.String[] { - "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", - }); - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor, - new java.lang.String[] { - "FrontendServerLatency", - }); - internal_static_google_bigtable_v2_FullReadStatsView_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FullReadStatsView_descriptor, - new java.lang.String[] { - "ReadIterationStats", "RequestLatencyStats", - }); - internal_static_google_bigtable_v2_RequestStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestStats_descriptor, - new java.lang.String[] { - "FullReadStatsView", "StatsView", - }); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java deleted file mode 100644 index 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 948a4d92c7e9131062612b6722f0725c1bc5e50d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 26 Jun 2023 23:24:02 +0000 Subject: [PATCH 2/2] =?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 | 2790 +++++++++++ .../admin/v2/BigtableTableAdminGrpc.java | 2306 +++++---- .../com/google/bigtable/v2/BigtableGrpc.java | 1298 ++++++ .../v2/BaseBigtableInstanceAdminClient.java | 3284 ------------- .../v2/BaseBigtableInstanceAdminSettings.java | 527 --- .../v2/BaseBigtableTableAdminClient.java | 4132 ----------------- .../v2/BaseBigtableTableAdminSettings.java | 560 --- .../bigtable/admin/v2/gapic_metadata.json | 162 - .../cloud/bigtable/admin/v2/package-info.java | 69 - .../v2/stub/BigtableInstanceAdminStub.java | 206 - .../BigtableInstanceAdminStubSettings.java | 1237 ----- .../admin/v2/stub/BigtableTableAdminStub.java | 230 - .../stub/BigtableTableAdminStubSettings.java | 1375 ------ ...cBigtableInstanceAdminCallableFactory.java | 113 - .../stub/GrpcBigtableInstanceAdminStub.java | 896 ---- ...GrpcBigtableTableAdminCallableFactory.java | 113 - .../v2/stub/GrpcBigtableTableAdminStub.java | 994 ---- .../data/v2/BaseBigtableDataClient.java | 1376 ------ .../data/v2/BaseBigtableDataSettings.java | 308 -- .../bigtable/data/v2/gapic_metadata.json | 45 - .../cloud/bigtable/data/v2/package-info.java | 45 - .../bigtable/data/v2/stub/BigtableStub.java | 97 - .../data/v2/stub/BigtableStubSettings.java | 576 --- .../v2/stub/GrpcBigtableCallableFactory.java | 113 - .../data/v2/stub/GrpcBigtableStub.java | 501 -- .../BaseBigtableInstanceAdminClientTest.java | 1782 ------- .../v2/BaseBigtableTableAdminClientTest.java | 2375 ---------- .../admin/v2/MockBigtableInstanceAdmin.java | 59 - .../v2/MockBigtableInstanceAdminImpl.java | 525 --- .../admin/v2/MockBigtableTableAdmin.java | 59 - .../admin/v2/MockBigtableTableAdminImpl.java | 591 --- .../data/v2/BaseBigtableDataClientTest.java | 1084 ----- .../cloud/bigtable/data/v2/MockBigtable.java | 59 - .../bigtable/data/v2/MockBigtableImpl.java | 269 -- .../admin/v2/BigtableInstanceAdminGrpc.java | 2167 --------- .../com/google/bigtable/v2/BigtableGrpc.java | 1030 ---- .../admin/v2/BigtableInstanceAdminProto.java | 618 --- .../admin/v2/BigtableTableAdminProto.java | 723 --- .../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 | 309 -- .../v2/UndeleteTableRequestOrBuilder.java | 33 - .../v2/UpdateAppProfileMetadataOrBuilder.java | 9 - .../com/google/bigtable/v2/BigtableProto.java | 578 --- .../CheckAndMutateRowResponseOrBuilder.java | 20 - .../com/google/bigtable/v2/DataProto.java | 358 -- .../google/bigtable/v2/FeatureFlagsProto.java | 54 - .../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 | 1592 ++++--- .../bigtable/admin/v2/AppProfileName.java | 0 .../admin/v2/AppProfileOrBuilder.java | 88 +- .../bigtable/admin/v2/AutoscalingLimits.java | 305 +- .../admin/v2/AutoscalingLimitsOrBuilder.java | 24 +- .../bigtable/admin/v2/AutoscalingTargets.java | 309 +- .../admin/v2/AutoscalingTargetsOrBuilder.java | 24 +- .../com/google/bigtable/admin/v2/Backup.java | 1088 +++-- .../google/bigtable/admin/v2/BackupInfo.java | 619 ++- .../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 | 781 ++++ .../bigtable/admin/v2/ChangeStreamConfig.java | 344 +- .../admin/v2/ChangeStreamConfigOrBuilder.java | 26 +- .../admin/v2/CheckConsistencyRequest.java | 419 +- .../v2/CheckConsistencyRequestOrBuilder.java | 44 +- .../admin/v2/CheckConsistencyResponse.java | 287 +- .../v2/CheckConsistencyResponseOrBuilder.java | 39 + .../com/google/bigtable/admin/v2/Cluster.java | 2324 +++++---- .../google/bigtable/admin/v2/ClusterName.java | 0 .../bigtable/admin/v2/ClusterOrBuilder.java | 103 +- .../bigtable/admin/v2/ColumnFamily.java | 326 +- .../admin/v2/ColumnFamilyOrBuilder.java | 26 +- .../google/bigtable/admin/v2/CommonProto.java | 76 + .../admin/v2/CreateAppProfileRequest.java | 598 ++- .../v2/CreateAppProfileRequestOrBuilder.java | 67 +- .../admin/v2/CreateBackupMetadata.java | 557 ++- .../v2/CreateBackupMetadataOrBuilder.java | 52 +- .../admin/v2/CreateBackupRequest.java | 538 ++- .../v2/CreateBackupRequestOrBuilder.java | 61 +- .../admin/v2/CreateClusterMetadata.java | 1351 +++--- .../v2/CreateClusterMetadataOrBuilder.java | 87 +- .../admin/v2/CreateClusterRequest.java | 553 ++- .../v2/CreateClusterRequestOrBuilder.java | 61 +- .../admin/v2/CreateInstanceMetadata.java | 528 ++- .../v2/CreateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/CreateInstanceRequest.java | 837 ++-- .../v2/CreateInstanceRequestOrBuilder.java | 114 +- .../v2/CreateTableFromSnapshotMetadata.java | 557 ++- ...ateTableFromSnapshotMetadataOrBuilder.java | 45 +- .../v2/CreateTableFromSnapshotRequest.java | 525 ++- ...eateTableFromSnapshotRequestOrBuilder.java | 61 +- .../bigtable/admin/v2/CreateTableRequest.java | 953 ++-- .../admin/v2/CreateTableRequestOrBuilder.java | 76 +- .../admin/v2/DeleteAppProfileRequest.java | 381 +- .../v2/DeleteAppProfileRequestOrBuilder.java | 38 +- .../admin/v2/DeleteBackupRequest.java | 347 +- .../v2/DeleteBackupRequestOrBuilder.java | 58 + .../admin/v2/DeleteClusterRequest.java | 347 +- .../v2/DeleteClusterRequestOrBuilder.java | 56 + .../admin/v2/DeleteInstanceRequest.java | 347 +- .../v2/DeleteInstanceRequestOrBuilder.java | 56 + .../admin/v2/DeleteSnapshotRequest.java | 347 +- .../v2/DeleteSnapshotRequestOrBuilder.java | 58 + .../bigtable/admin/v2/DeleteTableRequest.java | 343 +- .../admin/v2/DeleteTableRequestOrBuilder.java | 58 + .../admin/v2/DropRowRangeRequest.java | 493 +- .../v2/DropRowRangeRequestOrBuilder.java | 47 +- .../bigtable/admin/v2/EncryptionInfo.java | 634 ++- .../admin/v2/EncryptionInfoOrBuilder.java | 66 +- .../com/google/bigtable/admin/v2/GcRule.java | 1423 +++--- .../bigtable/admin/v2/GcRuleOrBuilder.java | 48 +- .../v2/GenerateConsistencyTokenRequest.java | 363 +- ...erateConsistencyTokenRequestOrBuilder.java | 58 + .../v2/GenerateConsistencyTokenResponse.java | 335 +- ...rateConsistencyTokenResponseOrBuilder.java | 50 + .../admin/v2/GetAppProfileRequest.java | 347 +- .../v2/GetAppProfileRequestOrBuilder.java | 56 + .../bigtable/admin/v2/GetBackupRequest.java | 340 +- .../admin/v2/GetBackupRequestOrBuilder.java | 58 + .../bigtable/admin/v2/GetClusterRequest.java | 340 +- .../admin/v2/GetClusterRequestOrBuilder.java | 56 + .../bigtable/admin/v2/GetInstanceRequest.java | 343 +- .../admin/v2/GetInstanceRequestOrBuilder.java | 56 + .../bigtable/admin/v2/GetSnapshotRequest.java | 343 +- .../admin/v2/GetSnapshotRequestOrBuilder.java | 58 + .../bigtable/admin/v2/GetTableRequest.java | 390 +- .../admin/v2/GetTableRequestOrBuilder.java | 41 +- .../google/bigtable/admin/v2/HotTablet.java | 793 ++-- .../bigtable/admin/v2/HotTabletOrBuilder.java | 91 +- .../google/bigtable/admin/v2/Instance.java | 1033 +++-- .../bigtable/admin/v2/InstanceName.java | 0 .../bigtable/admin/v2/InstanceOrBuilder.java | 101 +- .../bigtable/admin/v2/InstanceProto.java | 314 ++ .../admin/v2/ListAppProfilesRequest.java | 450 +- .../v2/ListAppProfilesRequestOrBuilder.java | 47 +- .../admin/v2/ListAppProfilesResponse.java | 591 ++- .../v2/ListAppProfilesResponseOrBuilder.java | 63 +- .../bigtable/admin/v2/ListBackupsRequest.java | 592 ++- .../admin/v2/ListBackupsRequestOrBuilder.java | 65 +- .../admin/v2/ListBackupsResponse.java | 479 +- .../v2/ListBackupsResponseOrBuilder.java | 46 +- .../admin/v2/ListClustersRequest.java | 419 +- .../v2/ListClustersRequestOrBuilder.java | 44 +- .../admin/v2/ListClustersResponse.java | 587 ++- .../v2/ListClustersResponseOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsRequest.java | 616 ++- .../v2/ListHotTabletsRequestOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsResponse.java | 480 +- .../v2/ListHotTabletsResponseOrBuilder.java | 45 +- .../admin/v2/ListInstancesRequest.java | 419 +- .../v2/ListInstancesRequestOrBuilder.java | 44 +- .../admin/v2/ListInstancesResponse.java | 587 ++- .../v2/ListInstancesResponseOrBuilder.java | 63 +- .../admin/v2/ListSnapshotsRequest.java | 450 +- .../v2/ListSnapshotsRequestOrBuilder.java | 47 +- .../admin/v2/ListSnapshotsResponse.java | 479 +- .../v2/ListSnapshotsResponseOrBuilder.java | 45 +- .../bigtable/admin/v2/ListTablesRequest.java | 493 +- .../admin/v2/ListTablesRequestOrBuilder.java | 53 +- .../bigtable/admin/v2/ListTablesResponse.java | 475 +- .../admin/v2/ListTablesResponseOrBuilder.java | 46 +- .../bigtable/admin/v2/LocationName.java | 0 .../admin/v2/ModifyColumnFamiliesRequest.java | 1316 ++++-- .../ModifyColumnFamiliesRequestOrBuilder.java | 74 +- .../bigtable/admin/v2/OperationProgress.java | 440 +- .../admin/v2/OperationProgressOrBuilder.java | 37 +- .../v2/OptimizeRestoredTableMetadata.java | 416 +- ...ptimizeRestoredTableMetadataOrBuilder.java | 35 +- .../v2/PartialUpdateClusterMetadata.java | 543 ++- ...PartialUpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/PartialUpdateClusterRequest.java | 512 +- .../PartialUpdateClusterRequestOrBuilder.java | 52 +- .../v2/PartialUpdateInstanceRequest.java | 523 ++- ...PartialUpdateInstanceRequestOrBuilder.java | 55 +- .../google/bigtable/admin/v2/ProjectName.java | 0 .../google/bigtable/admin/v2/RestoreInfo.java | 426 +- .../admin/v2/RestoreInfoOrBuilder.java | 32 +- .../bigtable/admin/v2/RestoreSourceType.java | 73 +- .../admin/v2/RestoreTableMetadata.java | 686 +-- .../v2/RestoreTableMetadataOrBuilder.java | 56 +- .../admin/v2/RestoreTableRequest.java | 547 ++- .../v2/RestoreTableRequestOrBuilder.java | 56 +- .../google/bigtable/admin/v2/Snapshot.java | 804 ++-- .../bigtable/admin/v2/SnapshotName.java | 0 .../bigtable/admin/v2/SnapshotOrBuilder.java | 69 +- .../admin/v2/SnapshotTableMetadata.java | 528 ++- .../v2/SnapshotTableMetadataOrBuilder.java | 42 +- .../admin/v2/SnapshotTableRequest.java | 673 +-- .../v2/SnapshotTableRequestOrBuilder.java | 78 +- .../google/bigtable/admin/v2/StorageType.java | 82 +- .../com/google/bigtable/admin/v2/Table.java | 2017 +++++--- .../google/bigtable/admin/v2/TableName.java | 0 .../bigtable/admin/v2/TableOrBuilder.java | 150 +- .../google/bigtable/admin/v2/TableProto.java | 356 ++ .../admin/v2/UndeleteTableMetadata.java | 485 +- .../v2/UndeleteTableMetadataOrBuilder.java | 43 +- .../admin/v2/UndeleteTableRequest.java | 347 +- .../v2/UndeleteTableRequestOrBuilder.java | 58 + .../admin/v2/UpdateAppProfileMetadata.java | 248 +- .../v2/UpdateAppProfileMetadataOrBuilder.java | 24 + .../admin/v2/UpdateAppProfileRequest.java | 554 ++- .../v2/UpdateAppProfileRequestOrBuilder.java | 58 +- .../admin/v2/UpdateBackupRequest.java | 494 +- .../v2/UpdateBackupRequestOrBuilder.java | 52 +- .../admin/v2/UpdateClusterMetadata.java | 524 ++- .../v2/UpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateInstanceMetadata.java | 540 ++- .../v2/UpdateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateTableMetadata.java | 485 +- .../v2/UpdateTableMetadataOrBuilder.java | 43 +- .../bigtable/admin/v2/UpdateTableRequest.java | 490 +- .../admin/v2/UpdateTableRequestOrBuilder.java | 52 +- .../admin/v2/bigtable_instance_admin.proto | 0 .../admin/v2/bigtable_table_admin.proto | 0 .../google/bigtable/admin/v2/common.proto | 0 .../google/bigtable/admin/v2/instance.proto | 0 .../google/bigtable/admin/v2/table.proto | 0 .../com/google/bigtable/v2/BigtableProto.java | 660 +++ .../java/com/google/bigtable/v2/Cell.java | 393 +- .../com/google/bigtable/v2/CellOrBuilder.java | 42 +- .../bigtable/v2/CheckAndMutateRowRequest.java | 851 ++-- .../v2/CheckAndMutateRowRequestOrBuilder.java | 91 +- .../v2/CheckAndMutateRowResponse.java | 284 +- .../CheckAndMutateRowResponseOrBuilder.java | 39 + .../java/com/google/bigtable/v2/Column.java | 416 +- .../google/bigtable/v2/ColumnOrBuilder.java | 40 +- .../com/google/bigtable/v2/ColumnRange.java | 599 ++- .../bigtable/v2/ColumnRangeOrBuilder.java | 51 +- .../com/google/bigtable/v2/DataProto.java | 415 ++ .../java/com/google/bigtable/v2/Family.java | 452 +- .../google/bigtable/v2/FamilyOrBuilder.java | 46 +- .../com/google/bigtable/v2/FeatureFlags.java | 304 +- .../bigtable/v2/FeatureFlagsOrBuilder.java | 24 +- .../google/bigtable/v2/FeatureFlagsProto.java | 67 + .../google/bigtable/v2/FullReadStatsView.java | 438 +- .../v2/FullReadStatsViewOrBuilder.java | 34 +- ...eInitialChangeStreamPartitionsRequest.java | 464 +- ...hangeStreamPartitionsRequestOrBuilder.java | 44 +- ...InitialChangeStreamPartitionsResponse.java | 392 +- ...angeStreamPartitionsResponseOrBuilder.java | 26 +- .../com/google/bigtable/v2/InstanceName.java | 0 .../google/bigtable/v2/MutateRowRequest.java | 690 ++- .../v2/MutateRowRequestOrBuilder.java | 86 +- .../google/bigtable/v2/MutateRowResponse.java | 235 +- .../v2/MutateRowResponseOrBuilder.java | 24 + .../google/bigtable/v2/MutateRowsRequest.java | 1216 +++-- .../v2/MutateRowsRequestOrBuilder.java | 82 +- .../bigtable/v2/MutateRowsResponse.java | 852 ++-- .../v2/MutateRowsResponseOrBuilder.java | 44 +- .../java/com/google/bigtable/v2/Mutation.java | 2057 ++++---- .../google/bigtable/v2/MutationOrBuilder.java | 50 +- .../bigtable/v2/PingAndWarmRequest.java | 412 +- .../v2/PingAndWarmRequestOrBuilder.java | 44 +- .../bigtable/v2/PingAndWarmResponse.java | 238 +- .../v2/PingAndWarmResponseOrBuilder.java | 24 + .../com/google/bigtable/v2/RateLimitInfo.java | 355 +- .../bigtable/v2/RateLimitInfoOrBuilder.java | 29 +- .../bigtable/v2/ReadChangeStreamRequest.java | 926 ++-- .../v2/ReadChangeStreamRequestOrBuilder.java | 84 +- .../bigtable/v2/ReadChangeStreamResponse.java | 3842 +++++++++------ .../v2/ReadChangeStreamResponseOrBuilder.java | 42 +- .../bigtable/v2/ReadIterationStats.java | 379 +- .../v2/ReadIterationStatsOrBuilder.java | 30 +- .../v2/ReadModifyWriteRowRequest.java | 705 +-- .../ReadModifyWriteRowRequestOrBuilder.java | 85 +- .../v2/ReadModifyWriteRowResponse.java | 332 +- .../ReadModifyWriteRowResponseOrBuilder.java | 26 +- .../bigtable/v2/ReadModifyWriteRule.java | 491 +- .../v2/ReadModifyWriteRuleOrBuilder.java | 42 +- .../google/bigtable/v2/ReadRowsRequest.java | 770 +-- .../bigtable/v2/ReadRowsRequestOrBuilder.java | 72 +- .../google/bigtable/v2/ReadRowsResponse.java | 1389 ++++-- .../v2/ReadRowsResponseOrBuilder.java | 47 +- .../bigtable/v2/RequestLatencyStats.java | 345 +- .../v2/RequestLatencyStatsOrBuilder.java | 26 +- .../com/google/bigtable/v2/RequestStats.java | 365 +- .../bigtable/v2/RequestStatsOrBuilder.java | 26 +- .../google/bigtable/v2/RequestStatsProto.java | 118 + .../google/bigtable/v2/ResponseParams.java | 392 +- .../bigtable/v2/ResponseParamsOrBuilder.java | 42 +- .../bigtable/v2/ResponseParamsProto.java | 67 + .../main/java/com/google/bigtable/v2/Row.java | 413 +- .../com/google/bigtable/v2/RowFilter.java | 3000 +++++++----- .../bigtable/v2/RowFilterOrBuilder.java | 156 +- .../com/google/bigtable/v2/RowOrBuilder.java | 40 +- .../java/com/google/bigtable/v2/RowRange.java | 521 ++- .../google/bigtable/v2/RowRangeOrBuilder.java | 42 +- .../java/com/google/bigtable/v2/RowSet.java | 453 +- .../google/bigtable/v2/RowSetOrBuilder.java | 46 +- .../bigtable/v2/SampleRowKeysRequest.java | 412 +- .../v2/SampleRowKeysRequestOrBuilder.java | 44 +- .../bigtable/v2/SampleRowKeysResponse.java | 307 +- .../v2/SampleRowKeysResponseOrBuilder.java | 24 +- .../bigtable/v2/StreamContinuationToken.java | 409 +- .../v2/StreamContinuationTokenOrBuilder.java | 35 +- .../bigtable/v2/StreamContinuationTokens.java | 401 +- .../v2/StreamContinuationTokensOrBuilder.java | 36 +- .../google/bigtable/v2/StreamPartition.java | 319 +- .../bigtable/v2/StreamPartitionOrBuilder.java | 26 +- .../com/google/bigtable/v2/TableName.java | 0 .../google/bigtable/v2/TimestampRange.java | 307 +- .../bigtable/v2/TimestampRangeOrBuilder.java | 24 +- .../com/google/bigtable/v2/ValueRange.java | 530 ++- .../bigtable/v2/ValueRangeOrBuilder.java | 42 +- .../proto/google/bigtable/v2/bigtable.proto | 0 .../main/proto/google/bigtable/v2/data.proto | 0 .../google/bigtable/v2/feature_flags.proto | 0 .../google/bigtable/v2/request_stats.proto | 0 .../google/bigtable/v2/response_params.proto | 0 326 files changed, 59028 insertions(+), 60004 deletions(-) create mode 100644 grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java rename {owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2 => grpc-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java (50%) 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-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/FeatureFlagsProto.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 (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/BackupInfo.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/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/ChangeStreamConfig.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/ChangeStreamConfigOrBuilder.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/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 (66%) 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 (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/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 (71%) 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 (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/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 (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/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 (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/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 (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/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 (64%) 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 (64%) 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 (64%) 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 (64%) 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 (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/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 (64%) 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 (64%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/ListTablesRequestOrBuilder.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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (72%) 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 (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/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 (64%) 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 (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/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 (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/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 (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/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 (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/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 (77%) 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 (72%) 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 (65%) 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/FeatureFlags.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java (56%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FullReadStatsView.java (70%) 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/GenerateInitialChangeStreamPartitionsRequest.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java (60%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java (61%) 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 (70%) 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 (77%) 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 (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java (55%) 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/RateLimitInfo.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java (86%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java (77%) 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 (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java (77%) 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 (77%) 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 (70%) 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 (75%) 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 (74%) 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/StreamContinuationToken.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamPartition.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java (61%) 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 (74%) 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/feature_flags.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..e9f2ea804b --- /dev/null +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java @@ -0,0 +1,2790 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.bigtable.admin.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+ * Clusters. Provides access to the Instance and Cluster schemas only, not the
+ * tables' metadata or data stored in those tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/admin/v2/bigtable_instance_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableInstanceAdminGrpc { + + private BigtableInstanceAdminGrpc() {} + + public static final String SERVICE_NAME = "google.bigtable.admin.v2.BigtableInstanceAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.bigtable.admin.v2.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getCreateInstanceMethod = + getCreateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.bigtable.admin.v2.GetInstanceRequest.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getGetInstanceMethod = + getGetInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse> + getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.bigtable.admin.v2.ListInstancesRequest.class, + responseType = com.google.bigtable.admin.v2.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse> + getListInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse> + getListInstancesMethod; + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + BigtableInstanceAdminGrpc.getListInstancesMethod = + getListInstancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> + getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.bigtable.admin.v2.Instance.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> + getUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> + getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateInstanceMethod = + getUpdateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation> + getPartialUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateInstance", + requestType = com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation> + getPartialUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation> + getPartialUpdateInstanceMethod; + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) + == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateInstanceMethod = + BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) + == null) { + BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod = + getPartialUpdateInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "PartialUpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier( + "PartialUpdateInstance")) + .build(); + } + } + } + return getPartialUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.bigtable.admin.v2.DeleteInstanceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteInstanceMethod = + getDeleteInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.bigtable.admin.v2.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getCreateClusterMethod = + getCreateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> + getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.bigtable.admin.v2.GetClusterRequest.class, + responseType = com.google.bigtable.admin.v2.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> + getGetClusterMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> + getGetClusterMethod; + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + BigtableInstanceAdminGrpc.getGetClusterMethod = + getGetClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse> + getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.bigtable.admin.v2.ListClustersRequest.class, + responseType = com.google.bigtable.admin.v2.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse> + getListClustersMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse> + getListClustersMethod; + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + BigtableInstanceAdminGrpc.getListClustersMethod = + getListClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation> + getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.bigtable.admin.v2.Cluster.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation> + getUpdateClusterMethod() { + io.grpc.MethodDescriptor + getUpdateClusterMethod; + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateClusterMethod = + getUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation> + getPartialUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateCluster", + requestType = com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation> + getPartialUpdateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation> + getPartialUpdateClusterMethod; + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) + == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateClusterMethod = + BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) + == null) { + BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod = + getPartialUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "PartialUpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateCluster")) + .build(); + } + } + } + return getPartialUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> + getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.bigtable.admin.v2.DeleteClusterRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> + getDeleteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> + getDeleteClusterMethod; + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteClusterMethod = + getDeleteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile> + getCreateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAppProfile", + requestType = com.google.bigtable.admin.v2.CreateAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile> + getCreateAppProfileMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile> + getCreateAppProfileMethod; + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) + == null) { + BigtableInstanceAdminGrpc.getCreateAppProfileMethod = + getCreateAppProfileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateAppProfileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("CreateAppProfile")) + .build(); + } + } + } + return getCreateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile> + getGetAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAppProfile", + requestType = com.google.bigtable.admin.v2.GetAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile> + getGetAppProfileMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile> + getGetAppProfileMethod; + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getGetAppProfileMethod = + getGetAppProfileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetAppProfileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("GetAppProfile")) + .build(); + } + } + } + return getGetAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse> + getListAppProfilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAppProfiles", + requestType = com.google.bigtable.admin.v2.ListAppProfilesRequest.class, + responseType = com.google.bigtable.admin.v2.ListAppProfilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse> + getListAppProfilesMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse> + getListAppProfilesMethod; + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) + == null) { + BigtableInstanceAdminGrpc.getListAppProfilesMethod = + getListAppProfilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAppProfiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("ListAppProfiles")) + .build(); + } + } + } + return getListAppProfilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> + getUpdateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAppProfile", + requestType = com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> + getUpdateAppProfileMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> + getUpdateAppProfileMethod; + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) + == null) { + BigtableInstanceAdminGrpc.getUpdateAppProfileMethod = + getUpdateAppProfileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.UpdateAppProfileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("UpdateAppProfile")) + .build(); + } + } + } + return getUpdateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> + getDeleteAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAppProfile", + requestType = com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> + getDeleteAppProfileMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> + getDeleteAppProfileMethod; + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) + == null) { + BigtableInstanceAdminGrpc.getDeleteAppProfileMethod = + getDeleteAppProfileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteAppProfileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("DeleteAppProfile")) + .build(); + } + } + } + return getDeleteAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) + == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) + == null) { + BigtableInstanceAdminGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse> + getListHotTabletsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListHotTablets", + requestType = com.google.bigtable.admin.v2.ListHotTabletsRequest.class, + responseType = com.google.bigtable.admin.v2.ListHotTabletsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse> + getListHotTabletsMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse> + getListHotTabletsMethod; + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + BigtableInstanceAdminGrpc.getListHotTabletsMethod = + getListHotTabletsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHotTablets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableInstanceAdminMethodDescriptorSupplier("ListHotTablets")) + .build(); + } + } + } + return getListHotTabletsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static BigtableInstanceAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + }; + return BigtableInstanceAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableInstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + }; + return BigtableInstanceAdminBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static BigtableInstanceAdminFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + }; + return BigtableInstanceAdminFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createInstance( + com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about an instance.
+     * 
+ */ + default void getInstance( + com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists information about instances in a project.
+     * 
+ */ + default void listInstances( + com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + default void updateInstance( + com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + default void partialUpdateInstance( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPartialUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Delete an instance from a project.
+     * 
+ */ + default void deleteInstance( + com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createCluster( + com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about a cluster.
+     * 
+ */ + default void getCluster( + com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + default void listClusters( + com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + default void updateCluster( + com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + default void partialUpdateCluster( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPartialUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + default void deleteCluster( + com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an app profile within an instance.
+     * 
+ */ + default void createAppProfile( + com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAppProfileMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about an app profile.
+     * 
+ */ + default void getAppProfile( + com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAppProfileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + default void listAppProfiles( + com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAppProfilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an app profile within an instance.
+     * 
+ */ + default void updateAppProfile( + com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAppProfileMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + default void deleteAppProfile( + com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAppProfileMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + default void listHotTablets( + com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListHotTabletsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigtableInstanceAdmin. + * + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public abstract static class BigtableInstanceAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return BigtableInstanceAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. + * + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableInstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createInstance( + com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about an instance.
+     * 
+ */ + public void getInstance( + com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists information about instances in a project.
+     * 
+ */ + public void listInstances( + com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public void updateInstance( + com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public void partialUpdateInstance( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Delete an instance from a project.
+     * 
+ */ + public void deleteInstance( + com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createCluster( + com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about a cluster.
+     * 
+ */ + public void getCluster( + com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public void listClusters( + com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public void updateCluster( + com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public void partialUpdateCluster( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public void deleteCluster( + com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public void createAppProfile( + com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about an app profile.
+     * 
+ */ + public void getAppProfile( + com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public void listAppProfiles( + com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public void updateAppProfile( + com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public void deleteAppProfile( + com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public void listHotTablets( + com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. + * + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableInstanceAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance getInstance( + com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListInstancesResponse listInstances( + com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance updateInstance( + com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateInstance( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.protobuf.Empty deleteInstance( + com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createCluster( + com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.bigtable.admin.v2.Cluster getCluster( + com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListClustersResponse listClusters( + com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster( + com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateCluster( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteCluster( + com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile createAppProfile( + com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile getAppProfile( + com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAppProfileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles( + com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAppProfilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.longrunning.Operation updateAppProfile( + com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteAppProfile( + com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets( + com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListHotTabletsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * BigtableInstanceAdmin. + * + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableInstanceAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListInstancesResponse> + listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInstance(com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListClustersResponse> + listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCluster(com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.AppProfile> + createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.AppProfile> + getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListAppProfilesResponse> + listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListHotTabletsResponse> + listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_INSTANCE = 0; + private static final int METHODID_GET_INSTANCE = 1; + private static final int METHODID_LIST_INSTANCES = 2; + private static final int METHODID_UPDATE_INSTANCE = 3; + private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; + private static final int METHODID_DELETE_INSTANCE = 5; + private static final int METHODID_CREATE_CLUSTER = 6; + private static final int METHODID_GET_CLUSTER = 7; + private static final int METHODID_LIST_CLUSTERS = 8; + private static final int METHODID_UPDATE_CLUSTER = 9; + private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; + private static final int METHODID_DELETE_CLUSTER = 11; + private static final int METHODID_CREATE_APP_PROFILE = 12; + private static final int METHODID_GET_APP_PROFILE = 13; + private static final int METHODID_LIST_APP_PROFILES = 14; + private static final int METHODID_UPDATE_APP_PROFILE = 15; + private static final int METHODID_DELETE_APP_PROFILE = 16; + private static final int METHODID_GET_IAM_POLICY = 17; + private static final int METHODID_SET_IAM_POLICY = 18; + private static final int METHODID_TEST_IAM_PERMISSIONS = 19; + private static final int METHODID_LIST_HOT_TABLETS = 20; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.bigtable.admin.v2.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.bigtable.admin.v2.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances( + (com.google.bigtable.admin.v2.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance( + (com.google.bigtable.admin.v2.Instance) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PARTIAL_UPDATE_INSTANCE: + serviceImpl.partialUpdateInstance( + (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.bigtable.admin.v2.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster( + (com.google.bigtable.admin.v2.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster( + (com.google.bigtable.admin.v2.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters( + (com.google.bigtable.admin.v2.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster( + (com.google.bigtable.admin.v2.Cluster) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_CLUSTER: + serviceImpl.partialUpdateCluster( + (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster( + (com.google.bigtable.admin.v2.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_APP_PROFILE: + serviceImpl.createAppProfile( + (com.google.bigtable.admin.v2.CreateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_APP_PROFILE: + serviceImpl.getAppProfile( + (com.google.bigtable.admin.v2.GetAppProfileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_APP_PROFILES: + serviceImpl.listAppProfiles( + (com.google.bigtable.admin.v2.ListAppProfilesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_APP_PROFILE: + serviceImpl.updateAppProfile( + (com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_APP_PROFILE: + serviceImpl.deleteAppProfile( + (com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_HOT_TABLETS: + serviceImpl.listHotTablets( + (com.google.bigtable.admin.v2.ListHotTabletsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetInstanceRequest, + com.google.bigtable.admin.v2.Instance>(service, METHODID_GET_INSTANCE))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getPartialUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_PARTIAL_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetClusterRequest, + com.google.bigtable.admin.v2.Cluster>(service, METHODID_GET_CLUSTER))) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getPartialUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_PARTIAL_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getCreateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>(service, METHODID_CREATE_APP_PROFILE))) + .addMethod( + getGetAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>(service, METHODID_GET_APP_PROFILE))) + .addMethod( + getListAppProfilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse>( + service, METHODID_LIST_APP_PROFILES))) + .addMethod( + getUpdateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_APP_PROFILE))) + .addMethod( + getDeleteAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_APP_PROFILE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getListHotTabletsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse>( + service, METHODID_LIST_HOT_TABLETS))) + .build(); + } + + private abstract static class BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableInstanceAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); + } + } + + private static final class BigtableInstanceAdminFileDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier { + BigtableInstanceAdminFileDescriptorSupplier() {} + } + + private static final class BigtableInstanceAdminMethodDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + BigtableInstanceAdminMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableInstanceAdminFileDescriptorSupplier()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getPartialUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getListClustersMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getPartialUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getCreateAppProfileMethod()) + .addMethod(getGetAppProfileMethod()) + .addMethod(getListAppProfilesMethod()) + .addMethod(getUpdateAppProfileMethod()) + .addMethod(getDeleteAppProfileMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getListHotTabletsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v2/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 similarity index 50% rename from owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java rename to grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java index d612113d29..0ae0c9d547 100644 --- a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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
@@ -20,795 +37,1104 @@ private BigtableTableAdminGrpc() {}
   public static final String SERVICE_NAME = "google.bigtable.admin.v2.BigtableTableAdmin";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getCreateTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
+      getCreateTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTable",
       requestType = com.google.bigtable.admin.v2.CreateTableRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTableMethod() {
-    io.grpc.MethodDescriptor getCreateTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
+      getCreateTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CreateTableRequest, com.google.bigtable.admin.v2.Table>
+        getCreateTableMethod;
     if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCreateTableMethod = BigtableTableAdminGrpc.getCreateTableMethod) == null) {
-          BigtableTableAdminGrpc.getCreateTableMethod = getCreateTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateTable"))
-              .build();
+          BigtableTableAdminGrpc.getCreateTableMethod =
+              getCreateTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CreateTable"))
+                      .build();
         }
       }
     }
     return getCreateTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+          com.google.longrunning.Operation>
+      getCreateTableFromSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateTableFromSnapshot",
       requestType = com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod() {
-    io.grpc.MethodDescriptor getCreateTableFromSnapshotMethod;
-    if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+          com.google.longrunning.Operation>
+      getCreateTableFromSnapshotMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+            com.google.longrunning.Operation>
+        getCreateTableFromSnapshotMethod;
+    if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCreateTableFromSnapshotMethod = BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod = getCreateTableFromSnapshotMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTableFromSnapshot"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateTableFromSnapshot"))
-              .build();
+        if ((getCreateTableFromSnapshotMethod =
+                BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod)
+            == null) {
+          BigtableTableAdminGrpc.getCreateTableFromSnapshotMethod =
+              getCreateTableFromSnapshotMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "CreateTableFromSnapshot"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CreateTableFromSnapshot"))
+                      .build();
         }
       }
     }
     return getCreateTableFromSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListTablesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListTablesRequest,
+          com.google.bigtable.admin.v2.ListTablesResponse>
+      getListTablesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListTables",
       requestType = com.google.bigtable.admin.v2.ListTablesRequest.class,
       responseType = com.google.bigtable.admin.v2.ListTablesResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListTablesMethod() {
-    io.grpc.MethodDescriptor getListTablesMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListTablesRequest,
+          com.google.bigtable.admin.v2.ListTablesResponse>
+      getListTablesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ListTablesRequest,
+            com.google.bigtable.admin.v2.ListTablesResponse>
+        getListTablesMethod;
     if ((getListTablesMethod = BigtableTableAdminGrpc.getListTablesMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListTablesMethod = BigtableTableAdminGrpc.getListTablesMethod) == null) {
-          BigtableTableAdminGrpc.getListTablesMethod = getListTablesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ListTablesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListTables"))
-              .build();
+          BigtableTableAdminGrpc.getListTablesMethod =
+              getListTablesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTables"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListTablesRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ListTables"))
+                      .build();
         }
       }
     }
     return getListTablesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
+      getGetTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetTable",
       requestType = com.google.bigtable.admin.v2.GetTableRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetTableMethod() {
-    io.grpc.MethodDescriptor getGetTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
+      getGetTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GetTableRequest, com.google.bigtable.admin.v2.Table>
+        getGetTableMethod;
     if ((getGetTableMethod = BigtableTableAdminGrpc.getGetTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetTableMethod = BigtableTableAdminGrpc.getGetTableMethod) == null) {
-          BigtableTableAdminGrpc.getGetTableMethod = getGetTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.GetTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetTable"))
-              .build();
+          BigtableTableAdminGrpc.getGetTableMethod =
+              getGetTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GetTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetTable"))
+                      .build();
         }
       }
     }
     return getGetTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
+      getUpdateTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateTable",
       requestType = com.google.bigtable.admin.v2.UpdateTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateTableMethod() {
-    io.grpc.MethodDescriptor getUpdateTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
+      getUpdateTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.UpdateTableRequest, com.google.longrunning.Operation>
+        getUpdateTableMethod;
     if ((getUpdateTableMethod = BigtableTableAdminGrpc.getUpdateTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUpdateTableMethod = BigtableTableAdminGrpc.getUpdateTableMethod) == null) {
-          BigtableTableAdminGrpc.getUpdateTableMethod = getUpdateTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UpdateTable"))
-              .build();
+          BigtableTableAdminGrpc.getUpdateTableMethod =
+              getUpdateTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("UpdateTable"))
+                      .build();
         }
       }
     }
     return getUpdateTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
+      getDeleteTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteTable",
       requestType = com.google.bigtable.admin.v2.DeleteTableRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteTableMethod() {
-    io.grpc.MethodDescriptor getDeleteTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
+      getDeleteTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>
+        getDeleteTableMethod;
     if ((getDeleteTableMethod = BigtableTableAdminGrpc.getDeleteTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteTableMethod = BigtableTableAdminGrpc.getDeleteTableMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteTableMethod = getDeleteTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteTable"))
-              .build();
+          BigtableTableAdminGrpc.getDeleteTableMethod =
+              getDeleteTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DeleteTable"))
+                      .build();
         }
       }
     }
     return getDeleteTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUndeleteTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
+      getUndeleteTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UndeleteTable",
       requestType = com.google.bigtable.admin.v2.UndeleteTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUndeleteTableMethod() {
-    io.grpc.MethodDescriptor getUndeleteTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
+      getUndeleteTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.UndeleteTableRequest, com.google.longrunning.Operation>
+        getUndeleteTableMethod;
     if ((getUndeleteTableMethod = BigtableTableAdminGrpc.getUndeleteTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUndeleteTableMethod = BigtableTableAdminGrpc.getUndeleteTableMethod) == null) {
-          BigtableTableAdminGrpc.getUndeleteTableMethod = getUndeleteTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UndeleteTable"))
-              .build();
+          BigtableTableAdminGrpc.getUndeleteTableMethod =
+              getUndeleteTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UndeleteTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.UndeleteTableRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("UndeleteTable"))
+                      .build();
         }
       }
     }
     return getUndeleteTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getModifyColumnFamiliesMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
+          com.google.bigtable.admin.v2.Table>
+      getModifyColumnFamiliesMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ModifyColumnFamilies",
       requestType = com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
       responseType = com.google.bigtable.admin.v2.Table.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getModifyColumnFamiliesMethod() {
-    io.grpc.MethodDescriptor getModifyColumnFamiliesMethod;
-    if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
+          com.google.bigtable.admin.v2.Table>
+      getModifyColumnFamiliesMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest,
+            com.google.bigtable.admin.v2.Table>
+        getModifyColumnFamiliesMethod;
+    if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod) == null) {
-          BigtableTableAdminGrpc.getModifyColumnFamiliesMethod = getModifyColumnFamiliesMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyColumnFamilies"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.Table.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ModifyColumnFamilies"))
-              .build();
+        if ((getModifyColumnFamiliesMethod = BigtableTableAdminGrpc.getModifyColumnFamiliesMethod)
+            == null) {
+          BigtableTableAdminGrpc.getModifyColumnFamiliesMethod =
+              getModifyColumnFamiliesMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "ModifyColumnFamilies"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Table.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ModifyColumnFamilies"))
+                      .build();
         }
       }
     }
     return getModifyColumnFamiliesMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDropRowRangeMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
+      getDropRowRangeMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DropRowRange",
       requestType = com.google.bigtable.admin.v2.DropRowRangeRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDropRowRangeMethod() {
-    io.grpc.MethodDescriptor getDropRowRangeMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
+      getDropRowRangeMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>
+        getDropRowRangeMethod;
     if ((getDropRowRangeMethod = BigtableTableAdminGrpc.getDropRowRangeMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDropRowRangeMethod = BigtableTableAdminGrpc.getDropRowRangeMethod) == null) {
-          BigtableTableAdminGrpc.getDropRowRangeMethod = getDropRowRangeMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRowRange"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DropRowRange"))
-              .build();
+          BigtableTableAdminGrpc.getDropRowRangeMethod =
+              getDropRowRangeMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropRowRange"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DropRowRangeRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DropRowRange"))
+                      .build();
         }
       }
     }
     return getDropRowRangeMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+      getGenerateConsistencyTokenMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GenerateConsistencyToken",
       requestType = com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
       responseType = com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod() {
-    io.grpc.MethodDescriptor getGenerateConsistencyTokenMethod;
-    if ((getGenerateConsistencyTokenMethod = BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
+          com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+      getGenerateConsistencyTokenMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest,
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+        getGenerateConsistencyTokenMethod;
+    if ((getGenerateConsistencyTokenMethod =
+            BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getGenerateConsistencyTokenMethod = BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod) == null) {
-          BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod = getGenerateConsistencyTokenMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateConsistencyToken"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GenerateConsistencyToken"))
-              .build();
+        if ((getGenerateConsistencyTokenMethod =
+                BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod)
+            == null) {
+          BigtableTableAdminGrpc.getGenerateConsistencyTokenMethod =
+              getGenerateConsistencyTokenMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "GenerateConsistencyToken"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier(
+                              "GenerateConsistencyToken"))
+                      .build();
         }
       }
     }
     return getGenerateConsistencyTokenMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCheckConsistencyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CheckConsistencyRequest,
+          com.google.bigtable.admin.v2.CheckConsistencyResponse>
+      getCheckConsistencyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CheckConsistency",
       requestType = com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
       responseType = com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCheckConsistencyMethod() {
-    io.grpc.MethodDescriptor getCheckConsistencyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CheckConsistencyRequest,
+          com.google.bigtable.admin.v2.CheckConsistencyResponse>
+      getCheckConsistencyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CheckConsistencyRequest,
+            com.google.bigtable.admin.v2.CheckConsistencyResponse>
+        getCheckConsistencyMethod;
     if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod) == null) {
-          BigtableTableAdminGrpc.getCheckConsistencyMethod = getCheckConsistencyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckConsistency"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CheckConsistency"))
-              .build();
+        if ((getCheckConsistencyMethod = BigtableTableAdminGrpc.getCheckConsistencyMethod)
+            == null) {
+          BigtableTableAdminGrpc.getCheckConsistencyMethod =
+              getCheckConsistencyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckConsistency"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CheckConsistencyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CheckConsistencyResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CheckConsistency"))
+                      .build();
         }
       }
     }
     return getCheckConsistencyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSnapshotTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
+      getSnapshotTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SnapshotTable",
       requestType = com.google.bigtable.admin.v2.SnapshotTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSnapshotTableMethod() {
-    io.grpc.MethodDescriptor getSnapshotTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
+      getSnapshotTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.longrunning.Operation>
+        getSnapshotTableMethod;
     if ((getSnapshotTableMethod = BigtableTableAdminGrpc.getSnapshotTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSnapshotTableMethod = BigtableTableAdminGrpc.getSnapshotTableMethod) == null) {
-          BigtableTableAdminGrpc.getSnapshotTableMethod = getSnapshotTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SnapshotTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SnapshotTable"))
-              .build();
+          BigtableTableAdminGrpc.getSnapshotTableMethod =
+              getSnapshotTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SnapshotTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.SnapshotTableRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("SnapshotTable"))
+                      .build();
         }
       }
     }
     return getSnapshotTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
+      getGetSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetSnapshot",
       requestType = com.google.bigtable.admin.v2.GetSnapshotRequest.class,
       responseType = com.google.bigtable.admin.v2.Snapshot.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetSnapshotMethod() {
-    io.grpc.MethodDescriptor getGetSnapshotMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
+      getGetSnapshotMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GetSnapshotRequest, com.google.bigtable.admin.v2.Snapshot>
+        getGetSnapshotMethod;
     if ((getGetSnapshotMethod = BigtableTableAdminGrpc.getGetSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetSnapshotMethod = BigtableTableAdminGrpc.getGetSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getGetSnapshotMethod = getGetSnapshotMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetSnapshot"))
-              .build();
+          BigtableTableAdminGrpc.getGetSnapshotMethod =
+              getGetSnapshotMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetSnapshot"))
+                      .build();
         }
       }
     }
     return getGetSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListSnapshotsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListSnapshotsRequest,
+          com.google.bigtable.admin.v2.ListSnapshotsResponse>
+      getListSnapshotsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListSnapshots",
       requestType = com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
       responseType = com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListSnapshotsMethod() {
-    io.grpc.MethodDescriptor getListSnapshotsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListSnapshotsRequest,
+          com.google.bigtable.admin.v2.ListSnapshotsResponse>
+      getListSnapshotsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ListSnapshotsRequest,
+            com.google.bigtable.admin.v2.ListSnapshotsResponse>
+        getListSnapshotsMethod;
     if ((getListSnapshotsMethod = BigtableTableAdminGrpc.getListSnapshotsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListSnapshotsMethod = BigtableTableAdminGrpc.getListSnapshotsMethod) == null) {
-          BigtableTableAdminGrpc.getListSnapshotsMethod = getListSnapshotsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListSnapshots"))
-              .build();
+          BigtableTableAdminGrpc.getListSnapshotsMethod =
+              getListSnapshotsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListSnapshotsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListSnapshotsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ListSnapshots"))
+                      .build();
         }
       }
     }
     return getListSnapshotsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteSnapshotMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
+      getDeleteSnapshotMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteSnapshot",
       requestType = com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteSnapshotMethod() {
-    io.grpc.MethodDescriptor getDeleteSnapshotMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
+      getDeleteSnapshotMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>
+        getDeleteSnapshotMethod;
     if ((getDeleteSnapshotMethod = BigtableTableAdminGrpc.getDeleteSnapshotMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteSnapshotMethod = BigtableTableAdminGrpc.getDeleteSnapshotMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteSnapshotMethod = getDeleteSnapshotMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteSnapshot"))
-              .build();
+          BigtableTableAdminGrpc.getDeleteSnapshotMethod =
+              getDeleteSnapshotMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DeleteSnapshotRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DeleteSnapshot"))
+                      .build();
         }
       }
     }
     return getDeleteSnapshotMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
+      getCreateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateBackup",
       requestType = com.google.bigtable.admin.v2.CreateBackupRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateBackupMethod() {
-    io.grpc.MethodDescriptor getCreateBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
+      getCreateBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.CreateBackupRequest, com.google.longrunning.Operation>
+        getCreateBackupMethod;
     if ((getCreateBackupMethod = BigtableTableAdminGrpc.getCreateBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getCreateBackupMethod = BigtableTableAdminGrpc.getCreateBackupMethod) == null) {
-          BigtableTableAdminGrpc.getCreateBackupMethod = getCreateBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("CreateBackup"))
-              .build();
+          BigtableTableAdminGrpc.getCreateBackupMethod =
+              getCreateBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.CreateBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("CreateBackup"))
+                      .build();
         }
       }
     }
     return getCreateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getGetBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetBackup",
       requestType = com.google.bigtable.admin.v2.GetBackupRequest.class,
       responseType = com.google.bigtable.admin.v2.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetBackupMethod() {
-    io.grpc.MethodDescriptor getGetBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getGetBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.GetBackupRequest, com.google.bigtable.admin.v2.Backup>
+        getGetBackupMethod;
     if ((getGetBackupMethod = BigtableTableAdminGrpc.getGetBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetBackupMethod = BigtableTableAdminGrpc.getGetBackupMethod) == null) {
-          BigtableTableAdminGrpc.getGetBackupMethod = getGetBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.GetBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetBackup"))
-              .build();
+          BigtableTableAdminGrpc.getGetBackupMethod =
+              getGetBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.GetBackupRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetBackup"))
+                      .build();
         }
       }
     }
     return getGetBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getUpdateBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateBackup",
       requestType = com.google.bigtable.admin.v2.UpdateBackupRequest.class,
       responseType = com.google.bigtable.admin.v2.Backup.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateBackupMethod() {
-    io.grpc.MethodDescriptor getUpdateBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
+      getUpdateBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.UpdateBackupRequest, com.google.bigtable.admin.v2.Backup>
+        getUpdateBackupMethod;
     if ((getUpdateBackupMethod = BigtableTableAdminGrpc.getUpdateBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getUpdateBackupMethod = BigtableTableAdminGrpc.getUpdateBackupMethod) == null) {
-          BigtableTableAdminGrpc.getUpdateBackupMethod = getUpdateBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("UpdateBackup"))
-              .build();
+          BigtableTableAdminGrpc.getUpdateBackupMethod =
+              getUpdateBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.UpdateBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.Backup.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("UpdateBackup"))
+                      .build();
         }
       }
     }
     return getUpdateBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
+      getDeleteBackupMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteBackup",
       requestType = com.google.bigtable.admin.v2.DeleteBackupRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteBackupMethod() {
-    io.grpc.MethodDescriptor getDeleteBackupMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
+      getDeleteBackupMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>
+        getDeleteBackupMethod;
     if ((getDeleteBackupMethod = BigtableTableAdminGrpc.getDeleteBackupMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getDeleteBackupMethod = BigtableTableAdminGrpc.getDeleteBackupMethod) == null) {
-          BigtableTableAdminGrpc.getDeleteBackupMethod = getDeleteBackupMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("DeleteBackup"))
-              .build();
+          BigtableTableAdminGrpc.getDeleteBackupMethod =
+              getDeleteBackupMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBackup"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.DeleteBackupRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("DeleteBackup"))
+                      .build();
         }
       }
     }
     return getDeleteBackupMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListBackupsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListBackupsRequest,
+          com.google.bigtable.admin.v2.ListBackupsResponse>
+      getListBackupsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListBackups",
       requestType = com.google.bigtable.admin.v2.ListBackupsRequest.class,
       responseType = com.google.bigtable.admin.v2.ListBackupsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListBackupsMethod() {
-    io.grpc.MethodDescriptor getListBackupsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.ListBackupsRequest,
+          com.google.bigtable.admin.v2.ListBackupsResponse>
+      getListBackupsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.ListBackupsRequest,
+            com.google.bigtable.admin.v2.ListBackupsResponse>
+        getListBackupsMethod;
     if ((getListBackupsMethod = BigtableTableAdminGrpc.getListBackupsMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getListBackupsMethod = BigtableTableAdminGrpc.getListBackupsMethod) == null) {
-          BigtableTableAdminGrpc.getListBackupsMethod = getListBackupsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("ListBackups"))
-              .build();
+          BigtableTableAdminGrpc.getListBackupsMethod =
+              getListBackupsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBackups"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.ListBackupsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("ListBackups"))
+                      .build();
         }
       }
     }
     return getListBackupsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRestoreTableMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
+      getRestoreTableMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RestoreTable",
       requestType = com.google.bigtable.admin.v2.RestoreTableRequest.class,
       responseType = com.google.longrunning.Operation.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRestoreTableMethod() {
-    io.grpc.MethodDescriptor getRestoreTableMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
+      getRestoreTableMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.bigtable.admin.v2.RestoreTableRequest, com.google.longrunning.Operation>
+        getRestoreTableMethod;
     if ((getRestoreTableMethod = BigtableTableAdminGrpc.getRestoreTableMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getRestoreTableMethod = BigtableTableAdminGrpc.getRestoreTableMethod) == null) {
-          BigtableTableAdminGrpc.getRestoreTableMethod = getRestoreTableMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreTable"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.longrunning.Operation.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("RestoreTable"))
-              .build();
+          BigtableTableAdminGrpc.getRestoreTableMethod =
+              getRestoreTableMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreTable"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.bigtable.admin.v2.RestoreTableRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.longrunning.Operation.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("RestoreTable"))
+                      .build();
         }
       }
     }
     return getRestoreTableMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy",
       requestType = com.google.iam.v1.GetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getGetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>
+      getGetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getGetIamPolicyMethod;
     if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getGetIamPolicyMethod = BigtableTableAdminGrpc.getGetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.iam.v1.Policy.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
-              .build();
+          BigtableTableAdminGrpc.getGetIamPolicyMethod =
+              getGetIamPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.Policy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("GetIamPolicy"))
+                      .build();
         }
       }
     }
     return getGetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy",
       requestType = com.google.iam.v1.SetIamPolicyRequest.class,
       responseType = com.google.iam.v1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getSetIamPolicyMethod() {
-    io.grpc.MethodDescriptor getSetIamPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>
+      getSetIamPolicyMethod() {
+    io.grpc.MethodDescriptor
+        getSetIamPolicyMethod;
     if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
       synchronized (BigtableTableAdminGrpc.class) {
         if ((getSetIamPolicyMethod = BigtableTableAdminGrpc.getSetIamPolicyMethod) == null) {
-          BigtableTableAdminGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.iam.v1.Policy.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
-              .build();
+          BigtableTableAdminGrpc.getSetIamPolicyMethod =
+              getSetIamPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.Policy.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("SetIamPolicy"))
+                      .build();
         }
       }
     }
     return getSetIamPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
+      getTestIamPermissionsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions",
       requestType = com.google.iam.v1.TestIamPermissionsRequest.class,
       responseType = com.google.iam.v1.TestIamPermissionsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() {
-    io.grpc.MethodDescriptor getTestIamPermissionsMethod;
-    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>
+      getTestIamPermissionsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.iam.v1.TestIamPermissionsRequest,
+            com.google.iam.v1.TestIamPermissionsResponse>
+        getTestIamPermissionsMethod;
+    if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
+        == null) {
       synchronized (BigtableTableAdminGrpc.class) {
-        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod) == null) {
-          BigtableTableAdminGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
-              .build();
+        if ((getTestIamPermissionsMethod = BigtableTableAdminGrpc.getTestIamPermissionsMethod)
+            == null) {
+          BigtableTableAdminGrpc.getTestIamPermissionsMethod =
+              getTestIamPermissionsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BigtableTableAdminMethodDescriptorSupplier("TestIamPermissions"))
+                      .build();
         }
       }
     }
     return getTestIamPermissionsMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BigtableTableAdminStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BigtableTableAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BigtableTableAdminStub(channel, callOptions);
-        }
-      };
+        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) {
+  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);
-        }
-      };
+        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) {
+  /** 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);
-        }
-      };
+        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
@@ -818,18 +1144,24 @@ public BigtableTableAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.Cal
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - default void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, + default void createTable( + com.google.bigtable.admin.v2.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableMethod(), 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.
@@ -840,62 +1172,85 @@ default void createTable(com.google.bigtable.admin.v2.CreateTableRequest request
      * policy.
      * 
*/ - default void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + default void createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableFromSnapshotMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTableFromSnapshotMethod(), responseObserver); } /** + * + * *
      * Lists all tables served from a specified instance.
      * 
*/ - default void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void listTables( + com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - default void getTable(com.google.bigtable.admin.v2.GetTableRequest request, + default void getTable( + com.google.bigtable.admin.v2.GetTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); } /** + * + * *
      * Updates a specified table.
      * 
*/ - default void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, + default void updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTableMethod(), responseObserver); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - default void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, + default void deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTableMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTableMethod(), responseObserver); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - default void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, + default void undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeleteTableMethod(), 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
@@ -903,24 +1258,32 @@ default void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest req
      * where only some modifications have taken effect.
      * 
*/ - default void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + default void modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyColumnFamiliesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getModifyColumnFamiliesMethod(), responseObserver); } /** + * + * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - default void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, + default void dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropRowRangeMethod(), 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
@@ -928,24 +1291,34 @@ default void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest reque
      * for 90 days.
      * 
*/ - default void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConsistencyTokenMethod(), responseObserver); + default void generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateConsistencyTokenMethod(), responseObserver); } /** + * + * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - default void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckConsistencyMethod(), responseObserver); + default void checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckConsistencyMethod(), responseObserver); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -956,12 +1329,16 @@ default void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyReque
      * policy.
      * 
*/ - default void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, + default void snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSnapshotTableMethod(), 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
@@ -971,12 +1348,16 @@ default void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest req
      * policy.
      * 
*/ - default void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, + default void getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSnapshotMethod(), 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
@@ -986,12 +1367,17 @@ default void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request
      * policy.
      * 
*/ - default void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSnapshotsMethod(), responseObserver); + default void listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSnapshotsMethod(), responseObserver); } /** + * + * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1001,12 +1387,16 @@ default void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest req
      * policy.
      * 
*/ - default void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + default void deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSnapshotMethod(), 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
@@ -1018,53 +1408,73 @@ default void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest r
      * creation and delete the backup.
      * 
*/ - default void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, + default void createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); } /** + * + * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - default void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, + default void getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - default void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, + default void updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), responseObserver); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - default void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, + default void deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - default void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + default void listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1076,63 +1486,81 @@ default void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - default void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, + default void restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreTableMethod(), 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.
      * 
*/ - default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + default void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + default void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** + * + * *
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + default void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigtableTableAdmin. + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
    * the tables.
    * 
*/ - public static abstract class BigtableTableAdminImplBase + public abstract static class BigtableTableAdminImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return BigtableTableAdminGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigtableTableAdmin. + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -1141,8 +1569,7 @@ public static abstract class BigtableTableAdminImplBase
    */
   public static final class BigtableTableAdminStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigtableTableAdminStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigtableTableAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1153,19 +1580,26 @@ protected BigtableTableAdminStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, + public void createTable( + com.google.bigtable.admin.v2.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1176,68 +1610,95 @@ public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request,
      * policy.
      * 
*/ - public void createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, + public void createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists all tables served from a specified instance.
      * 
*/ - public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTables( + com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public void getTable(com.google.bigtable.admin.v2.GetTableRequest request, + 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, + public void updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, + public void deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, + public void undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1245,26 +1706,36 @@ public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest requ
      * where only some modifications have taken effect.
      * 
*/ - public void modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, + public void modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, + public void dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1272,26 +1743,38 @@ public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest reques
      * for 90 days.
      * 
*/ - public void generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1302,13 +1785,18 @@ public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyReques
      * policy.
      * 
*/ - public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request, + public void snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1318,13 +1806,18 @@ public void snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest requ
      * policy.
      * 
*/ - public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, + public void getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1334,13 +1827,19 @@ public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request,
      * policy.
      * 
*/ - public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1350,13 +1849,18 @@ public void listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest requ
      * policy.
      * 
*/ - public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + public void deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1368,58 +1872,82 @@ public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
      * creation and delete the backup.
      * 
*/ - public void createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request, + public void createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, + 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, + public void updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, + public void deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListBackupsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1431,51 +1959,71 @@ public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request,
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public void restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request, + 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); + 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, + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service BigtableTableAdmin. + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -1496,18 +2044,23 @@ protected BigtableTableAdminBlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.bigtable.admin.v2.Table createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.bigtable.admin.v2.Table createTable( + com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1518,62 +2071,80 @@ public com.google.bigtable.admin.v2.Table createTable(com.google.bigtable.admin.
      * policy.
      * 
*/ - public com.google.longrunning.Operation createTableFromSnapshot(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { + public com.google.longrunning.Operation createTableFromSnapshot( + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableFromSnapshotMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.bigtable.admin.v2.ListTablesResponse listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.bigtable.admin.v2.ListTablesResponse listTables( + com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTablesMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.bigtable.admin.v2.Table getTable(com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.bigtable.admin.v2.Table getTable( + com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTableMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a specified table.
      * 
*/ - public com.google.longrunning.Operation updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.longrunning.Operation updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateTableMethod(), getCallOptions(), request); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.protobuf.Empty deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.protobuf.Empty deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTableMethod(), getCallOptions(), request); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.longrunning.Operation undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.longrunning.Operation undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUndeleteTableMethod(), getCallOptions(), request); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1581,24 +2152,30 @@ public com.google.longrunning.Operation undeleteTable(com.google.bigtable.admin.
      * where only some modifications have taken effect.
      * 
*/ - public com.google.bigtable.admin.v2.Table modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { + public com.google.bigtable.admin.v2.Table modifyColumnFamilies( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyColumnFamiliesMethod(), getCallOptions(), request); } /** + * + * *
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.protobuf.Empty dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.protobuf.Empty dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropRowRangeMethod(), getCallOptions(), request); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1606,24 +2183,30 @@ public com.google.protobuf.Empty dropRowRange(com.google.bigtable.admin.v2.DropR
      * for 90 days.
      * 
*/ - public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { + public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse generateConsistencyToken( + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGenerateConsistencyTokenMethod(), getCallOptions(), request); } /** + * + * *
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCheckConsistencyMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1634,12 +2217,15 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse checkConsistency(co
      * policy.
      * 
*/ - public com.google.longrunning.Operation snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) { + public com.google.longrunning.Operation snapshotTable( + com.google.bigtable.admin.v2.SnapshotTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSnapshotTableMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1649,12 +2235,15 @@ public com.google.longrunning.Operation snapshotTable(com.google.bigtable.admin.
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.Snapshot getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) { + public com.google.bigtable.admin.v2.Snapshot getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSnapshotMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1664,12 +2253,15 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshot(com.google.bigtable.adm
      * policy.
      * 
*/ - public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) { + public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots( + com.google.bigtable.admin.v2.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSnapshotsMethod(), getCallOptions(), request); } /** + * + * *
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1679,12 +2271,15 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse listSnapshots(com.goog
      * policy.
      * 
*/ - public com.google.protobuf.Empty deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { + public com.google.protobuf.Empty deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSnapshotMethod(), getCallOptions(), request); } /** + * + * *
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -1696,53 +2291,68 @@ public com.google.protobuf.Empty deleteSnapshot(com.google.bigtable.admin.v2.Del
      * creation and delete the backup.
      * 
*/ - public com.google.longrunning.Operation createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) { + public com.google.longrunning.Operation createBackup( + com.google.bigtable.admin.v2.CreateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.bigtable.admin.v2.Backup getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.bigtable.admin.v2.Backup updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.bigtable.admin.v2.Backup updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.protobuf.Empty deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.protobuf.Empty deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBackupMethod(), getCallOptions(), request); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.bigtable.admin.v2.ListBackupsResponse listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBackupsMethod(), getCallOptions(), request); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -1754,12 +2364,15 @@ public com.google.bigtable.admin.v2.ListBackupsResponse listBackups(com.google.b
      * [Table][google.bigtable.admin.v2.Table], if successful.
      * 
*/ - public com.google.longrunning.Operation restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) { + public com.google.longrunning.Operation restoreTable( + com.google.bigtable.admin.v2.RestoreTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRestoreTableMethod(), getCallOptions(), request); } /** + * + * *
      * 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
@@ -1772,6 +2385,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
@@ -1783,11 +2398,14 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
     }
 
     /**
+     *
+     *
      * 
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } @@ -1795,6 +2413,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableTableAdmin. + * *
    * Service for creating, configuring, and deleting Cloud Bigtable tables.
    * Provides access to the table schemas only, not the data stored within
@@ -1803,8 +2422,7 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.googl
    */
   public static final class BigtableTableAdminFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigtableTableAdminFutureStub(
-        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigtableTableAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -1815,19 +2433,23 @@ protected BigtableTableAdminFutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * Creates a new table in the specified instance.
      * The table can be created with a full set of initial column families,
      * specified in the request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createTable( - com.google.bigtable.admin.v2.CreateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createTable(com.google.bigtable.admin.v2.CreateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new table from the specified snapshot. The target table must
      * not exist. The snapshot and the table must be in the same instance.
@@ -1838,68 +2460,82 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createTableFromSnapshot(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createTableFromSnapshot(
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateTableFromSnapshotMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists all tables served from a specified instance.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listTables( - com.google.bigtable.admin.v2.ListTablesRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListTablesResponse> + listTables(com.google.bigtable.admin.v2.ListTablesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTablesMethod(), getCallOptions()), request); } /** + * + * *
      * Gets metadata information about the specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getTable( - com.google.bigtable.admin.v2.GetTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getTable(com.google.bigtable.admin.v2.GetTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTableMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a specified table.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateTableMethod(), getCallOptions()), request); } /** + * + * *
      * Permanently deletes a specified table and all of its data.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTableMethod(), getCallOptions()), request); } /** + * + * *
      * Restores a specified table which was accidentally deleted.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request) { + public com.google.common.util.concurrent.ListenableFuture + undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUndeleteTableMethod(), getCallOptions()), request); } /** + * + * *
      * Performs a series of column family modifications on the specified table.
      * Either all or none of the modifications will occur before this method
@@ -1907,26 +2543,30 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture modifyColumnFamilies(
-        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        modifyColumnFamilies(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getModifyColumnFamiliesMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Permanently drop/delete a row range from a specified table. The request can
      * specify whether to delete all rows in a table, or only those that match a
      * particular prefix.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request) { + public com.google.common.util.concurrent.ListenableFuture + dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropRowRangeMethod(), getCallOptions()), request); } /** + * + * *
      * Generates a consistency token for a Table, which can be used in
      * CheckConsistency to check whether mutations to the table that finished
@@ -1934,26 +2574,33 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture generateConsistencyToken(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>
+        generateConsistencyToken(
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGenerateConsistencyTokenMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Checks replication consistency based on a consistency token, that is, if
      * replication has caught up based on the conditions specified in the token
      * and the check request.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.CheckConsistencyResponse> + checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCheckConsistencyMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a new snapshot in the specified cluster from the specified
      * source table. The cluster and the table must be in the same instance.
@@ -1964,13 +2611,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture snapshotTable(
-        com.google.bigtable.admin.v2.SnapshotTableRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        snapshotTable(com.google.bigtable.admin.v2.SnapshotTableRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getSnapshotTableMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets metadata information about the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1980,13 +2629,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture getSnapshot(
-        com.google.bigtable.admin.v2.GetSnapshotRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Lists all snapshots associated with the specified cluster.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -1996,13 +2647,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture listSnapshots(
-        com.google.bigtable.admin.v2.ListSnapshotsRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.bigtable.admin.v2.ListSnapshotsResponse>
+        listSnapshots(com.google.bigtable.admin.v2.ListSnapshotsRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Permanently deletes the specified snapshot.
      * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -2012,13 +2666,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture deleteSnapshot(
-        com.google.bigtable.admin.v2.DeleteSnapshotRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Starts creating a new Cloud Bigtable Backup.  The returned backup
      * [long-running operation][google.longrunning.Operation] can be used to
@@ -2030,58 +2686,69 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createBackup(
-        com.google.bigtable.admin.v2.CreateBackupRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        createBackup(com.google.bigtable.admin.v2.CreateBackupRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets metadata on a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getBackup(com.google.bigtable.admin.v2.GetBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a pending or completed Cloud Bigtable Backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes a pending or completed Cloud Bigtable backup.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); } /** + * + * *
      * Lists Cloud Bigtable backups. Returns both completed and pending
      * backups.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.admin.v2.ListBackupsResponse> + listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); } /** + * + * *
      * Create a new table by restoring from a completed backup. The new table
      * must be in the same project as the instance containing the backup.  The
@@ -2093,44 +2760,51 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture restoreTable(
-        com.google.bigtable.admin.v2.RestoreTableRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        restoreTable(com.google.bigtable.admin.v2.RestoreTableRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getRestoreTableMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets the access control policy for a Table or Backup resource.
      * Returns an empty policy if the resource exists but does not have a policy
      * set.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** + * + * *
      * Sets the access control policy on a Table or Backup resource.
      * Replaces any existing policy.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** + * + * *
      * Returns permissions that the caller has on the specified Table or Backup resource.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } @@ -2161,11 +2835,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -2179,100 +2853,132 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_TABLE: - serviceImpl.createTable((com.google.bigtable.admin.v2.CreateTableRequest) request, + serviceImpl.createTable( + (com.google.bigtable.admin.v2.CreateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_TABLE_FROM_SNAPSHOT: - serviceImpl.createTableFromSnapshot((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, + serviceImpl.createTableFromSnapshot( + (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TABLES: - serviceImpl.listTables((com.google.bigtable.admin.v2.ListTablesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listTables( + (com.google.bigtable.admin.v2.ListTablesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_TABLE: - serviceImpl.getTable((com.google.bigtable.admin.v2.GetTableRequest) request, + serviceImpl.getTable( + (com.google.bigtable.admin.v2.GetTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_TABLE: - serviceImpl.updateTable((com.google.bigtable.admin.v2.UpdateTableRequest) request, + serviceImpl.updateTable( + (com.google.bigtable.admin.v2.UpdateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_TABLE: - serviceImpl.deleteTable((com.google.bigtable.admin.v2.DeleteTableRequest) request, + serviceImpl.deleteTable( + (com.google.bigtable.admin.v2.DeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNDELETE_TABLE: - serviceImpl.undeleteTable((com.google.bigtable.admin.v2.UndeleteTableRequest) request, + serviceImpl.undeleteTable( + (com.google.bigtable.admin.v2.UndeleteTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_COLUMN_FAMILIES: - serviceImpl.modifyColumnFamilies((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, + serviceImpl.modifyColumnFamilies( + (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_ROW_RANGE: - serviceImpl.dropRowRange((com.google.bigtable.admin.v2.DropRowRangeRequest) request, + serviceImpl.dropRowRange( + (com.google.bigtable.admin.v2.DropRowRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GENERATE_CONSISTENCY_TOKEN: - serviceImpl.generateConsistencyToken((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.generateConsistencyToken( + (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) request, + (io.grpc.stub.StreamObserver< + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>) + responseObserver); break; case METHODID_CHECK_CONSISTENCY: - serviceImpl.checkConsistency((com.google.bigtable.admin.v2.CheckConsistencyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.checkConsistency( + (com.google.bigtable.admin.v2.CheckConsistencyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_SNAPSHOT_TABLE: - serviceImpl.snapshotTable((com.google.bigtable.admin.v2.SnapshotTableRequest) request, + serviceImpl.snapshotTable( + (com.google.bigtable.admin.v2.SnapshotTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SNAPSHOT: - serviceImpl.getSnapshot((com.google.bigtable.admin.v2.GetSnapshotRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getSnapshot( + (com.google.bigtable.admin.v2.GetSnapshotRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_SNAPSHOTS: - serviceImpl.listSnapshots((com.google.bigtable.admin.v2.ListSnapshotsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listSnapshots( + (com.google.bigtable.admin.v2.ListSnapshotsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_DELETE_SNAPSHOT: - serviceImpl.deleteSnapshot((com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, + serviceImpl.deleteSnapshot( + (com.google.bigtable.admin.v2.DeleteSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_BACKUP: - serviceImpl.createBackup((com.google.bigtable.admin.v2.CreateBackupRequest) request, + serviceImpl.createBackup( + (com.google.bigtable.admin.v2.CreateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BACKUP: - serviceImpl.getBackup((com.google.bigtable.admin.v2.GetBackupRequest) request, + serviceImpl.getBackup( + (com.google.bigtable.admin.v2.GetBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup((com.google.bigtable.admin.v2.UpdateBackupRequest) request, + serviceImpl.updateBackup( + (com.google.bigtable.admin.v2.UpdateBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup((com.google.bigtable.admin.v2.DeleteBackupRequest) request, + serviceImpl.deleteBackup( + (com.google.bigtable.admin.v2.DeleteBackupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BACKUPS: - serviceImpl.listBackups((com.google.bigtable.admin.v2.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listBackups( + (com.google.bigtable.admin.v2.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_RESTORE_TABLE: - serviceImpl.restoreTable((com.google.bigtable.admin.v2.RestoreTableRequest) request, + serviceImpl.restoreTable( + (com.google.bigtable.admin.v2.RestoreTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -2293,178 +2999,160 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>( - service, METHODID_CREATE_TABLE))) + getCreateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableRequest, + com.google.bigtable.admin.v2.Table>(service, METHODID_CREATE_TABLE))) .addMethod( - getCreateTableFromSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) + getCreateTableFromSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) .addMethod( - getListTablesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListTablesRequest, - com.google.bigtable.admin.v2.ListTablesResponse>( - service, METHODID_LIST_TABLES))) + getListTablesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListTablesRequest, + com.google.bigtable.admin.v2.ListTablesResponse>( + service, METHODID_LIST_TABLES))) .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>( - service, METHODID_GET_TABLE))) + getGetTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetTableRequest, + com.google.bigtable.admin.v2.Table>(service, METHODID_GET_TABLE))) .addMethod( - getUpdateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_TABLE))) + getUpdateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateTableRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_TABLE))) .addMethod( - getDeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_TABLE))) + getDeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_TABLE))) .addMethod( - getUndeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>( - service, METHODID_UNDELETE_TABLE))) + getUndeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UndeleteTableRequest, + com.google.longrunning.Operation>(service, METHODID_UNDELETE_TABLE))) .addMethod( - getModifyColumnFamiliesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>( - service, METHODID_MODIFY_COLUMN_FAMILIES))) + getModifyColumnFamiliesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, + com.google.bigtable.admin.v2.Table>(service, METHODID_MODIFY_COLUMN_FAMILIES))) .addMethod( - getDropRowRangeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, - com.google.protobuf.Empty>( - service, METHODID_DROP_ROW_RANGE))) + getDropRowRangeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( + service, METHODID_DROP_ROW_RANGE))) .addMethod( - getGenerateConsistencyTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( - service, METHODID_GENERATE_CONSISTENCY_TOKEN))) + getGenerateConsistencyTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( + service, METHODID_GENERATE_CONSISTENCY_TOKEN))) .addMethod( - getCheckConsistencyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CheckConsistencyRequest, - com.google.bigtable.admin.v2.CheckConsistencyResponse>( - service, METHODID_CHECK_CONSISTENCY))) + getCheckConsistencyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CheckConsistencyRequest, + com.google.bigtable.admin.v2.CheckConsistencyResponse>( + service, METHODID_CHECK_CONSISTENCY))) .addMethod( - getSnapshotTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>( - service, METHODID_SNAPSHOT_TABLE))) + getSnapshotTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.SnapshotTableRequest, + com.google.longrunning.Operation>(service, METHODID_SNAPSHOT_TABLE))) .addMethod( - getGetSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>( - service, METHODID_GET_SNAPSHOT))) + getGetSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetSnapshotRequest, + com.google.bigtable.admin.v2.Snapshot>(service, METHODID_GET_SNAPSHOT))) .addMethod( - getListSnapshotsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListSnapshotsRequest, - com.google.bigtable.admin.v2.ListSnapshotsResponse>( - service, METHODID_LIST_SNAPSHOTS))) + getListSnapshotsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListSnapshotsRequest, + com.google.bigtable.admin.v2.ListSnapshotsResponse>( + service, METHODID_LIST_SNAPSHOTS))) .addMethod( - getDeleteSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteSnapshotRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_SNAPSHOT))) + getDeleteSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_SNAPSHOT))) .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_BACKUP))) + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>( - service, METHODID_GET_BACKUP))) + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetBackupRequest, + com.google.bigtable.admin.v2.Backup>(service, METHODID_GET_BACKUP))) .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>( - service, METHODID_UPDATE_BACKUP))) + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateBackupRequest, + com.google.bigtable.admin.v2.Backup>(service, METHODID_UPDATE_BACKUP))) .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_BACKUP))) + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_BACKUP))) .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListBackupsRequest, - com.google.bigtable.admin.v2.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListBackupsRequest, + com.google.bigtable.admin.v2.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) .addMethod( - getRestoreTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTORE_TABLE))) + getRestoreTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.RestoreTableRequest, + com.google.longrunning.Operation>(service, METHODID_RESTORE_TABLE))) .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_GET_IAM_POLICY))) + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_GET_IAM_POLICY))) .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_SET_IAM_POLICY))) + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers( + service, METHODID_SET_IAM_POLICY))) .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) .build(); } - private static abstract class BigtableTableAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class BigtableTableAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigtableTableAdminBaseDescriptorSupplier() {} @java.lang.Override @@ -2506,33 +3194,35 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BigtableTableAdminGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) - .addMethod(getCreateTableMethod()) - .addMethod(getCreateTableFromSnapshotMethod()) - .addMethod(getListTablesMethod()) - .addMethod(getGetTableMethod()) - .addMethod(getUpdateTableMethod()) - .addMethod(getDeleteTableMethod()) - .addMethod(getUndeleteTableMethod()) - .addMethod(getModifyColumnFamiliesMethod()) - .addMethod(getDropRowRangeMethod()) - .addMethod(getGenerateConsistencyTokenMethod()) - .addMethod(getCheckConsistencyMethod()) - .addMethod(getSnapshotTableMethod()) - .addMethod(getGetSnapshotMethod()) - .addMethod(getListSnapshotsMethod()) - .addMethod(getDeleteSnapshotMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getRestoreTableMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableTableAdminFileDescriptorSupplier()) + .addMethod(getCreateTableMethod()) + .addMethod(getCreateTableFromSnapshotMethod()) + .addMethod(getListTablesMethod()) + .addMethod(getGetTableMethod()) + .addMethod(getUpdateTableMethod()) + .addMethod(getDeleteTableMethod()) + .addMethod(getUndeleteTableMethod()) + .addMethod(getModifyColumnFamiliesMethod()) + .addMethod(getDropRowRangeMethod()) + .addMethod(getGenerateConsistencyTokenMethod()) + .addMethod(getCheckConsistencyMethod()) + .addMethod(getSnapshotTableMethod()) + .addMethod(getGetSnapshotMethod()) + .addMethod(getListSnapshotsMethod()) + .addMethod(getDeleteSnapshotMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getRestoreTableMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); } } } diff --git a/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..968758908b --- /dev/null +++ b/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java @@ -0,0 +1,1298 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.bigtable.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service for reading from and writing to existing Bigtable tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/v2/bigtable.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableGrpc { + + private BigtableGrpc() {} + + public static final String SERVICE_NAME = "google.bigtable.v2.Bigtable"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> + getReadRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadRows", + requestType = com.google.bigtable.v2.ReadRowsRequest.class, + responseType = com.google.bigtable.v2.ReadRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> + getReadRowsMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> + getReadRowsMethod; + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + BigtableGrpc.getReadRowsMethod = + getReadRowsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadRows")) + .build(); + } + } + } + return getReadRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.SampleRowKeysRequest, com.google.bigtable.v2.SampleRowKeysResponse> + getSampleRowKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SampleRowKeys", + requestType = com.google.bigtable.v2.SampleRowKeysRequest.class, + responseType = com.google.bigtable.v2.SampleRowKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.SampleRowKeysRequest, com.google.bigtable.v2.SampleRowKeysResponse> + getSampleRowKeysMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse> + getSampleRowKeysMethod; + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + BigtableGrpc.getSampleRowKeysMethod = + getSampleRowKeysMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SampleRowKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("SampleRowKeys")) + .build(); + } + } + } + return getSampleRowKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> + getMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRow", + requestType = com.google.bigtable.v2.MutateRowRequest.class, + responseType = com.google.bigtable.v2.MutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> + getMutateRowMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> + getMutateRowMethod; + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + BigtableGrpc.getMutateRowMethod = + getMutateRowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRow")) + .build(); + } + } + } + return getMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> + getMutateRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRows", + requestType = com.google.bigtable.v2.MutateRowsRequest.class, + responseType = com.google.bigtable.v2.MutateRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> + getMutateRowsMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> + getMutateRowsMethod; + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + BigtableGrpc.getMutateRowsMethod = + getMutateRowsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRows")) + .build(); + } + } + } + return getMutateRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse> + getCheckAndMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckAndMutateRow", + requestType = com.google.bigtable.v2.CheckAndMutateRowRequest.class, + responseType = com.google.bigtable.v2.CheckAndMutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse> + getCheckAndMutateRowMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse> + getCheckAndMutateRowMethod; + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + BigtableGrpc.getCheckAndMutateRowMethod = + getCheckAndMutateRowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckAndMutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableMethodDescriptorSupplier("CheckAndMutateRow")) + .build(); + } + } + } + return getCheckAndMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> + getPingAndWarmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PingAndWarm", + requestType = com.google.bigtable.v2.PingAndWarmRequest.class, + responseType = com.google.bigtable.v2.PingAndWarmResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> + getPingAndWarmMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> + getPingAndWarmMethod; + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + BigtableGrpc.getPingAndWarmMethod = + getPingAndWarmMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PingAndWarm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("PingAndWarm")) + .build(); + } + } + } + return getPingAndWarmMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse> + getReadModifyWriteRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadModifyWriteRow", + requestType = com.google.bigtable.v2.ReadModifyWriteRowRequest.class, + responseType = com.google.bigtable.v2.ReadModifyWriteRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse> + getReadModifyWriteRowMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse> + getReadModifyWriteRowMethod; + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + BigtableGrpc.getReadModifyWriteRowMethod = + getReadModifyWriteRowMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadModifyWriteRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableMethodDescriptorSupplier("ReadModifyWriteRow")) + .build(); + } + } + } + return getReadModifyWriteRowMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> + getGenerateInitialChangeStreamPartitionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", + requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, + responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> + getGenerateInitialChangeStreamPartitionsMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> + getGenerateInitialChangeStreamPartitionsMethod; + if ((getGenerateInitialChangeStreamPartitionsMethod = + BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) + == null) { + synchronized (BigtableGrpc.class) { + if ((getGenerateInitialChangeStreamPartitionsMethod = + BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) + == null) { + BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = + getGenerateInitialChangeStreamPartitionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new BigtableMethodDescriptorSupplier( + "GenerateInitialChangeStreamPartitions")) + .build(); + } + } + } + return getGenerateInitialChangeStreamPartitionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse> + getReadChangeStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", + requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, + responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse> + getReadChangeStreamMethod() { + io.grpc.MethodDescriptor< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse> + getReadChangeStreamMethod; + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + BigtableGrpc.getReadChangeStreamMethod = + getReadChangeStreamMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) + .build(); + } + } + } + return getReadChangeStreamMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static BigtableStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + }; + return BigtableStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + }; + return BigtableBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static BigtableFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + }; + return BigtableFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + default void readRows( + com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + default void sampleRowKeys( + com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSampleRowKeysMethod(), responseObserver); + } + + /** + * + * + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + default void mutateRow( + com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); + } + + /** + * + * + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + default void mutateRows( + com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); + } + + /** + * + * + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + default void checkAndMutateRow( + com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckAndMutateRowMethod(), responseObserver); + } + + /** + * + * + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + default void pingAndWarm( + com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPingAndWarmMethod(), responseObserver); + } + + /** + * + * + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + default void readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReadModifyWriteRowMethod(), responseObserver); + } + + /** + * + * + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + default void generateInitialChangeStreamPartitions( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); + } + + /** + * + * + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + default void readChangeStream( + com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReadChangeStreamMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Bigtable. + * + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public abstract static class BigtableImplBase implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return BigtableGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Bigtable. + * + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableStub extends io.grpc.stub.AbstractAsyncStub { + private BigtableStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + + /** + * + * + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public void readRows( + com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + public void sampleRowKeys( + com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public void mutateRow( + com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public void mutateRows( + com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public void checkAndMutateRow( + com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public void pingAndWarm( + com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public void readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public void generateInitialChangeStreamPartitions( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public void readChangeStream( + com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Bigtable. + * + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public java.util.Iterator readRows( + com.google.bigtable.v2.ReadRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadRowsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + public java.util.Iterator sampleRowKeys( + com.google.bigtable.v2.SampleRowKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.bigtable.v2.MutateRowResponse mutateRow( + com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMutateRowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public java.util.Iterator mutateRows( + com.google.bigtable.v2.MutateRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getMutateRowsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow( + com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm( + com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPingAndWarmMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public java.util.Iterator + generateInitialChangeStreamPartitions( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), + getGenerateInitialChangeStreamPartitionsMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public java.util.Iterator readChangeStream( + com.google.bigtable.v2.ReadChangeStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. + * + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.v2.MutateRowResponse> + mutateRow(com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.v2.CheckAndMutateRowResponse> + checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.v2.PingAndWarmResponse> + pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.bigtable.v2.ReadModifyWriteRowResponse> + readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_READ_ROWS = 0; + private static final int METHODID_SAMPLE_ROW_KEYS = 1; + private static final int METHODID_MUTATE_ROW = 2; + private static final int METHODID_MUTATE_ROWS = 3; + private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; + private static final int METHODID_PING_AND_WARM = 5; + private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; + private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; + private static final int METHODID_READ_CHANGE_STREAM = 8; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_READ_ROWS: + serviceImpl.readRows( + (com.google.bigtable.v2.ReadRowsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SAMPLE_ROW_KEYS: + serviceImpl.sampleRowKeys( + (com.google.bigtable.v2.SampleRowKeysRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_MUTATE_ROW: + serviceImpl.mutateRow( + (com.google.bigtable.v2.MutateRowRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_MUTATE_ROWS: + serviceImpl.mutateRows( + (com.google.bigtable.v2.MutateRowsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CHECK_AND_MUTATE_ROW: + serviceImpl.checkAndMutateRow( + (com.google.bigtable.v2.CheckAndMutateRowRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PING_AND_WARM: + serviceImpl.pingAndWarm( + (com.google.bigtable.v2.PingAndWarmRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_READ_MODIFY_WRITE_ROW: + serviceImpl.readModifyWriteRow( + (com.google.bigtable.v2.ReadModifyWriteRowRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: + serviceImpl.generateInitialChangeStreamPartitions( + (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>) + responseObserver); + break; + case METHODID_READ_CHANGE_STREAM: + serviceImpl.readChangeStream( + (com.google.bigtable.v2.ReadChangeStreamRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadRowsRequest, + com.google.bigtable.v2.ReadRowsResponse>(service, METHODID_READ_ROWS))) + .addMethod( + getSampleRowKeysMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse>( + service, METHODID_SAMPLE_ROW_KEYS))) + .addMethod( + getMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowRequest, + com.google.bigtable.v2.MutateRowResponse>(service, METHODID_MUTATE_ROW))) + .addMethod( + getMutateRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowsRequest, + com.google.bigtable.v2.MutateRowsResponse>(service, METHODID_MUTATE_ROWS))) + .addMethod( + getCheckAndMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse>( + service, METHODID_CHECK_AND_MUTATE_ROW))) + .addMethod( + getPingAndWarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.PingAndWarmRequest, + com.google.bigtable.v2.PingAndWarmResponse>(service, METHODID_PING_AND_WARM))) + .addMethod( + getReadModifyWriteRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse>( + service, METHODID_READ_MODIFY_WRITE_ROW))) + .addMethod( + getGenerateInitialChangeStreamPartitionsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( + service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) + .addMethod( + getReadChangeStreamMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse>( + service, METHODID_READ_CHANGE_STREAM))) + .build(); + } + + private abstract static class BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.v2.BigtableProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Bigtable"); + } + } + + private static final class BigtableFileDescriptorSupplier extends BigtableBaseDescriptorSupplier { + BigtableFileDescriptorSupplier() {} + } + + private static final class BigtableMethodDescriptorSupplier extends BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + BigtableMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) + .addMethod(getReadRowsMethod()) + .addMethod(getSampleRowKeysMethod()) + .addMethod(getMutateRowMethod()) + .addMethod(getMutateRowsMethod()) + .addMethod(getCheckAndMutateRowMethod()) + .addMethod(getPingAndWarmMethod()) + .addMethod(getReadModifyWriteRowMethod()) + .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) + .addMethod(getReadChangeStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java deleted file mode 100644 index 1c3a60e267..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 643c7813bf..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 e935d71336..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ /dev/null @@ -1,4132 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.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. - * `change_stream_config`) in the `table` field should be updated. This mask is relative to - * the `table` field, not to the request message. The wildcard (*) path is currently not - * supported. Currently UpdateTable is only supported for the following fields: - *
    - *
  • `change_stream_config` - *
  • `change_stream_config.retention_period` - *
  • `deletion_protection` - *
- *

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

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UpdateTableRequest request =
-   *       UpdateTableRequest.newBuilder()
-   *           .setTable(Table.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   Table response = baseBigtableTableAdminClient.updateTableAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture updateTableAsync( - UpdateTableRequest request) { - return updateTableOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a specified table. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UpdateTableRequest request =
-   *       UpdateTableRequest.newBuilder()
-   *           .setTable(Table.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   OperationFuture future =
-   *       baseBigtableTableAdminClient.updateTableOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Table response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - updateTableOperationCallable() { - return stub.updateTableOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a specified table. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UpdateTableRequest request =
-   *       UpdateTableRequest.newBuilder()
-   *           .setTable(Table.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.updateTableCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable updateTableCallable() { - return stub.updateTableCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes a specified table and all of its data. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   baseBigtableTableAdminClient.deleteTable(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the table to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/tables/{table}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteTable(TableName name) { - DeleteTableRequest request = - DeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteTable(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes a specified table and all of its data. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   baseBigtableTableAdminClient.deleteTable(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the table to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/tables/{table}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteTable(String name) { - DeleteTableRequest request = DeleteTableRequest.newBuilder().setName(name).build(); - deleteTable(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes a specified table and all of its data. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DeleteTableRequest request =
-   *       DeleteTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   baseBigtableTableAdminClient.deleteTable(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteTable(DeleteTableRequest request) { - deleteTableCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes a specified table and all of its data. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DeleteTableRequest request =
-   *       DeleteTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.deleteTableCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable deleteTableCallable() { - return stub.deleteTableCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Restores a specified table which was accidentally deleted. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
-   * }
-   * }
- * - * @param name Required. The unique name of the table to be restored. Values are of the form - * `projects/{project}/instances/{instance}/tables/{table}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture undeleteTableAsync(TableName name) { - UndeleteTableRequest request = - UndeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return undeleteTableAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Restores a specified table which was accidentally deleted. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
-   * }
-   * }
- * - * @param name Required. The unique name of the table to be restored. Values are of the form - * `projects/{project}/instances/{instance}/tables/{table}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture undeleteTableAsync(String name) { - UndeleteTableRequest request = UndeleteTableRequest.newBuilder().setName(name).build(); - return undeleteTableAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Restores a specified table which was accidentally deleted. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UndeleteTableRequest request =
-   *       UndeleteTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture undeleteTableAsync( - UndeleteTableRequest request) { - return undeleteTableOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Restores a specified table which was accidentally deleted. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UndeleteTableRequest request =
-   *       UndeleteTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   OperationFuture future =
-   *       baseBigtableTableAdminClient.undeleteTableOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Table response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - undeleteTableOperationCallable() { - return stub.undeleteTableOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Restores a specified table which was accidentally deleted. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UndeleteTableRequest request =
-   *       UndeleteTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.undeleteTableCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable undeleteTableCallable() { - return stub.undeleteTableCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Performs a series of column family modifications on the specified table. Either all or none of - * the modifications will occur before this method returns, but data requests received prior to - * that point may see a table where only some modifications have taken effect. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   List modifications = new ArrayList<>();
-   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
-   * }
-   * }
- * - * @param name Required. The unique name of the table whose families should be modified. Values - * are of the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param modifications Required. Modifications to be atomically applied to the specified table's - * families. Entries are applied in order, meaning that earlier modifications can be masked by - * later ones (in the case of repeated updates to the same family, for example). - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Table modifyColumnFamilies( - TableName name, List modifications) { - ModifyColumnFamiliesRequest request = - ModifyColumnFamiliesRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .addAllModifications(modifications) - .build(); - return modifyColumnFamilies(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Performs a series of column family modifications on the specified table. Either all or none of - * the modifications will occur before this method returns, but data requests received prior to - * that point may see a table where only some modifications have taken effect. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   List modifications = new ArrayList<>();
-   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
-   * }
-   * }
- * - * @param name Required. The unique name of the table whose families should be modified. Values - * are of the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param modifications Required. Modifications to be atomically applied to the specified table's - * families. Entries are applied in order, meaning that earlier modifications can be masked by - * later ones (in the case of repeated updates to the same family, for example). - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Table modifyColumnFamilies( - String name, List modifications) { - ModifyColumnFamiliesRequest request = - ModifyColumnFamiliesRequest.newBuilder() - .setName(name) - .addAllModifications(modifications) - .build(); - return modifyColumnFamilies(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Performs a series of column family modifications on the specified table. Either all or none of - * the modifications will occur before this method returns, but data requests received prior to - * that point may see a table where only some modifications have taken effect. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ModifyColumnFamiliesRequest request =
-   *       ModifyColumnFamiliesRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .addAllModifications(new ArrayList())
-   *           .build();
-   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Table modifyColumnFamilies(ModifyColumnFamiliesRequest request) { - return modifyColumnFamiliesCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Performs a series of column family modifications on the specified table. Either all or none of - * the modifications will occur before this method returns, but data requests received prior to - * that point may see a table where only some modifications have taken effect. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ModifyColumnFamiliesRequest request =
-   *       ModifyColumnFamiliesRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .addAllModifications(new ArrayList())
-   *           .build();
-   *   ApiFuture
future = - * baseBigtableTableAdminClient.modifyColumnFamiliesCallable().futureCall(request); - * // Do something. - * Table response = future.get(); - * } - * } - */ - public final UnaryCallable modifyColumnFamiliesCallable() { - return stub.modifyColumnFamiliesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently drop/delete a row range from a specified table. The request can specify whether to - * delete all rows in a table, or only those that match a particular prefix. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DropRowRangeRequest request =
-   *       DropRowRangeRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   baseBigtableTableAdminClient.dropRowRange(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void dropRowRange(DropRowRangeRequest request) { - dropRowRangeCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently drop/delete a row range from a specified table. The request can specify whether to - * delete all rows in a table, or only those that match a particular prefix. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DropRowRangeRequest request =
-   *       DropRowRangeRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.dropRowRangeCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable dropRowRangeCallable() { - return stub.dropRowRangeCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Generates a consistency token for a Table, which can be used in CheckConsistency to check - * whether mutations to the table that finished before this call started have been replicated. The - * tokens will be available for 90 days. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   GenerateConsistencyTokenResponse response =
-   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the Table for which to create a consistency token. - * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName name) { - GenerateConsistencyTokenRequest request = - GenerateConsistencyTokenRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .build(); - return generateConsistencyToken(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Generates a consistency token for a Table, which can be used in CheckConsistency to check - * whether mutations to the table that finished before this call started have been replicated. The - * tokens will be available for 90 days. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   GenerateConsistencyTokenResponse response =
-   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the Table for which to create a consistency token. - * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final GenerateConsistencyTokenResponse generateConsistencyToken(String name) { - GenerateConsistencyTokenRequest request = - GenerateConsistencyTokenRequest.newBuilder().setName(name).build(); - return generateConsistencyToken(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Generates a consistency token for a Table, which can be used in CheckConsistency to check - * whether mutations to the table that finished before this call started have been replicated. The - * tokens will be available for 90 days. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   GenerateConsistencyTokenRequest request =
-   *       GenerateConsistencyTokenRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   GenerateConsistencyTokenResponse response =
-   *       baseBigtableTableAdminClient.generateConsistencyToken(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final GenerateConsistencyTokenResponse generateConsistencyToken( - GenerateConsistencyTokenRequest request) { - return generateConsistencyTokenCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Generates a consistency token for a Table, which can be used in CheckConsistency to check - * whether mutations to the table that finished before this call started have been replicated. The - * tokens will be available for 90 days. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   GenerateConsistencyTokenRequest request =
-   *       GenerateConsistencyTokenRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.generateConsistencyTokenCallable().futureCall(request);
-   *   // Do something.
-   *   GenerateConsistencyTokenResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - generateConsistencyTokenCallable() { - return stub.generateConsistencyTokenCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Checks replication consistency based on a consistency token, that is, if replication has caught - * up based on the conditions specified in the token and the check request. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   String consistencyToken = "consistencyToken-1985152319";
-   *   CheckConsistencyResponse response =
-   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
-   * }
-   * }
- * - * @param name Required. The unique name of the Table for which to check replication consistency. - * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param consistencyToken Required. The token created using GenerateConsistencyToken for the - * Table. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) { - CheckConsistencyRequest request = - CheckConsistencyRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .setConsistencyToken(consistencyToken) - .build(); - return checkConsistency(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Checks replication consistency based on a consistency token, that is, if replication has caught - * up based on the conditions specified in the token and the check request. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   String consistencyToken = "consistencyToken-1985152319";
-   *   CheckConsistencyResponse response =
-   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
-   * }
-   * }
- * - * @param name Required. The unique name of the Table for which to check replication consistency. - * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param consistencyToken Required. The token created using GenerateConsistencyToken for the - * Table. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final CheckConsistencyResponse checkConsistency(String name, String consistencyToken) { - CheckConsistencyRequest request = - CheckConsistencyRequest.newBuilder() - .setName(name) - .setConsistencyToken(consistencyToken) - .build(); - return checkConsistency(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Checks replication consistency based on a consistency token, that is, if replication has caught - * up based on the conditions specified in the token and the check request. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CheckConsistencyRequest request =
-   *       CheckConsistencyRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setConsistencyToken("consistencyToken-1985152319")
-   *           .build();
-   *   CheckConsistencyResponse response = baseBigtableTableAdminClient.checkConsistency(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final CheckConsistencyResponse checkConsistency(CheckConsistencyRequest request) { - return checkConsistencyCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Checks replication consistency based on a consistency token, that is, if replication has caught - * up based on the conditions specified in the token and the check request. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CheckConsistencyRequest request =
-   *       CheckConsistencyRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setConsistencyToken("consistencyToken-1985152319")
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.checkConsistencyCallable().futureCall(request);
-   *   // Do something.
-   *   CheckConsistencyResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - checkConsistencyCallable() { - return stub.checkConsistencyCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   String snapshotId = "snapshotId-1113817601";
-   *   String description = "description-1724546052";
-   *   Snapshot response =
-   *       baseBigtableTableAdminClient
-   *           .snapshotTableAsync(name, cluster, snapshotId, description)
-   *           .get();
-   * }
-   * }
- * - * @param name Required. The unique name of the table to have the snapshot taken. Values are of - * the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param cluster Required. The name of the cluster where the snapshot will be created in. Values - * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param snapshotId Required. The ID by which the new snapshot should be referred to within the - * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather - * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. - * @param description Description of the snapshot. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture snapshotTableAsync( - TableName name, ClusterName cluster, String snapshotId, String description) { - SnapshotTableRequest request = - SnapshotTableRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .setCluster(cluster == null ? null : cluster.toString()) - .setSnapshotId(snapshotId) - .setDescription(description) - .build(); - return snapshotTableAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   String snapshotId = "snapshotId-1113817601";
-   *   String description = "description-1724546052";
-   *   Snapshot response =
-   *       baseBigtableTableAdminClient
-   *           .snapshotTableAsync(name, cluster, snapshotId, description)
-   *           .get();
-   * }
-   * }
- * - * @param name Required. The unique name of the table to have the snapshot taken. Values are of - * the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param cluster Required. The name of the cluster where the snapshot will be created in. Values - * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param snapshotId Required. The ID by which the new snapshot should be referred to within the - * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather - * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. - * @param description Description of the snapshot. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture snapshotTableAsync( - TableName name, String cluster, String snapshotId, String description) { - SnapshotTableRequest request = - SnapshotTableRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .setCluster(cluster) - .setSnapshotId(snapshotId) - .setDescription(description) - .build(); - return snapshotTableAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   String snapshotId = "snapshotId-1113817601";
-   *   String description = "description-1724546052";
-   *   Snapshot response =
-   *       baseBigtableTableAdminClient
-   *           .snapshotTableAsync(name, cluster, snapshotId, description)
-   *           .get();
-   * }
-   * }
- * - * @param name Required. The unique name of the table to have the snapshot taken. Values are of - * the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param cluster Required. The name of the cluster where the snapshot will be created in. Values - * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param snapshotId Required. The ID by which the new snapshot should be referred to within the - * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather - * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. - * @param description Description of the snapshot. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture snapshotTableAsync( - String name, ClusterName cluster, String snapshotId, String description) { - SnapshotTableRequest request = - SnapshotTableRequest.newBuilder() - .setName(name) - .setCluster(cluster == null ? null : cluster.toString()) - .setSnapshotId(snapshotId) - .setDescription(description) - .build(); - return snapshotTableAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   String snapshotId = "snapshotId-1113817601";
-   *   String description = "description-1724546052";
-   *   Snapshot response =
-   *       baseBigtableTableAdminClient
-   *           .snapshotTableAsync(name, cluster, snapshotId, description)
-   *           .get();
-   * }
-   * }
- * - * @param name Required. The unique name of the table to have the snapshot taken. Values are of - * the form `projects/{project}/instances/{instance}/tables/{table}`. - * @param cluster Required. The name of the cluster where the snapshot will be created in. Values - * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param snapshotId Required. The ID by which the new snapshot should be referred to within the - * parent cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather - * than `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. - * @param description Description of the snapshot. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture snapshotTableAsync( - String name, String cluster, String snapshotId, String description) { - SnapshotTableRequest request = - SnapshotTableRequest.newBuilder() - .setName(name) - .setCluster(cluster) - .setSnapshotId(snapshotId) - .setDescription(description) - .build(); - return snapshotTableAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   SnapshotTableRequest request =
-   *       SnapshotTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setSnapshotId("snapshotId-1113817601")
-   *           .setTtl(Duration.newBuilder().build())
-   *           .setDescription("description-1724546052")
-   *           .build();
-   *   Snapshot response = baseBigtableTableAdminClient.snapshotTableAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture snapshotTableAsync( - SnapshotTableRequest request) { - return snapshotTableOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   SnapshotTableRequest request =
-   *       SnapshotTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setSnapshotId("snapshotId-1113817601")
-   *           .setTtl(Duration.newBuilder().build())
-   *           .setDescription("description-1724546052")
-   *           .build();
-   *   OperationFuture future =
-   *       baseBigtableTableAdminClient.snapshotTableOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Snapshot response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - snapshotTableOperationCallable() { - return stub.snapshotTableOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates a new snapshot in the specified cluster from the specified source table. The cluster - * and the table must be in the same instance. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   SnapshotTableRequest request =
-   *       SnapshotTableRequest.newBuilder()
-   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setSnapshotId("snapshotId-1113817601")
-   *           .setTtl(Duration.newBuilder().build())
-   *           .setDescription("description-1724546052")
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.snapshotTableCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable snapshotTableCallable() { - return stub.snapshotTableCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata information about the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
-   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the requested snapshot. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Snapshot getSnapshot(SnapshotName name) { - GetSnapshotRequest request = - GetSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getSnapshot(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata information about the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name =
-   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
-   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the requested snapshot. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Snapshot getSnapshot(String name) { - GetSnapshotRequest request = GetSnapshotRequest.newBuilder().setName(name).build(); - return getSnapshot(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata information about the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   GetSnapshotRequest request =
-   *       GetSnapshotRequest.newBuilder()
-   *           .setName(
-   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
-   *           .build();
-   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Snapshot getSnapshot(GetSnapshotRequest request) { - return getSnapshotCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata information about the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   GetSnapshotRequest request =
-   *       GetSnapshotRequest.newBuilder()
-   *           .setName(
-   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.getSnapshotCallable().futureCall(request);
-   *   // Do something.
-   *   Snapshot response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable getSnapshotCallable() { - return stub.getSnapshotCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists all snapshots associated with the specified cluster. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param parent Required. The unique name of the cluster for which snapshots should be listed. - * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use - * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., - * `projects/{project}/instances/{instance}/clusters/-`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { - ListSnapshotsRequest request = - ListSnapshotsRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .build(); - return listSnapshots(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists all snapshots associated with the specified cluster. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param parent Required. The unique name of the cluster for which snapshots should be listed. - * Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. Use - * `{cluster} = '-'` to list snapshots for all clusters in an instance, e.g., - * `projects/{project}/instances/{instance}/clusters/-`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListSnapshotsPagedResponse listSnapshots(String parent) { - ListSnapshotsRequest request = ListSnapshotsRequest.newBuilder().setParent(parent).build(); - return listSnapshots(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists all snapshots associated with the specified cluster. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ListSnapshotsRequest request =
-   *       ListSnapshotsRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest request) { - return listSnapshotsPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists all snapshots associated with the specified cluster. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ListSnapshotsRequest request =
-   *       ListSnapshotsRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.listSnapshotsPagedCallable().futureCall(request);
-   *   // Do something.
-   *   for (Snapshot element : future.get().iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable - listSnapshotsPagedCallable() { - return stub.listSnapshotsPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists all snapshots associated with the specified cluster. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ListSnapshotsRequest request =
-   *       ListSnapshotsRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   while (true) {
-   *     ListSnapshotsResponse response =
-   *         baseBigtableTableAdminClient.listSnapshotsCallable().call(request);
-   *     for (Snapshot element : response.getSnapshotsList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable listSnapshotsCallable() { - return stub.listSnapshotsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
-   *   baseBigtableTableAdminClient.deleteSnapshot(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the snapshot to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteSnapshot(SnapshotName name) { - DeleteSnapshotRequest request = - DeleteSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteSnapshot(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name =
-   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
-   *   baseBigtableTableAdminClient.deleteSnapshot(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the snapshot to be deleted. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteSnapshot(String name) { - DeleteSnapshotRequest request = DeleteSnapshotRequest.newBuilder().setName(name).build(); - deleteSnapshot(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DeleteSnapshotRequest request =
-   *       DeleteSnapshotRequest.newBuilder()
-   *           .setName(
-   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
-   *           .build();
-   *   baseBigtableTableAdminClient.deleteSnapshot(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteSnapshot(DeleteSnapshotRequest request) { - deleteSnapshotCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Permanently deletes the specified snapshot. - * - *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not - * currently available to most Cloud Bigtable customers. This feature might be changed in - * backward-incompatible ways and is not recommended for production use. It is not subject to any - * SLA or deprecation policy. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DeleteSnapshotRequest request =
-   *       DeleteSnapshotRequest.newBuilder()
-   *           .setName(
-   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.deleteSnapshotCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable deleteSnapshotCallable() { - return stub.deleteSnapshotCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running - * operation][google.longrunning.Operation] can be used to track creation of the backup. The - * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The - * [response][google.longrunning.Operation.response] field type is - * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation - * will stop the creation and delete the backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   String backupId = "backupId2121930365";
-   *   Backup backup = Backup.newBuilder().build();
-   *   Backup response =
-   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
-   * }
-   * }
- * - * @param parent Required. This must be one of the clusters in the instance in which this table is - * located. The backup will be stored in this cluster. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param backupId Required. The id of the backup to be created. The `backup_id` along with the - * parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup - * name, of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This - * string must be between 1 and 50 characters in length and match the regex - * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. - * @param backup Required. The backup to create. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture createBackupAsync( - ClusterName parent, String backupId, Backup backup) { - CreateBackupRequest request = - CreateBackupRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .setBackupId(backupId) - .setBackup(backup) - .build(); - return createBackupAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running - * operation][google.longrunning.Operation] can be used to track creation of the backup. The - * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The - * [response][google.longrunning.Operation.response] field type is - * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation - * will stop the creation and delete the backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   String backupId = "backupId2121930365";
-   *   Backup backup = Backup.newBuilder().build();
-   *   Backup response =
-   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
-   * }
-   * }
- * - * @param parent Required. This must be one of the clusters in the instance in which this table is - * located. The backup will be stored in this cluster. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. - * @param backupId Required. The id of the backup to be created. The `backup_id` along with the - * parent `parent` are combined as {parent}/backups/{backup_id} to create the full backup - * name, of the form: - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. This - * string must be between 1 and 50 characters in length and match the regex - * [_a-zA-Z0-9][-_.a-zA-Z0-9]*. - * @param backup Required. The backup to create. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture createBackupAsync( - String parent, String backupId, Backup backup) { - CreateBackupRequest request = - CreateBackupRequest.newBuilder() - .setParent(parent) - .setBackupId(backupId) - .setBackup(backup) - .build(); - return createBackupAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running - * operation][google.longrunning.Operation] can be used to track creation of the backup. The - * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The - * [response][google.longrunning.Operation.response] field type is - * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation - * will stop the creation and delete the backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CreateBackupRequest request =
-   *       CreateBackupRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setBackupId("backupId2121930365")
-   *           .setBackup(Backup.newBuilder().build())
-   *           .build();
-   *   Backup response = baseBigtableTableAdminClient.createBackupAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture createBackupAsync( - CreateBackupRequest request) { - return createBackupOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running - * operation][google.longrunning.Operation] can be used to track creation of the backup. The - * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The - * [response][google.longrunning.Operation.response] field type is - * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation - * will stop the creation and delete the backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CreateBackupRequest request =
-   *       CreateBackupRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setBackupId("backupId2121930365")
-   *           .setBackup(Backup.newBuilder().build())
-   *           .build();
-   *   OperationFuture future =
-   *       baseBigtableTableAdminClient.createBackupOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Backup response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - createBackupOperationCallable() { - return stub.createBackupOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running - * operation][google.longrunning.Operation] can be used to track creation of the backup. The - * [metadata][google.longrunning.Operation.metadata] field type is - * [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The - * [response][google.longrunning.Operation.response] field type is - * [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation - * will stop the creation and delete the backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   CreateBackupRequest request =
-   *       CreateBackupRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setBackupId("backupId2121930365")
-   *           .setBackup(Backup.newBuilder().build())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.createBackupCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable createBackupCallable() { - return stub.createBackupCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata on a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
-   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
-   * }
-   * }
- * - * @param name Required. Name of the backup. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Backup getBackup(BackupName name) { - GetBackupRequest request = - GetBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return getBackup(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata on a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
-   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
-   * }
-   * }
- * - * @param name Required. Name of the backup. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Backup getBackup(String name) { - GetBackupRequest request = GetBackupRequest.newBuilder().setName(name).build(); - return getBackup(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata on a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   GetBackupRequest request =
-   *       GetBackupRequest.newBuilder()
-   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .build();
-   *   Backup response = baseBigtableTableAdminClient.getBackup(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Backup getBackup(GetBackupRequest request) { - return getBackupCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets metadata on a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   GetBackupRequest request =
-   *       GetBackupRequest.newBuilder()
-   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.getBackupCallable().futureCall(request);
-   *   // Do something.
-   *   Backup response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable getBackupCallable() { - return stub.getBackupCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   Backup backup = Backup.newBuilder().build();
-   *   FieldMask updateMask = FieldMask.newBuilder().build();
-   *   Backup response = baseBigtableTableAdminClient.updateBackup(backup, updateMask);
-   * }
-   * }
- * - * @param backup Required. The backup to update. `backup.name`, and the fields to be updated as - * specified by `update_mask` are required. Other fields are ignored. Update is only supported - * for the following fields: * `backup.expire_time`. - * @param updateMask Required. A mask specifying which fields (e.g. `expire_time`) in the Backup - * resource should be updated. This mask is relative to the Backup resource, not to the - * request message. The field mask must always be specified; this prevents any future fields - * from being erased accidentally by clients that do not know about them. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Backup updateBackup(Backup backup, FieldMask updateMask) { - UpdateBackupRequest request = - UpdateBackupRequest.newBuilder().setBackup(backup).setUpdateMask(updateMask).build(); - return updateBackup(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UpdateBackupRequest request =
-   *       UpdateBackupRequest.newBuilder()
-   *           .setBackup(Backup.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   Backup response = baseBigtableTableAdminClient.updateBackup(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Backup updateBackup(UpdateBackupRequest request) { - return updateBackupCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Updates a pending or completed Cloud Bigtable Backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   UpdateBackupRequest request =
-   *       UpdateBackupRequest.newBuilder()
-   *           .setBackup(Backup.newBuilder().build())
-   *           .setUpdateMask(FieldMask.newBuilder().build())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.updateBackupCallable().futureCall(request);
-   *   // Do something.
-   *   Backup response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable updateBackupCallable() { - return stub.updateBackupCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a pending or completed Cloud Bigtable backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
-   *   baseBigtableTableAdminClient.deleteBackup(name);
-   * }
-   * }
- * - * @param name Required. Name of the backup to delete. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteBackup(BackupName name) { - DeleteBackupRequest request = - DeleteBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - deleteBackup(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a pending or completed Cloud Bigtable backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
-   *   baseBigtableTableAdminClient.deleteBackup(name);
-   * }
-   * }
- * - * @param name Required. Name of the backup to delete. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteBackup(String name) { - DeleteBackupRequest request = DeleteBackupRequest.newBuilder().setName(name).build(); - deleteBackup(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a pending or completed Cloud Bigtable backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DeleteBackupRequest request =
-   *       DeleteBackupRequest.newBuilder()
-   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .build();
-   *   baseBigtableTableAdminClient.deleteBackup(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final void deleteBackup(DeleteBackupRequest request) { - deleteBackupCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes a pending or completed Cloud Bigtable backup. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   DeleteBackupRequest request =
-   *       DeleteBackupRequest.newBuilder()
-   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.deleteBackupCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable deleteBackupCallable() { - return stub.deleteBackupCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists Cloud Bigtable backups. Returns both completed and pending backups. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
-   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param parent Required. The cluster to list backups from. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list - * backups for all clusters in an instance, e.g., - * `projects/{project}/instances/{instance}/clusters/-`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListBackupsPagedResponse listBackups(ClusterName parent) { - ListBackupsRequest request = - ListBackupsRequest.newBuilder() - .setParent(parent == null ? null : parent.toString()) - .build(); - return listBackups(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists Cloud Bigtable backups. Returns both completed and pending backups. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
-   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param parent Required. The cluster to list backups from. Values are of the form - * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list - * backups for all clusters in an instance, e.g., - * `projects/{project}/instances/{instance}/clusters/-`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListBackupsPagedResponse listBackups(String parent) { - ListBackupsRequest request = ListBackupsRequest.newBuilder().setParent(parent).build(); - return listBackups(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists Cloud Bigtable backups. Returns both completed and pending backups. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ListBackupsRequest request =
-   *       ListBackupsRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setFilter("filter-1274492040")
-   *           .setOrderBy("orderBy-1207110587")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   for (Backup element : baseBigtableTableAdminClient.listBackups(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListBackupsPagedResponse listBackups(ListBackupsRequest request) { - return listBackupsPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists Cloud Bigtable backups. Returns both completed and pending backups. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ListBackupsRequest request =
-   *       ListBackupsRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setFilter("filter-1274492040")
-   *           .setOrderBy("orderBy-1207110587")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableTableAdminClient.listBackupsPagedCallable().futureCall(request);
-   *   // Do something.
-   *   for (Backup element : future.get().iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable - listBackupsPagedCallable() { - return stub.listBackupsPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists Cloud Bigtable backups. Returns both completed and pending backups. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
-   *     BaseBigtableTableAdminClient.create()) {
-   *   ListBackupsRequest request =
-   *       ListBackupsRequest.newBuilder()
-   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
-   *           .setFilter("filter-1274492040")
-   *           .setOrderBy("orderBy-1207110587")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   while (true) {
-   *     ListBackupsResponse response =
-   *         baseBigtableTableAdminClient.listBackupsCallable().call(request);
-   *     for (Backup element : response.getBackupsList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable listBackupsCallable() { - return stub.listBackupsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Create a new table by restoring from a completed backup. The 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 68775d68e4..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 802acb816c..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * A client to Cloud Bigtable Admin API - * - *

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

======================= BaseBigtableInstanceAdminClient ======================= - * - *

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

Sample for BaseBigtableInstanceAdminClient: - * - *

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

======================= BaseBigtableTableAdminClient ======================= - * - *

Service Description: Service for creating, configuring, and deleting Cloud Bigtable tables. - * - *

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

Sample for BaseBigtableTableAdminClient: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * try (BaseBigtableTableAdminClient baseBigtableTableAdminClient =
- *     BaseBigtableTableAdminClient.create()) {
- *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
- *   String tableId = "tableId-1552905847";
- *   Table table = Table.newBuilder().build();
- *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
- * }
- * }
- */ -@Generated("by gapic-generator-java") -package com.google.cloud.bigtable.admin.v2; - -import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java deleted file mode 100644 index c3fa1df46c..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 a917ad2cc5..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 2db256265e..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 9da7192c5f..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 b0f8d0468e..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 2296216985..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java +++ /dev/null @@ -1,896 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigtable.admin.v2.stub; - -import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; -import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsBuilder; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.bigtable.admin.v2.AppProfile; -import com.google.bigtable.admin.v2.Cluster; -import com.google.bigtable.admin.v2.CreateAppProfileRequest; -import com.google.bigtable.admin.v2.CreateClusterMetadata; -import com.google.bigtable.admin.v2.CreateClusterRequest; -import com.google.bigtable.admin.v2.CreateInstanceMetadata; -import com.google.bigtable.admin.v2.CreateInstanceRequest; -import com.google.bigtable.admin.v2.DeleteAppProfileRequest; -import com.google.bigtable.admin.v2.DeleteClusterRequest; -import com.google.bigtable.admin.v2.DeleteInstanceRequest; -import com.google.bigtable.admin.v2.GetAppProfileRequest; -import com.google.bigtable.admin.v2.GetClusterRequest; -import com.google.bigtable.admin.v2.GetInstanceRequest; -import com.google.bigtable.admin.v2.Instance; -import com.google.bigtable.admin.v2.ListAppProfilesRequest; -import com.google.bigtable.admin.v2.ListAppProfilesResponse; -import com.google.bigtable.admin.v2.ListClustersRequest; -import com.google.bigtable.admin.v2.ListClustersResponse; -import com.google.bigtable.admin.v2.ListHotTabletsRequest; -import com.google.bigtable.admin.v2.ListHotTabletsResponse; -import com.google.bigtable.admin.v2.ListInstancesRequest; -import com.google.bigtable.admin.v2.ListInstancesResponse; -import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; -import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; -import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; -import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; -import com.google.bigtable.admin.v2.UpdateAppProfileRequest; -import com.google.bigtable.admin.v2.UpdateClusterMetadata; -import com.google.bigtable.admin.v2.UpdateInstanceMetadata; -import com.google.iam.v1.GetIamPolicyRequest; -import com.google.iam.v1.Policy; -import com.google.iam.v1.SetIamPolicyRequest; -import com.google.iam.v1.TestIamPermissionsRequest; -import com.google.iam.v1.TestIamPermissionsResponse; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.GrpcOperationsStub; -import com.google.protobuf.Empty; -import io.grpc.MethodDescriptor; -import io.grpc.protobuf.ProtoUtils; -import java.io.IOException; -import java.util.Map; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the BigtableInstanceAdmin service API. - * - *

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

This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { - private static final MethodDescriptor createTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateTable") - .setRequestMarshaller(ProtoUtils.marshaller(CreateTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - createTableFromSnapshotMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot") - .setRequestMarshaller( - ProtoUtils.marshaller(CreateTableFromSnapshotRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - listTablesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListTables") - .setRequestMarshaller(ProtoUtils.marshaller(ListTablesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(ListTablesResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor getTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetTable") - .setRequestMarshaller(ProtoUtils.marshaller(GetTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) - .build(); - - private static final MethodDescriptor updateTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateTable") - .setRequestMarshaller(ProtoUtils.marshaller(UpdateTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor deleteTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable") - .setRequestMarshaller(ProtoUtils.marshaller(DeleteTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - undeleteTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UndeleteTable") - .setRequestMarshaller( - ProtoUtils.marshaller(UndeleteTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - modifyColumnFamiliesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies") - .setRequestMarshaller( - ProtoUtils.marshaller(ModifyColumnFamiliesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) - .build(); - - private static final MethodDescriptor dropRowRangeMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange") - .setRequestMarshaller(ProtoUtils.marshaller(DropRowRangeRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); - - private static final MethodDescriptor< - GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> - generateConsistencyTokenMethodDescriptor = - MethodDescriptor - .newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - "google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken") - .setRequestMarshaller( - ProtoUtils.marshaller(GenerateConsistencyTokenRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(GenerateConsistencyTokenResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - checkConsistencyMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency") - .setRequestMarshaller( - ProtoUtils.marshaller(CheckConsistencyRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(CheckConsistencyResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - snapshotTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable") - .setRequestMarshaller( - ProtoUtils.marshaller(SnapshotTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor getSnapshotMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot") - .setRequestMarshaller(ProtoUtils.marshaller(GetSnapshotRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Snapshot.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - listSnapshotsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots") - .setRequestMarshaller( - ProtoUtils.marshaller(ListSnapshotsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ListSnapshotsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - deleteSnapshotMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot") - .setRequestMarshaller( - ProtoUtils.marshaller(DeleteSnapshotRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - createBackupMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateBackup") - .setRequestMarshaller(ProtoUtils.marshaller(CreateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor getBackupMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetBackup") - .setRequestMarshaller(ProtoUtils.marshaller(GetBackupRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) - .build(); - - private static final MethodDescriptor updateBackupMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateBackup") - .setRequestMarshaller(ProtoUtils.marshaller(UpdateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) - .build(); - - private static final MethodDescriptor deleteBackupMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteBackup") - .setRequestMarshaller(ProtoUtils.marshaller(DeleteBackupRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - listBackupsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListBackups") - .setRequestMarshaller(ProtoUtils.marshaller(ListBackupsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ListBackupsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - restoreTableMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable") - .setRequestMarshaller(ProtoUtils.marshaller(RestoreTableRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor 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 -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings - createTableFromSnapshotTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createTableFromSnapshotMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings listTablesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listTablesMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings getTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings updateTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("table.name", String.valueOf(request.getTable().getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings deleteTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings undeleteTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(undeleteTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings modifyColumnFamiliesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(modifyColumnFamiliesMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings dropRowRangeTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(dropRowRangeMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings - generateConsistencyTokenTransportSettings = - GrpcCallSettings - .newBuilder() - .setMethodDescriptor(generateConsistencyTokenMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings - checkConsistencyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(checkConsistencyMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings snapshotTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(snapshotTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings getSnapshotTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getSnapshotMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings listSnapshotsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listSnapshotsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings deleteSnapshotTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteSnapshotMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings createBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createBackupMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings getBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getBackupMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings updateBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateBackupMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("backup.name", String.valueOf(request.getBackup().getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings deleteBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteBackupMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("name", String.valueOf(request.getName())); - return builder.build(); - }) - .build(); - GrpcCallSettings listBackupsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listBackupsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings restoreTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(restoreTableMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("parent", String.valueOf(request.getParent())); - return builder.build(); - }) - .build(); - GrpcCallSettings getIamPolicyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getIamPolicyMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("resource", String.valueOf(request.getResource())); - return builder.build(); - }) - .build(); - GrpcCallSettings setIamPolicyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(setIamPolicyMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("resource", String.valueOf(request.getResource())); - return builder.build(); - }) - .build(); - GrpcCallSettings - testIamPermissionsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(testIamPermissionsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("resource", String.valueOf(request.getResource())); - return builder.build(); - }) - .build(); - - this.createTableCallable = - callableFactory.createUnaryCallable( - createTableTransportSettings, settings.createTableSettings(), clientContext); - this.createTableFromSnapshotCallable = - callableFactory.createUnaryCallable( - createTableFromSnapshotTransportSettings, - settings.createTableFromSnapshotSettings(), - clientContext); - this.createTableFromSnapshotOperationCallable = - callableFactory.createOperationCallable( - createTableFromSnapshotTransportSettings, - settings.createTableFromSnapshotOperationSettings(), - clientContext, - operationsStub); - this.listTablesCallable = - callableFactory.createUnaryCallable( - listTablesTransportSettings, settings.listTablesSettings(), clientContext); - this.listTablesPagedCallable = - callableFactory.createPagedCallable( - listTablesTransportSettings, settings.listTablesSettings(), clientContext); - this.getTableCallable = - callableFactory.createUnaryCallable( - getTableTransportSettings, settings.getTableSettings(), clientContext); - this.updateTableCallable = - callableFactory.createUnaryCallable( - updateTableTransportSettings, settings.updateTableSettings(), clientContext); - this.updateTableOperationCallable = - callableFactory.createOperationCallable( - updateTableTransportSettings, - settings.updateTableOperationSettings(), - clientContext, - operationsStub); - this.deleteTableCallable = - callableFactory.createUnaryCallable( - deleteTableTransportSettings, settings.deleteTableSettings(), clientContext); - this.undeleteTableCallable = - callableFactory.createUnaryCallable( - undeleteTableTransportSettings, settings.undeleteTableSettings(), clientContext); - this.undeleteTableOperationCallable = - callableFactory.createOperationCallable( - undeleteTableTransportSettings, - settings.undeleteTableOperationSettings(), - clientContext, - operationsStub); - this.modifyColumnFamiliesCallable = - callableFactory.createUnaryCallable( - modifyColumnFamiliesTransportSettings, - settings.modifyColumnFamiliesSettings(), - clientContext); - this.dropRowRangeCallable = - callableFactory.createUnaryCallable( - dropRowRangeTransportSettings, settings.dropRowRangeSettings(), clientContext); - this.generateConsistencyTokenCallable = - callableFactory.createUnaryCallable( - generateConsistencyTokenTransportSettings, - settings.generateConsistencyTokenSettings(), - clientContext); - this.checkConsistencyCallable = - callableFactory.createUnaryCallable( - checkConsistencyTransportSettings, settings.checkConsistencySettings(), clientContext); - this.snapshotTableCallable = - callableFactory.createUnaryCallable( - snapshotTableTransportSettings, settings.snapshotTableSettings(), clientContext); - this.snapshotTableOperationCallable = - callableFactory.createOperationCallable( - snapshotTableTransportSettings, - settings.snapshotTableOperationSettings(), - clientContext, - operationsStub); - this.getSnapshotCallable = - callableFactory.createUnaryCallable( - getSnapshotTransportSettings, settings.getSnapshotSettings(), clientContext); - this.listSnapshotsCallable = - callableFactory.createUnaryCallable( - listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); - this.listSnapshotsPagedCallable = - callableFactory.createPagedCallable( - listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); - this.deleteSnapshotCallable = - callableFactory.createUnaryCallable( - deleteSnapshotTransportSettings, settings.deleteSnapshotSettings(), clientContext); - this.createBackupCallable = - callableFactory.createUnaryCallable( - createBackupTransportSettings, settings.createBackupSettings(), clientContext); - this.createBackupOperationCallable = - callableFactory.createOperationCallable( - createBackupTransportSettings, - settings.createBackupOperationSettings(), - clientContext, - operationsStub); - this.getBackupCallable = - callableFactory.createUnaryCallable( - getBackupTransportSettings, settings.getBackupSettings(), clientContext); - this.updateBackupCallable = - callableFactory.createUnaryCallable( - updateBackupTransportSettings, settings.updateBackupSettings(), clientContext); - this.deleteBackupCallable = - callableFactory.createUnaryCallable( - deleteBackupTransportSettings, settings.deleteBackupSettings(), clientContext); - this.listBackupsCallable = - callableFactory.createUnaryCallable( - listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); - this.listBackupsPagedCallable = - callableFactory.createPagedCallable( - listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); - this.restoreTableCallable = - callableFactory.createUnaryCallable( - restoreTableTransportSettings, settings.restoreTableSettings(), clientContext); - this.restoreTableOperationCallable = - callableFactory.createOperationCallable( - restoreTableTransportSettings, - settings.restoreTableOperationSettings(), - clientContext, - operationsStub); - this.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 ce3cfa664d..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java +++ /dev/null @@ -1,1376 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigtable.data.v2; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.bigtable.v2.CheckAndMutateRowRequest; -import com.google.bigtable.v2.CheckAndMutateRowResponse; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; -import com.google.bigtable.v2.InstanceName; -import com.google.bigtable.v2.MutateRowRequest; -import com.google.bigtable.v2.MutateRowResponse; -import com.google.bigtable.v2.MutateRowsRequest; -import com.google.bigtable.v2.MutateRowsResponse; -import com.google.bigtable.v2.Mutation; -import com.google.bigtable.v2.PingAndWarmRequest; -import com.google.bigtable.v2.PingAndWarmResponse; -import com.google.bigtable.v2.ReadChangeStreamRequest; -import com.google.bigtable.v2.ReadChangeStreamResponse; -import com.google.bigtable.v2.ReadModifyWriteRowRequest; -import com.google.bigtable.v2.ReadModifyWriteRowResponse; -import com.google.bigtable.v2.ReadModifyWriteRule; -import com.google.bigtable.v2.ReadRowsRequest; -import com.google.bigtable.v2.ReadRowsResponse; -import com.google.bigtable.v2.RowFilter; -import com.google.bigtable.v2.SampleRowKeysRequest; -import com.google.bigtable.v2.SampleRowKeysResponse; -import com.google.bigtable.v2.TableName; -import com.google.cloud.bigtable.data.v2.stub.BigtableStub; -import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; -import com.google.protobuf.ByteString; -import java.io.IOException; -import java.util.List; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Service Description: Service for reading from and writing to existing Bigtable tables. - * - *

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

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
- *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
- *   ByteString rowKey = ByteString.EMPTY;
- *   List mutations = new ArrayList<>();
- *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
- * }
- * }
- * - *

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

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

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

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

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

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

To customize credentials: - * - *

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

To customize the endpoint: - * - *

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

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

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   ReadRowsRequest request =
-   *       ReadRowsRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRows(RowSet.newBuilder().build())
-   *           .setFilter(RowFilter.newBuilder().build())
-   *           .setRowsLimit(-944199211)
-   *           .setReversed(true)
-   *           .build();
-   *   ServerStream stream =
-   *       baseBigtableDataClient.readRowsCallable().call(request);
-   *   for (ReadRowsResponse response : stream) {
-   *     // Do something when a response is received.
-   *   }
-   * }
-   * }
- */ - public final ServerStreamingCallable readRowsCallable() { - return stub.readRowsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Returns a sample of row keys in the table. The returned row keys will delimit contiguous - * sections of the table of approximately equal size, which can be used to break up the data for - * distributed tasks like mapreduces. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   SampleRowKeysRequest request =
-   *       SampleRowKeysRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .build();
-   *   ServerStream stream =
-   *       baseBigtableDataClient.sampleRowKeysCallable().call(request);
-   *   for (SampleRowKeysResponse response : stream) {
-   *     // Do something when a response is received.
-   *   }
-   * }
-   * }
- */ - public final ServerStreamingCallable - sampleRowKeysCallable() { - return stub.sampleRowKeysCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly - * changed by `mutation`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List mutations = new ArrayList<>();
-   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the mutation should be - * applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the mutation should be applied. - * @param mutations Required. Changes to be atomically applied to the specified row. Entries are - * applied in order, meaning that earlier mutations can be masked by later ones. Must contain - * at least one entry and at most 100000. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final MutateRowResponse mutateRow( - TableName tableName, ByteString rowKey, List mutations) { - MutateRowRequest request = - MutateRowRequest.newBuilder() - .setTableName(tableName == null ? null : tableName.toString()) - .setRowKey(rowKey) - .addAllMutations(mutations) - .build(); - return mutateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly - * changed by `mutation`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List mutations = new ArrayList<>();
-   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the mutation should be - * applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the mutation should be applied. - * @param mutations Required. Changes to be atomically applied to the specified row. Entries are - * applied in order, meaning that earlier mutations can be masked by later ones. Must contain - * at least one entry and at most 100000. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final MutateRowResponse mutateRow( - String tableName, ByteString rowKey, List mutations) { - MutateRowRequest request = - MutateRowRequest.newBuilder() - .setTableName(tableName) - .setRowKey(rowKey) - .addAllMutations(mutations) - .build(); - return mutateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly - * changed by `mutation`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List mutations = new ArrayList<>();
-   *   String appProfileId = "appProfileId704923523";
-   *   MutateRowResponse response =
-   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the mutation should be - * applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the mutation should be applied. - * @param mutations Required. Changes to be atomically applied to the specified row. Entries are - * applied in order, meaning that earlier mutations can be masked by later ones. Must contain - * at least one entry and at most 100000. - * @param appProfileId This value specifies routing for replication. If not specified, the - * "default" application profile will be used. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final MutateRowResponse mutateRow( - TableName tableName, ByteString rowKey, List mutations, String appProfileId) { - MutateRowRequest request = - MutateRowRequest.newBuilder() - .setTableName(tableName == null ? null : tableName.toString()) - .setRowKey(rowKey) - .addAllMutations(mutations) - .setAppProfileId(appProfileId) - .build(); - return mutateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly - * changed by `mutation`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List mutations = new ArrayList<>();
-   *   String appProfileId = "appProfileId704923523";
-   *   MutateRowResponse response =
-   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the mutation should be - * applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the mutation should be applied. - * @param mutations Required. Changes to be atomically applied to the specified row. Entries are - * applied in order, meaning that earlier mutations can be masked by later ones. Must contain - * at least one entry and at most 100000. - * @param appProfileId This value specifies routing for replication. If not specified, the - * "default" application profile will be used. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final MutateRowResponse mutateRow( - String tableName, ByteString rowKey, List mutations, String appProfileId) { - MutateRowRequest request = - MutateRowRequest.newBuilder() - .setTableName(tableName) - .setRowKey(rowKey) - .addAllMutations(mutations) - .setAppProfileId(appProfileId) - .build(); - return mutateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly - * changed by `mutation`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   MutateRowRequest request =
-   *       MutateRowRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRowKey(ByteString.EMPTY)
-   *           .addAllMutations(new ArrayList())
-   *           .build();
-   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final MutateRowResponse mutateRow(MutateRowRequest request) { - return mutateRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly - * changed by `mutation`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   MutateRowRequest request =
-   *       MutateRowRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRowKey(ByteString.EMPTY)
-   *           .addAllMutations(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableDataClient.mutateRowCallable().futureCall(request);
-   *   // Do something.
-   *   MutateRowResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable mutateRowCallable() { - return stub.mutateRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, - * but the entire batch is not executed atomically. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   MutateRowsRequest request =
-   *       MutateRowsRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .addAllEntries(new ArrayList())
-   *           .build();
-   *   ServerStream stream =
-   *       baseBigtableDataClient.mutateRowsCallable().call(request);
-   *   for (MutateRowsResponse response : stream) {
-   *     // Do something when a response is received.
-   *   }
-   * }
-   * }
- */ - public final ServerStreamingCallable mutateRowsCallable() { - return stub.mutateRowsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically based on the output of a predicate Reader filter. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
-   *   List trueMutations = new ArrayList<>();
-   *   List falseMutations = new ArrayList<>();
-   *   CheckAndMutateRowResponse response =
-   *       baseBigtableDataClient.checkAndMutateRow(
-   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the conditional mutation - * should be applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the conditional mutation should be applied. - * @param predicateFilter The filter to be applied to the contents of the specified row. Depending - * on whether or not any results are yielded, either `true_mutations` or `false_mutations` - * will be executed. If unset, checks that the row contains any values at all. - * @param trueMutations Changes to be atomically applied to the specified row if - * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied - * in order, meaning that earlier mutations can be masked by later ones. Must contain at least - * one entry if `false_mutations` is empty, and at most 100000. - * @param falseMutations Changes to be atomically applied to the specified row if - * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied - * in order, meaning that earlier mutations can be masked by later ones. Must contain at least - * one entry if `true_mutations` is empty, and at most 100000. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final CheckAndMutateRowResponse checkAndMutateRow( - TableName tableName, - ByteString rowKey, - RowFilter predicateFilter, - List trueMutations, - List falseMutations) { - CheckAndMutateRowRequest request = - CheckAndMutateRowRequest.newBuilder() - .setTableName(tableName == null ? null : tableName.toString()) - .setRowKey(rowKey) - .setPredicateFilter(predicateFilter) - .addAllTrueMutations(trueMutations) - .addAllFalseMutations(falseMutations) - .build(); - return checkAndMutateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically based on the output of a predicate Reader filter. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
-   *   List trueMutations = new ArrayList<>();
-   *   List falseMutations = new ArrayList<>();
-   *   CheckAndMutateRowResponse response =
-   *       baseBigtableDataClient.checkAndMutateRow(
-   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the conditional mutation - * should be applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the conditional mutation should be applied. - * @param predicateFilter The filter to be applied to the contents of the specified row. Depending - * on whether or not any results are yielded, either `true_mutations` or `false_mutations` - * will be executed. If unset, checks that the row contains any values at all. - * @param trueMutations Changes to be atomically applied to the specified row if - * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied - * in order, meaning that earlier mutations can be masked by later ones. Must contain at least - * one entry if `false_mutations` is empty, and at most 100000. - * @param falseMutations Changes to be atomically applied to the specified row if - * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied - * in order, meaning that earlier mutations can be masked by later ones. Must contain at least - * one entry if `true_mutations` is empty, and at most 100000. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final CheckAndMutateRowResponse checkAndMutateRow( - String tableName, - ByteString rowKey, - RowFilter predicateFilter, - List trueMutations, - List falseMutations) { - CheckAndMutateRowRequest request = - CheckAndMutateRowRequest.newBuilder() - .setTableName(tableName) - .setRowKey(rowKey) - .setPredicateFilter(predicateFilter) - .addAllTrueMutations(trueMutations) - .addAllFalseMutations(falseMutations) - .build(); - return checkAndMutateRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically based on the output of a predicate Reader filter. - * - *

Sample code: - * - *

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

Sample code: - * - *

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

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   CheckAndMutateRowRequest request =
-   *       CheckAndMutateRowRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRowKey(ByteString.EMPTY)
-   *           .setPredicateFilter(RowFilter.newBuilder().build())
-   *           .addAllTrueMutations(new ArrayList())
-   *           .addAllFalseMutations(new ArrayList())
-   *           .build();
-   *   CheckAndMutateRowResponse response = baseBigtableDataClient.checkAndMutateRow(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final CheckAndMutateRowResponse checkAndMutateRow(CheckAndMutateRowRequest request) { - return checkAndMutateRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Mutates a row atomically based on the output of a predicate Reader filter. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   CheckAndMutateRowRequest request =
-   *       CheckAndMutateRowRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRowKey(ByteString.EMPTY)
-   *           .setPredicateFilter(RowFilter.newBuilder().build())
-   *           .addAllTrueMutations(new ArrayList())
-   *           .addAllFalseMutations(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableDataClient.checkAndMutateRowCallable().futureCall(request);
-   *   // Do something.
-   *   CheckAndMutateRowResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - checkAndMutateRowCallable() { - return stub.checkAndMutateRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Warm up associated instance metadata for this connection. This call is not required but may be - * useful for connection keep-alive. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
-   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the instance to check permissions for as well as - * respond. Values are of the form `projects/<project>/instances/<instance>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PingAndWarmResponse pingAndWarm(InstanceName name) { - PingAndWarmRequest request = - PingAndWarmRequest.newBuilder().setName(name == null ? null : name.toString()).build(); - return pingAndWarm(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Warm up associated instance metadata for this connection. This call is not required but may be - * useful for connection keep-alive. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
-   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
-   * }
-   * }
- * - * @param name Required. The unique name of the instance to check permissions for as well as - * respond. Values are of the form `projects/<project>/instances/<instance>`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PingAndWarmResponse pingAndWarm(String name) { - PingAndWarmRequest request = PingAndWarmRequest.newBuilder().setName(name).build(); - return pingAndWarm(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Warm up associated instance metadata for this connection. This call is not required but may be - * useful for connection keep-alive. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
-   *   String appProfileId = "appProfileId704923523";
-   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
-   * }
-   * }
- * - * @param name Required. The unique name of the instance to check permissions for as well as - * respond. Values are of the form `projects/<project>/instances/<instance>`. - * @param appProfileId This value specifies routing for replication. If not specified, the - * "default" application profile will be used. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PingAndWarmResponse pingAndWarm(InstanceName name, String appProfileId) { - PingAndWarmRequest request = - PingAndWarmRequest.newBuilder() - .setName(name == null ? null : name.toString()) - .setAppProfileId(appProfileId) - .build(); - return pingAndWarm(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Warm up associated instance metadata for this connection. This call is not required but may be - * useful for connection keep-alive. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
-   *   String appProfileId = "appProfileId704923523";
-   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
-   * }
-   * }
- * - * @param name Required. The unique name of the instance to check permissions for as well as - * respond. Values are of the form `projects/<project>/instances/<instance>`. - * @param appProfileId This value specifies routing for replication. If not specified, the - * "default" application profile will be used. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PingAndWarmResponse pingAndWarm(String name, String appProfileId) { - PingAndWarmRequest request = - PingAndWarmRequest.newBuilder().setName(name).setAppProfileId(appProfileId).build(); - return pingAndWarm(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Warm up associated instance metadata for this connection. This call is not required but may be - * useful for connection keep-alive. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   PingAndWarmRequest request =
-   *       PingAndWarmRequest.newBuilder()
-   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .build();
-   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final PingAndWarmResponse pingAndWarm(PingAndWarmRequest request) { - return pingAndWarmCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Warm up associated instance metadata for this connection. This call is not required but may be - * useful for connection keep-alive. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   PingAndWarmRequest request =
-   *       PingAndWarmRequest.newBuilder()
-   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableDataClient.pingAndWarmCallable().futureCall(request);
-   *   // Do something.
-   *   PingAndWarmResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable pingAndWarmCallable() { - return stub.pingAndWarmCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Modifies a row atomically on the server. The method reads the latest existing timestamp and - * value from the specified columns and writes a new entry based on pre-defined read/modify/write - * rules. The new value for the timestamp is the greater of the existing timestamp or the current - * server time. The method returns the new contents of all modified cells. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List rules = new ArrayList<>();
-   *   ReadModifyWriteRowResponse response =
-   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the read/modify/write rules - * should be applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the read/modify/write rules should be - * applied. - * @param rules Required. Rules specifying how the specified row's contents are to be transformed - * into writes. Entries are applied in order, meaning that earlier rules will affect the - * results of later ones. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ReadModifyWriteRowResponse readModifyWriteRow( - TableName tableName, ByteString rowKey, List rules) { - ReadModifyWriteRowRequest request = - ReadModifyWriteRowRequest.newBuilder() - .setTableName(tableName == null ? null : tableName.toString()) - .setRowKey(rowKey) - .addAllRules(rules) - .build(); - return readModifyWriteRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Modifies a row atomically on the server. The method reads the latest existing timestamp and - * value from the specified columns and writes a new entry based on pre-defined read/modify/write - * rules. The new value for the timestamp is the greater of the existing timestamp or the current - * server time. The method returns the new contents of all modified cells. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List rules = new ArrayList<>();
-   *   ReadModifyWriteRowResponse response =
-   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the read/modify/write rules - * should be applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the read/modify/write rules should be - * applied. - * @param rules Required. Rules specifying how the specified row's contents are to be transformed - * into writes. Entries are applied in order, meaning that earlier rules will affect the - * results of later ones. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ReadModifyWriteRowResponse readModifyWriteRow( - String tableName, ByteString rowKey, List rules) { - ReadModifyWriteRowRequest request = - ReadModifyWriteRowRequest.newBuilder() - .setTableName(tableName) - .setRowKey(rowKey) - .addAllRules(rules) - .build(); - return readModifyWriteRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Modifies a row atomically on the server. The method reads the latest existing timestamp and - * value from the specified columns and writes a new entry based on pre-defined read/modify/write - * rules. The new value for the timestamp is the greater of the existing timestamp or the current - * server time. The method returns the new contents of all modified cells. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List rules = new ArrayList<>();
-   *   String appProfileId = "appProfileId704923523";
-   *   ReadModifyWriteRowResponse response =
-   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the read/modify/write rules - * should be applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the read/modify/write rules should be - * applied. - * @param rules Required. Rules specifying how the specified row's contents are to be transformed - * into writes. Entries are applied in order, meaning that earlier rules will affect the - * results of later ones. - * @param appProfileId This value specifies routing for replication. If not specified, the - * "default" application profile will be used. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ReadModifyWriteRowResponse readModifyWriteRow( - TableName tableName, - ByteString rowKey, - List rules, - String appProfileId) { - ReadModifyWriteRowRequest request = - ReadModifyWriteRowRequest.newBuilder() - .setTableName(tableName == null ? null : tableName.toString()) - .setRowKey(rowKey) - .addAllRules(rules) - .setAppProfileId(appProfileId) - .build(); - return readModifyWriteRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Modifies a row atomically on the server. The method reads the latest existing timestamp and - * value from the specified columns and writes a new entry based on pre-defined read/modify/write - * rules. The new value for the timestamp is the greater of the existing timestamp or the current - * server time. The method returns the new contents of all modified cells. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
-   *   ByteString rowKey = ByteString.EMPTY;
-   *   List rules = new ArrayList<>();
-   *   String appProfileId = "appProfileId704923523";
-   *   ReadModifyWriteRowResponse response =
-   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
-   * }
-   * }
- * - * @param tableName Required. The unique name of the table to which the read/modify/write rules - * should be applied. Values are of the form - * `projects/<project>/instances/<instance>/tables/<table>`. - * @param rowKey Required. The key of the row to which the read/modify/write rules should be - * applied. - * @param rules Required. Rules specifying how the specified row's contents are to be transformed - * into writes. Entries are applied in order, meaning that earlier rules will affect the - * results of later ones. - * @param appProfileId This value specifies routing for replication. If not specified, the - * "default" application profile will be used. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ReadModifyWriteRowResponse readModifyWriteRow( - String tableName, ByteString rowKey, List rules, String appProfileId) { - ReadModifyWriteRowRequest request = - ReadModifyWriteRowRequest.newBuilder() - .setTableName(tableName) - .setRowKey(rowKey) - .addAllRules(rules) - .setAppProfileId(appProfileId) - .build(); - return readModifyWriteRow(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Modifies a row atomically on the server. The method reads the latest existing timestamp and - * value from the specified columns and writes a new entry based on pre-defined read/modify/write - * rules. The new value for the timestamp is the greater of the existing timestamp or the current - * server time. The method returns the new contents of all modified cells. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   ReadModifyWriteRowRequest request =
-   *       ReadModifyWriteRowRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRowKey(ByteString.EMPTY)
-   *           .addAllRules(new ArrayList())
-   *           .build();
-   *   ReadModifyWriteRowResponse response = baseBigtableDataClient.readModifyWriteRow(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ReadModifyWriteRowResponse readModifyWriteRow(ReadModifyWriteRowRequest request) { - return readModifyWriteRowCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Modifies a row atomically on the server. The method reads the latest existing timestamp and - * value from the specified columns and writes a new entry based on pre-defined read/modify/write - * rules. The new value for the timestamp is the greater of the existing timestamp or the current - * server time. The method returns the new contents of all modified cells. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   ReadModifyWriteRowRequest request =
-   *       ReadModifyWriteRowRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .setRowKey(ByteString.EMPTY)
-   *           .addAllRules(new ArrayList())
-   *           .build();
-   *   ApiFuture future =
-   *       baseBigtableDataClient.readModifyWriteRowCallable().futureCall(request);
-   *   // Do something.
-   *   ReadModifyWriteRowResponse response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable - readModifyWriteRowCallable() { - return stub.readModifyWriteRowCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * NOTE: This API is intended to be used by Apache Beam BigtableIO. Returns the current list of - * partitions that make up the table's change stream. The union of partitions will cover the - * entire keyspace. Partitions can be read with `ReadChangeStream`. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
-   *   GenerateInitialChangeStreamPartitionsRequest request =
-   *       GenerateInitialChangeStreamPartitionsRequest.newBuilder()
-   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
-   *           .setAppProfileId("appProfileId704923523")
-   *           .build();
-   *   ServerStream stream =
-   *       baseBigtableDataClient.generateInitialChangeStreamPartitionsCallable().call(request);
-   *   for (GenerateInitialChangeStreamPartitionsResponse response : stream) {
-   *     // Do something when a response is received.
-   *   }
-   * }
-   * }
- */ - public final ServerStreamingCallable< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsCallable() { - return stub.generateInitialChangeStreamPartitionsCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * NOTE: This API is intended to be used by Apache Beam BigtableIO. Reads changes from a table's - * change stream. Changes will reflect both user-initiated mutations and mutations that are caused - * by garbage collection. - * - *

Sample code: - * - *

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

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

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

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

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

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * BaseBigtableDataSettings.Builder baseBigtableDataSettingsBuilder =
- *     BaseBigtableDataSettings.newBuilder();
- * baseBigtableDataSettingsBuilder
- *     .mutateRowSettings()
- *     .setRetrySettings(
- *         baseBigtableDataSettingsBuilder
- *             .mutateRowSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * BaseBigtableDataSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build();
- * }
- */ -@Generated("by gapic-generator-java") -public class BaseBigtableDataSettings extends ClientSettings { - - /** Returns the object with the settings used for calls to readRows. */ - public ServerStreamingCallSettings readRowsSettings() { - return ((BigtableStubSettings) getStubSettings()).readRowsSettings(); - } - - /** Returns the object with the settings used for calls to sampleRowKeys. */ - public ServerStreamingCallSettings - sampleRowKeysSettings() { - return ((BigtableStubSettings) getStubSettings()).sampleRowKeysSettings(); - } - - /** Returns the object with the settings used for calls to mutateRow. */ - public UnaryCallSettings mutateRowSettings() { - return ((BigtableStubSettings) getStubSettings()).mutateRowSettings(); - } - - /** Returns the object with the settings used for calls to mutateRows. */ - public ServerStreamingCallSettings mutateRowsSettings() { - return ((BigtableStubSettings) getStubSettings()).mutateRowsSettings(); - } - - /** Returns the object with the settings used for calls to checkAndMutateRow. */ - public UnaryCallSettings - checkAndMutateRowSettings() { - return ((BigtableStubSettings) getStubSettings()).checkAndMutateRowSettings(); - } - - /** Returns the object with the settings used for calls to pingAndWarm. */ - public UnaryCallSettings pingAndWarmSettings() { - return ((BigtableStubSettings) getStubSettings()).pingAndWarmSettings(); - } - - /** Returns the object with the settings used for calls to readModifyWriteRow. */ - public UnaryCallSettings - readModifyWriteRowSettings() { - return ((BigtableStubSettings) getStubSettings()).readModifyWriteRowSettings(); - } - - /** - * Returns the object with the settings used for calls to generateInitialChangeStreamPartitions. - */ - public ServerStreamingCallSettings< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsSettings() { - return ((BigtableStubSettings) getStubSettings()) - .generateInitialChangeStreamPartitionsSettings(); - } - - /** Returns the object with the settings used for calls to readChangeStream. */ - public ServerStreamingCallSettings - readChangeStreamSettings() { - return ((BigtableStubSettings) getStubSettings()).readChangeStreamSettings(); - } - - public static final BaseBigtableDataSettings create(BigtableStubSettings stub) - throws IOException { - return new BaseBigtableDataSettings.Builder(stub.toBuilder()).build(); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return BigtableStubSettings.defaultExecutorProviderBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return BigtableStubSettings.getDefaultEndpoint(); - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return BigtableStubSettings.getDefaultServiceScopes(); - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return BigtableStubSettings.defaultCredentialsProviderBuilder(); - } - - /** Returns a builder for the default ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return BigtableStubSettings.defaultGrpcTransportProviderBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return BigtableStubSettings.defaultTransportChannelProvider(); - } - - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return BigtableStubSettings.defaultApiClientHeaderProviderBuilder(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected BaseBigtableDataSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - } - - /** Builder for BaseBigtableDataSettings. */ - public static class Builder extends ClientSettings.Builder { - - protected Builder() throws IOException { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(BigtableStubSettings.newBuilder(clientContext)); - } - - protected Builder(BaseBigtableDataSettings settings) { - super(settings.getStubSettings().toBuilder()); - } - - protected Builder(BigtableStubSettings.Builder stubSettings) { - super(stubSettings); - } - - private static Builder createDefault() { - return new Builder(BigtableStubSettings.newBuilder()); - } - - public BigtableStubSettings.Builder getStubSettingsBuilder() { - return ((BigtableStubSettings.Builder) getStubSettings()); - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

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

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

======================= BaseBigtableDataClient ======================= - * - *

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

Sample for BaseBigtableDataClient: - * - *

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

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

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

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

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

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

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

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to readRows. */ - public ServerStreamingCallSettings.Builder - readRowsSettings() { - return readRowsSettings; - } - - /** Returns the builder for the settings used for calls to sampleRowKeys. */ - public ServerStreamingCallSettings.Builder - sampleRowKeysSettings() { - return sampleRowKeysSettings; - } - - /** Returns the builder for the settings used for calls to mutateRow. */ - public UnaryCallSettings.Builder mutateRowSettings() { - return mutateRowSettings; - } - - /** Returns the builder for the settings used for calls to mutateRows. */ - public ServerStreamingCallSettings.Builder - mutateRowsSettings() { - return mutateRowsSettings; - } - - /** Returns the builder for the settings used for calls to checkAndMutateRow. */ - public UnaryCallSettings.Builder - checkAndMutateRowSettings() { - return checkAndMutateRowSettings; - } - - /** Returns the builder for the settings used for calls to pingAndWarm. */ - public UnaryCallSettings.Builder - pingAndWarmSettings() { - return pingAndWarmSettings; - } - - /** Returns the builder for the settings used for calls to readModifyWriteRow. */ - public UnaryCallSettings.Builder - readModifyWriteRowSettings() { - return readModifyWriteRowSettings; - } - - /** - * Returns the builder for the settings used for calls to generateInitialChangeStreamPartitions. - */ - public ServerStreamingCallSettings.Builder< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsSettings() { - return generateInitialChangeStreamPartitionsSettings; - } - - /** Returns the builder for the settings used for calls to readChangeStream. */ - public ServerStreamingCallSettings.Builder - readChangeStreamSettings() { - return readChangeStreamSettings; - } - - @Override - public BigtableStubSettings build() throws IOException { - return new BigtableStubSettings(this); - } - } -} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java deleted file mode 100644 index 202a5cac25..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 af3de2216f..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java +++ /dev/null @@ -1,501 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigtable.data.v2.stub; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.RequestParamsBuilder; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.api.pathtemplate.PathTemplate; -import com.google.bigtable.v2.CheckAndMutateRowRequest; -import com.google.bigtable.v2.CheckAndMutateRowResponse; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; -import com.google.bigtable.v2.MutateRowRequest; -import com.google.bigtable.v2.MutateRowResponse; -import com.google.bigtable.v2.MutateRowsRequest; -import com.google.bigtable.v2.MutateRowsResponse; -import com.google.bigtable.v2.PingAndWarmRequest; -import com.google.bigtable.v2.PingAndWarmResponse; -import com.google.bigtable.v2.ReadChangeStreamRequest; -import com.google.bigtable.v2.ReadChangeStreamResponse; -import com.google.bigtable.v2.ReadModifyWriteRowRequest; -import com.google.bigtable.v2.ReadModifyWriteRowResponse; -import com.google.bigtable.v2.ReadRowsRequest; -import com.google.bigtable.v2.ReadRowsResponse; -import com.google.bigtable.v2.SampleRowKeysRequest; -import com.google.bigtable.v2.SampleRowKeysResponse; -import com.google.longrunning.stub.GrpcOperationsStub; -import io.grpc.MethodDescriptor; -import io.grpc.protobuf.ProtoUtils; -import java.io.IOException; -import java.util.Map; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the Bigtable service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public class GrpcBigtableStub extends BigtableStub { - private static final MethodDescriptor - readRowsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName("google.bigtable.v2.Bigtable/ReadRows") - .setRequestMarshaller(ProtoUtils.marshaller(ReadRowsRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(ReadRowsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - sampleRowKeysMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName("google.bigtable.v2.Bigtable/SampleRowKeys") - .setRequestMarshaller( - ProtoUtils.marshaller(SampleRowKeysRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(SampleRowKeysResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - mutateRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.v2.Bigtable/MutateRow") - .setRequestMarshaller(ProtoUtils.marshaller(MutateRowRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(MutateRowResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - mutateRowsMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName("google.bigtable.v2.Bigtable/MutateRows") - .setRequestMarshaller(ProtoUtils.marshaller(MutateRowsRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(MutateRowsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - checkAndMutateRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.v2.Bigtable/CheckAndMutateRow") - .setRequestMarshaller( - ProtoUtils.marshaller(CheckAndMutateRowRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(CheckAndMutateRowResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - pingAndWarmMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.v2.Bigtable/PingAndWarm") - .setRequestMarshaller(ProtoUtils.marshaller(PingAndWarmRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(PingAndWarmResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - readModifyWriteRowMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.bigtable.v2.Bigtable/ReadModifyWriteRow") - .setRequestMarshaller( - ProtoUtils.marshaller(ReadModifyWriteRowRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ReadModifyWriteRowResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsMethodDescriptor = - MethodDescriptor - . - newBuilder() - .setType(MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName( - "google.bigtable.v2.Bigtable/GenerateInitialChangeStreamPartitions") - .setRequestMarshaller( - ProtoUtils.marshaller( - GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller( - GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - readChangeStreamMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName("google.bigtable.v2.Bigtable/ReadChangeStream") - .setRequestMarshaller( - ProtoUtils.marshaller(ReadChangeStreamRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ReadChangeStreamResponse.getDefaultInstance())) - .build(); - - private final ServerStreamingCallable readRowsCallable; - private final ServerStreamingCallable - sampleRowKeysCallable; - private final UnaryCallable mutateRowCallable; - private final ServerStreamingCallable mutateRowsCallable; - private final UnaryCallable - checkAndMutateRowCallable; - private final UnaryCallable pingAndWarmCallable; - private final UnaryCallable - readModifyWriteRowCallable; - private final ServerStreamingCallable< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsCallable; - private final ServerStreamingCallable - readChangeStreamCallable; - - private final BackgroundResource backgroundResources; - private final GrpcOperationsStub operationsStub; - private final GrpcStubCallableFactory callableFactory; - - private static final PathTemplate READ_ROWS_0_PATH_TEMPLATE = - PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); - private static final PathTemplate READ_ROWS_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - private static final PathTemplate SAMPLE_ROW_KEYS_0_PATH_TEMPLATE = - PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); - private static final PathTemplate SAMPLE_ROW_KEYS_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - private static final PathTemplate MUTATE_ROW_0_PATH_TEMPLATE = - PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); - private static final PathTemplate MUTATE_ROW_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - private static final PathTemplate MUTATE_ROWS_0_PATH_TEMPLATE = - PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); - private static final PathTemplate MUTATE_ROWS_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - private static final PathTemplate CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE = - PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); - private static final PathTemplate CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - private static final PathTemplate PING_AND_WARM_0_PATH_TEMPLATE = - PathTemplate.create("{name=projects/*/instances/*}"); - private static final PathTemplate PING_AND_WARM_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - private static final PathTemplate READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE = - PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); - private static final PathTemplate READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE = - PathTemplate.create("{app_profile_id=**}"); - - public static final GrpcBigtableStub create(BigtableStubSettings settings) throws IOException { - return new GrpcBigtableStub(settings, ClientContext.create(settings)); - } - - public static final GrpcBigtableStub create(ClientContext clientContext) throws IOException { - return new GrpcBigtableStub(BigtableStubSettings.newBuilder().build(), clientContext); - } - - public static final GrpcBigtableStub create( - ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { - return new GrpcBigtableStub( - BigtableStubSettings.newBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that - * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. - */ - protected GrpcBigtableStub(BigtableStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new GrpcBigtableCallableFactory()); - } - - /** - * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that - * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. - */ - protected GrpcBigtableStub( - BigtableStubSettings settings, - ClientContext clientContext, - GrpcStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); - - GrpcCallSettings readRowsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(readRowsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add(request.getTableName(), "table_name", READ_ROWS_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), "app_profile_id", READ_ROWS_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings sampleRowKeysTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(sampleRowKeysMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add( - request.getTableName(), "table_name", SAMPLE_ROW_KEYS_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), "app_profile_id", SAMPLE_ROW_KEYS_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings mutateRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(mutateRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add(request.getTableName(), "table_name", MUTATE_ROW_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), "app_profile_id", MUTATE_ROW_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings mutateRowsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(mutateRowsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add(request.getTableName(), "table_name", MUTATE_ROWS_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), "app_profile_id", MUTATE_ROWS_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings - checkAndMutateRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(checkAndMutateRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add( - request.getTableName(), - "table_name", - CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), - "app_profile_id", - CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings pingAndWarmTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(pingAndWarmMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add(request.getName(), "name", PING_AND_WARM_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), "app_profile_id", PING_AND_WARM_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings - readModifyWriteRowTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(readModifyWriteRowMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add( - request.getTableName(), - "table_name", - READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE); - builder.add( - request.getAppProfileId(), - "app_profile_id", - READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE); - return builder.build(); - }) - .build(); - GrpcCallSettings< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsTransportSettings = - GrpcCallSettings - . - newBuilder() - .setMethodDescriptor(generateInitialChangeStreamPartitionsMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("table_name", String.valueOf(request.getTableName())); - return builder.build(); - }) - .build(); - GrpcCallSettings - readChangeStreamTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(readChangeStreamMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("table_name", String.valueOf(request.getTableName())); - return builder.build(); - }) - .build(); - - this.readRowsCallable = - callableFactory.createServerStreamingCallable( - readRowsTransportSettings, settings.readRowsSettings(), clientContext); - this.sampleRowKeysCallable = - callableFactory.createServerStreamingCallable( - sampleRowKeysTransportSettings, settings.sampleRowKeysSettings(), clientContext); - this.mutateRowCallable = - callableFactory.createUnaryCallable( - mutateRowTransportSettings, settings.mutateRowSettings(), clientContext); - this.mutateRowsCallable = - callableFactory.createServerStreamingCallable( - mutateRowsTransportSettings, settings.mutateRowsSettings(), clientContext); - this.checkAndMutateRowCallable = - callableFactory.createUnaryCallable( - checkAndMutateRowTransportSettings, - settings.checkAndMutateRowSettings(), - clientContext); - this.pingAndWarmCallable = - callableFactory.createUnaryCallable( - pingAndWarmTransportSettings, settings.pingAndWarmSettings(), clientContext); - this.readModifyWriteRowCallable = - callableFactory.createUnaryCallable( - readModifyWriteRowTransportSettings, - settings.readModifyWriteRowSettings(), - clientContext); - this.generateInitialChangeStreamPartitionsCallable = - callableFactory.createServerStreamingCallable( - generateInitialChangeStreamPartitionsTransportSettings, - settings.generateInitialChangeStreamPartitionsSettings(), - clientContext); - this.readChangeStreamCallable = - callableFactory.createServerStreamingCallable( - readChangeStreamTransportSettings, settings.readChangeStreamSettings(), clientContext); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - public GrpcOperationsStub getOperationsStub() { - return operationsStub; - } - - @Override - public ServerStreamingCallable readRowsCallable() { - return readRowsCallable; - } - - @Override - public ServerStreamingCallable - sampleRowKeysCallable() { - return sampleRowKeysCallable; - } - - @Override - public UnaryCallable mutateRowCallable() { - return mutateRowCallable; - } - - @Override - public ServerStreamingCallable mutateRowsCallable() { - return mutateRowsCallable; - } - - @Override - public UnaryCallable - checkAndMutateRowCallable() { - return checkAndMutateRowCallable; - } - - @Override - public UnaryCallable pingAndWarmCallable() { - return pingAndWarmCallable; - } - - @Override - public UnaryCallable - readModifyWriteRowCallable() { - return readModifyWriteRowCallable; - } - - @Override - public ServerStreamingCallable< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - generateInitialChangeStreamPartitionsCallable() { - return generateInitialChangeStreamPartitionsCallable; - } - - @Override - public ServerStreamingCallable - readChangeStreamCallable() { - return readChangeStreamCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/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 8cf0894d4b..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 3fd61b52d6..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java +++ /dev/null @@ -1,2375 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigtable.admin.v2; - -import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; -import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; -import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.testing.LocalChannelProvider; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.api.gax.grpc.testing.MockServiceHelper; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.resourcenames.ResourceName; -import com.google.bigtable.admin.v2.Backup; -import com.google.bigtable.admin.v2.BackupName; -import com.google.bigtable.admin.v2.ChangeStreamConfig; -import com.google.bigtable.admin.v2.CheckConsistencyRequest; -import com.google.bigtable.admin.v2.CheckConsistencyResponse; -import com.google.bigtable.admin.v2.ClusterName; -import com.google.bigtable.admin.v2.ColumnFamily; -import com.google.bigtable.admin.v2.CreateBackupRequest; -import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; -import com.google.bigtable.admin.v2.CreateTableRequest; -import com.google.bigtable.admin.v2.DeleteBackupRequest; -import com.google.bigtable.admin.v2.DeleteSnapshotRequest; -import com.google.bigtable.admin.v2.DeleteTableRequest; -import com.google.bigtable.admin.v2.DropRowRangeRequest; -import com.google.bigtable.admin.v2.EncryptionInfo; -import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; -import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; -import com.google.bigtable.admin.v2.GetBackupRequest; -import com.google.bigtable.admin.v2.GetSnapshotRequest; -import com.google.bigtable.admin.v2.GetTableRequest; -import com.google.bigtable.admin.v2.InstanceName; -import com.google.bigtable.admin.v2.ListBackupsRequest; -import com.google.bigtable.admin.v2.ListBackupsResponse; -import com.google.bigtable.admin.v2.ListSnapshotsRequest; -import com.google.bigtable.admin.v2.ListSnapshotsResponse; -import com.google.bigtable.admin.v2.ListTablesRequest; -import com.google.bigtable.admin.v2.ListTablesResponse; -import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; -import com.google.bigtable.admin.v2.RestoreInfo; -import com.google.bigtable.admin.v2.RestoreTableRequest; -import com.google.bigtable.admin.v2.Snapshot; -import com.google.bigtable.admin.v2.SnapshotName; -import com.google.bigtable.admin.v2.SnapshotTableRequest; -import com.google.bigtable.admin.v2.Table; -import com.google.bigtable.admin.v2.TableName; -import com.google.bigtable.admin.v2.UndeleteTableRequest; -import com.google.bigtable.admin.v2.UpdateBackupRequest; -import com.google.bigtable.admin.v2.UpdateTableRequest; -import com.google.common.collect.Lists; -import com.google.iam.v1.AuditConfig; -import com.google.iam.v1.Binding; -import com.google.iam.v1.GetIamPolicyRequest; -import com.google.iam.v1.Policy; -import com.google.iam.v1.SetIamPolicyRequest; -import com.google.iam.v1.TestIamPermissionsRequest; -import com.google.iam.v1.TestIamPermissionsResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.Any; -import com.google.protobuf.ByteString; -import com.google.protobuf.Empty; -import com.google.protobuf.FieldMask; -import com.google.protobuf.Timestamp; -import io.grpc.StatusRuntimeException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.UUID; -import java.util.concurrent.ExecutionException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class BaseBigtableTableAdminClientTest { - private static MockBigtableTableAdmin mockBigtableTableAdmin; - private static MockServiceHelper mockServiceHelper; - private LocalChannelProvider channelProvider; - private BaseBigtableTableAdminClient client; - - @BeforeClass - public static void startStaticServer() { - mockBigtableTableAdmin = new MockBigtableTableAdmin(); - mockServiceHelper = - new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockBigtableTableAdmin)); - mockServiceHelper.start(); - } - - @AfterClass - public static void stopServer() { - mockServiceHelper.stop(); - } - - @Before - public void setUp() throws IOException { - mockServiceHelper.reset(); - channelProvider = mockServiceHelper.createChannelProvider(); - BaseBigtableTableAdminSettings settings = - BaseBigtableTableAdminSettings.newBuilder() - .setTransportChannelProvider(channelProvider) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = BaseBigtableTableAdminClient.create(settings); - } - - @After - public void tearDown() throws Exception { - client.close(); - } - - @Test - public void createTableTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String tableId = "tableId-1552905847"; - Table table = Table.newBuilder().build(); - - Table actualResponse = client.createTable(parent, tableId, table); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertEquals(tableId, actualRequest.getTableId()); - Assert.assertEquals(table, actualRequest.getTable()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String tableId = "tableId-1552905847"; - Table table = Table.newBuilder().build(); - client.createTable(parent, tableId, table); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void createTableTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String parent = "parent-995424086"; - String tableId = "tableId-1552905847"; - Table table = Table.newBuilder().build(); - - Table actualResponse = client.createTable(parent, tableId, table); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(tableId, actualRequest.getTableId()); - Assert.assertEquals(table, actualRequest.getTable()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createTableExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - String tableId = "tableId-1552905847"; - Table table = Table.newBuilder().build(); - client.createTable(parent, tableId, table); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void createTableFromSnapshotTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createTableFromSnapshotTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String tableId = "tableId-1552905847"; - SnapshotName sourceSnapshot = - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - - Table actualResponse = - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateTableFromSnapshotRequest actualRequest = - ((CreateTableFromSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertEquals(tableId, actualRequest.getTableId()); - Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createTableFromSnapshotExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String tableId = "tableId-1552905847"; - SnapshotName sourceSnapshot = - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void createTableFromSnapshotTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createTableFromSnapshotTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String tableId = "tableId-1552905847"; - String sourceSnapshot = "sourceSnapshot-1078634753"; - - Table actualResponse = - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateTableFromSnapshotRequest actualRequest = - ((CreateTableFromSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertEquals(tableId, actualRequest.getTableId()); - Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createTableFromSnapshotExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String tableId = "tableId-1552905847"; - String sourceSnapshot = "sourceSnapshot-1078634753"; - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void createTableFromSnapshotTest3() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createTableFromSnapshotTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String parent = "parent-995424086"; - String tableId = "tableId-1552905847"; - SnapshotName sourceSnapshot = - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - - Table actualResponse = - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateTableFromSnapshotRequest actualRequest = - ((CreateTableFromSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(tableId, actualRequest.getTableId()); - Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createTableFromSnapshotExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - String tableId = "tableId-1552905847"; - SnapshotName sourceSnapshot = - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void createTableFromSnapshotTest4() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createTableFromSnapshotTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String parent = "parent-995424086"; - String tableId = "tableId-1552905847"; - String sourceSnapshot = "sourceSnapshot-1078634753"; - - Table actualResponse = - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateTableFromSnapshotRequest actualRequest = - ((CreateTableFromSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertEquals(tableId, actualRequest.getTableId()); - Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createTableFromSnapshotExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - String tableId = "tableId-1552905847"; - String sourceSnapshot = "sourceSnapshot-1078634753"; - client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void listTablesTest() throws Exception { - Table responsesElement = Table.newBuilder().build(); - ListTablesResponse expectedResponse = - ListTablesResponse.newBuilder() - .setNextPageToken("") - .addAllTables(Arrays.asList(responsesElement)) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - - ListTablesPagedResponse pagedListResponse = client.listTables(parent); - - List

resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listTablesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); - client.listTables(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listTablesTest2() throws Exception { - Table responsesElement = Table.newBuilder().build(); - ListTablesResponse expectedResponse = - ListTablesResponse.newBuilder() - .setNextPageToken("") - .addAllTables(Arrays.asList(responsesElement)) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String parent = "parent-995424086"; - - ListTablesPagedResponse pagedListResponse = client.listTables(parent); - - List
resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listTablesExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - client.listTables(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getTableTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - - Table actualResponse = client.getTable(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - client.getTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getTableTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - - Table actualResponse = client.getTable(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getTableExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - client.getTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void updateTableTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("updateTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - Table table = Table.newBuilder().build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - - Table actualResponse = client.updateTableAsync(table, updateMask).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - UpdateTableRequest actualRequest = ((UpdateTableRequest) actualRequests.get(0)); - - Assert.assertEquals(table, actualRequest.getTable()); - Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void updateTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - Table table = Table.newBuilder().build(); - FieldMask updateMask = FieldMask.newBuilder().build(); - client.updateTableAsync(table, updateMask).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void deleteTableTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - - client.deleteTable(name); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - client.deleteTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteTableTest2() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - - client.deleteTable(name); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteTableExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - client.deleteTable(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void undeleteTableTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("undeleteTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - - Table actualResponse = client.undeleteTableAsync(name).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void undeleteTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - client.undeleteTableAsync(name).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void undeleteTableTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("undeleteTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String name = "name3373707"; - - Table actualResponse = client.undeleteTableAsync(name).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void undeleteTableExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - client.undeleteTableAsync(name).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void modifyColumnFamiliesTest() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - List modifications = new ArrayList<>(); - - Table actualResponse = client.modifyColumnFamilies(name, modifications); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ModifyColumnFamiliesRequest actualRequest = - ((ModifyColumnFamiliesRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertEquals(modifications, actualRequest.getModificationsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void modifyColumnFamiliesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - List modifications = new ArrayList<>(); - client.modifyColumnFamilies(name, modifications); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void modifyColumnFamiliesTest2() throws Exception { - Table expectedResponse = - Table.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .putAllClusterStates(new HashMap()) - .putAllColumnFamilies(new HashMap()) - .setRestoreInfo(RestoreInfo.newBuilder().build()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - List modifications = new ArrayList<>(); - - Table actualResponse = client.modifyColumnFamilies(name, modifications); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ModifyColumnFamiliesRequest actualRequest = - ((ModifyColumnFamiliesRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertEquals(modifications, actualRequest.getModificationsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void modifyColumnFamiliesExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - List modifications = new ArrayList<>(); - client.modifyColumnFamilies(name, modifications); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void dropRowRangeTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - DropRowRangeRequest request = - DropRowRangeRequest.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .build(); - - client.dropRowRange(request); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DropRowRangeRequest actualRequest = ((DropRowRangeRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getName(), actualRequest.getName()); - Assert.assertEquals(request.getRowKeyPrefix(), actualRequest.getRowKeyPrefix()); - Assert.assertEquals( - request.getDeleteAllDataFromTable(), actualRequest.getDeleteAllDataFromTable()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void dropRowRangeExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - DropRowRangeRequest request = - DropRowRangeRequest.newBuilder() - .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .build(); - client.dropRowRange(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void generateConsistencyTokenTest() throws Exception { - GenerateConsistencyTokenResponse expectedResponse = - GenerateConsistencyTokenResponse.newBuilder() - .setConsistencyToken("consistencyToken-1985152319") - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - - GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GenerateConsistencyTokenRequest actualRequest = - ((GenerateConsistencyTokenRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void generateConsistencyTokenExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - client.generateConsistencyToken(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void generateConsistencyTokenTest2() throws Exception { - GenerateConsistencyTokenResponse expectedResponse = - GenerateConsistencyTokenResponse.newBuilder() - .setConsistencyToken("consistencyToken-1985152319") - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - - GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GenerateConsistencyTokenRequest actualRequest = - ((GenerateConsistencyTokenRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void generateConsistencyTokenExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - client.generateConsistencyToken(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void checkConsistencyTest() throws Exception { - CheckConsistencyResponse expectedResponse = - CheckConsistencyResponse.newBuilder().setConsistent(true).build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - String consistencyToken = "consistencyToken-1985152319"; - - CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void checkConsistencyExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - String consistencyToken = "consistencyToken-1985152319"; - client.checkConsistency(name, consistencyToken); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void checkConsistencyTest2() throws Exception { - CheckConsistencyResponse expectedResponse = - CheckConsistencyResponse.newBuilder().setConsistent(true).build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - String consistencyToken = "consistencyToken-1985152319"; - - CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void checkConsistencyExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - String consistencyToken = "consistencyToken-1985152319"; - client.checkConsistency(name, consistencyToken); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void snapshotTableTest() throws Exception { - Snapshot expectedResponse = - Snapshot.newBuilder() - .setName( - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) - .setSourceTable(Table.newBuilder().build()) - .setDataSizeBytes(-2110122398) - .setCreateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .setDescription("description-1724546052") - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("snapshotTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - - Snapshot actualResponse = - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); - Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); - Assert.assertEquals(description, actualRequest.getDescription()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void snapshotTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void snapshotTableTest2() throws Exception { - Snapshot expectedResponse = - Snapshot.newBuilder() - .setName( - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) - .setSourceTable(Table.newBuilder().build()) - .setDataSizeBytes(-2110122398) - .setCreateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .setDescription("description-1724546052") - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("snapshotTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - String cluster = "cluster872092154"; - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - - Snapshot actualResponse = - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertEquals(cluster, actualRequest.getCluster()); - Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); - Assert.assertEquals(description, actualRequest.getDescription()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void snapshotTableExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - String cluster = "cluster872092154"; - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void snapshotTableTest3() throws Exception { - Snapshot expectedResponse = - Snapshot.newBuilder() - .setName( - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) - .setSourceTable(Table.newBuilder().build()) - .setDataSizeBytes(-2110122398) - .setCreateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .setDescription("description-1724546052") - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("snapshotTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String name = "name3373707"; - ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - - Snapshot actualResponse = - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); - Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); - Assert.assertEquals(description, actualRequest.getDescription()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void snapshotTableExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void snapshotTableTest4() throws Exception { - Snapshot expectedResponse = - Snapshot.newBuilder() - .setName( - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) - .setSourceTable(Table.newBuilder().build()) - .setDataSizeBytes(-2110122398) - .setCreateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .setDescription("description-1724546052") - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("snapshotTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - String name = "name3373707"; - String cluster = "cluster872092154"; - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - - Snapshot actualResponse = - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertEquals(cluster, actualRequest.getCluster()); - Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); - Assert.assertEquals(description, actualRequest.getDescription()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void snapshotTableExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - String cluster = "cluster872092154"; - String snapshotId = "snapshotId-1113817601"; - String description = "description-1724546052"; - client.snapshotTableAsync(name, cluster, snapshotId, description).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void getSnapshotTest() throws Exception { - Snapshot expectedResponse = - Snapshot.newBuilder() - .setName( - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) - .setSourceTable(Table.newBuilder().build()) - .setDataSizeBytes(-2110122398) - .setCreateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .setDescription("description-1724546052") - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - - Snapshot actualResponse = client.getSnapshot(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getSnapshotExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - client.getSnapshot(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void getSnapshotTest2() throws Exception { - Snapshot expectedResponse = - Snapshot.newBuilder() - .setName( - SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) - .setSourceTable(Table.newBuilder().build()) - .setDataSizeBytes(-2110122398) - .setCreateTime(Timestamp.newBuilder().build()) - .setDeleteTime(Timestamp.newBuilder().build()) - .setDescription("description-1724546052") - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - - Snapshot actualResponse = client.getSnapshot(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getSnapshotExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - client.getSnapshot(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listSnapshotsTest() throws Exception { - Snapshot responsesElement = Snapshot.newBuilder().build(); - ListSnapshotsResponse expectedResponse = - ListSnapshotsResponse.newBuilder() - .setNextPageToken("") - .addAllSnapshots(Arrays.asList(responsesElement)) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - - ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); - - Assert.assertEquals(parent.toString(), actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listSnapshotsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); - client.listSnapshots(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listSnapshotsTest2() throws Exception { - Snapshot responsesElement = Snapshot.newBuilder().build(); - ListSnapshotsResponse expectedResponse = - ListSnapshotsResponse.newBuilder() - .setNextPageToken("") - .addAllSnapshots(Arrays.asList(responsesElement)) - .build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String parent = "parent-995424086"; - - ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); - - Assert.assertEquals(parent, actualRequest.getParent()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listSnapshotsExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String parent = "parent-995424086"; - client.listSnapshots(parent); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteSnapshotTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - - client.deleteSnapshot(name); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteSnapshotExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); - client.deleteSnapshot(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void deleteSnapshotTest2() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - mockBigtableTableAdmin.addResponse(expectedResponse); - - String name = "name3373707"; - - client.deleteSnapshot(name); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteSnapshotExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - String name = "name3373707"; - client.deleteSnapshot(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void createBackupTest() throws Exception { - Backup expectedResponse = - Backup.newBuilder() - .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString()) - .setSourceTable("sourceTable-95372173") - .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()) - .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) - .setDeletionProtection(true) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("restoreTableTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockBigtableTableAdmin.addResponse(resultOperation); - - RestoreTableRequest request = - RestoreTableRequest.newBuilder() - .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) - .setTableId("tableId-1552905847") - .build(); - - Table actualResponse = client.restoreTableAsync(request).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtableTableAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - RestoreTableRequest actualRequest = ((RestoreTableRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getParent(), actualRequest.getParent()); - Assert.assertEquals(request.getTableId(), actualRequest.getTableId()); - Assert.assertEquals(request.getBackup(), actualRequest.getBackup()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void restoreTableExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtableTableAdmin.addException(exception); - - try { - RestoreTableRequest request = - RestoreTableRequest.newBuilder() - .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) - .setTableId("tableId-1552905847") - .build(); - client.restoreTableAsync(request).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void 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 938277bdd8..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 16df574865..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 3fe7174e72..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 6d5cc98a1d..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 8e82819deb..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java +++ /dev/null @@ -1,1084 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigtable.data.v2; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.testing.LocalChannelProvider; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.api.gax.grpc.testing.MockServiceHelper; -import com.google.api.gax.grpc.testing.MockStreamObserver; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.StatusCode; -import com.google.bigtable.v2.CheckAndMutateRowRequest; -import com.google.bigtable.v2.CheckAndMutateRowResponse; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; -import com.google.bigtable.v2.InstanceName; -import com.google.bigtable.v2.MutateRowRequest; -import com.google.bigtable.v2.MutateRowResponse; -import com.google.bigtable.v2.MutateRowsRequest; -import com.google.bigtable.v2.MutateRowsResponse; -import com.google.bigtable.v2.Mutation; -import com.google.bigtable.v2.PingAndWarmRequest; -import com.google.bigtable.v2.PingAndWarmResponse; -import com.google.bigtable.v2.RateLimitInfo; -import com.google.bigtable.v2.ReadChangeStreamRequest; -import com.google.bigtable.v2.ReadChangeStreamResponse; -import com.google.bigtable.v2.ReadModifyWriteRowRequest; -import com.google.bigtable.v2.ReadModifyWriteRowResponse; -import com.google.bigtable.v2.ReadModifyWriteRule; -import com.google.bigtable.v2.ReadRowsRequest; -import com.google.bigtable.v2.ReadRowsResponse; -import com.google.bigtable.v2.RequestStats; -import com.google.bigtable.v2.Row; -import com.google.bigtable.v2.RowFilter; -import com.google.bigtable.v2.RowSet; -import com.google.bigtable.v2.SampleRowKeysRequest; -import com.google.bigtable.v2.SampleRowKeysResponse; -import com.google.bigtable.v2.StreamPartition; -import com.google.bigtable.v2.TableName; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.ByteString; -import com.google.protobuf.Duration; -import com.google.protobuf.Timestamp; -import io.grpc.StatusRuntimeException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import java.util.concurrent.ExecutionException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class BaseBigtableDataClientTest { - private static MockBigtable mockBigtable; - private static MockServiceHelper mockServiceHelper; - private LocalChannelProvider channelProvider; - private BaseBigtableDataClient client; - - @BeforeClass - public static void startStaticServer() { - mockBigtable = new MockBigtable(); - mockServiceHelper = - new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockBigtable)); - mockServiceHelper.start(); - } - - @AfterClass - public static void stopServer() { - mockServiceHelper.stop(); - } - - @Before - public void setUp() throws IOException { - mockServiceHelper.reset(); - channelProvider = mockServiceHelper.createChannelProvider(); - BaseBigtableDataSettings settings = - BaseBigtableDataSettings.newBuilder() - .setTransportChannelProvider(channelProvider) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = BaseBigtableDataClient.create(settings); - } - - @After - public void tearDown() throws Exception { - client.close(); - } - - @Test - public void readRowsTest() throws Exception { - ReadRowsResponse expectedResponse = - ReadRowsResponse.newBuilder() - .addAllChunks(new ArrayList()) - .setLastScannedRowKey(ByteString.EMPTY) - .setRequestStats(RequestStats.newBuilder().build()) - .build(); - mockBigtable.addResponse(expectedResponse); - ReadRowsRequest request = - ReadRowsRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .setRows(RowSet.newBuilder().build()) - .setFilter(RowFilter.newBuilder().build()) - .setRowsLimit(-944199211) - .setReversed(true) - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = client.readRowsCallable(); - callable.serverStreamingCall(request, responseObserver); - - List actualResponses = responseObserver.future().get(); - Assert.assertEquals(1, actualResponses.size()); - Assert.assertEquals(expectedResponse, actualResponses.get(0)); - } - - @Test - public void readRowsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - ReadRowsRequest request = - ReadRowsRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .setRows(RowSet.newBuilder().build()) - .setFilter(RowFilter.newBuilder().build()) - .setRowsLimit(-944199211) - .setReversed(true) - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = client.readRowsCallable(); - callable.serverStreamingCall(request, responseObserver); - - try { - List actualResponses = responseObserver.future().get(); - Assert.fail("No exception thrown"); - } catch (ExecutionException e) { - Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void sampleRowKeysTest() throws Exception { - SampleRowKeysResponse expectedResponse = - SampleRowKeysResponse.newBuilder() - .setRowKey(ByteString.EMPTY) - .setOffsetBytes(889884095) - .build(); - mockBigtable.addResponse(expectedResponse); - SampleRowKeysRequest request = - SampleRowKeysRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = - client.sampleRowKeysCallable(); - callable.serverStreamingCall(request, responseObserver); - - List actualResponses = responseObserver.future().get(); - Assert.assertEquals(1, actualResponses.size()); - Assert.assertEquals(expectedResponse, actualResponses.get(0)); - } - - @Test - public void sampleRowKeysExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - SampleRowKeysRequest request = - SampleRowKeysRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = - client.sampleRowKeysCallable(); - callable.serverStreamingCall(request, responseObserver); - - try { - List actualResponses = responseObserver.future().get(); - Assert.fail("No exception thrown"); - } catch (ExecutionException e) { - Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void mutateRowTest() throws Exception { - MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - - MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(mutations, actualRequest.getMutationsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void mutateRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - client.mutateRow(tableName, rowKey, mutations); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void mutateRowTest2() throws Exception { - MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - - MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName, actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(mutations, actualRequest.getMutationsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void mutateRowExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - client.mutateRow(tableName, rowKey, mutations); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void mutateRowTest3() throws Exception { - MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - - MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(mutations, actualRequest.getMutationsList()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void mutateRowExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - client.mutateRow(tableName, rowKey, mutations, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void mutateRowTest4() throws Exception { - MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - - MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName, actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(mutations, actualRequest.getMutationsList()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void mutateRowExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List mutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - client.mutateRow(tableName, rowKey, mutations, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void mutateRowsTest() throws Exception { - MutateRowsResponse expectedResponse = - MutateRowsResponse.newBuilder() - .addAllEntries(new ArrayList()) - .setRateLimitInfo(RateLimitInfo.newBuilder().build()) - .build(); - mockBigtable.addResponse(expectedResponse); - MutateRowsRequest request = - MutateRowsRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .addAllEntries(new ArrayList()) - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = - client.mutateRowsCallable(); - callable.serverStreamingCall(request, responseObserver); - - List actualResponses = responseObserver.future().get(); - Assert.assertEquals(1, actualResponses.size()); - Assert.assertEquals(expectedResponse, actualResponses.get(0)); - } - - @Test - public void mutateRowsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - MutateRowsRequest request = - MutateRowsRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .addAllEntries(new ArrayList()) - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = - client.mutateRowsCallable(); - callable.serverStreamingCall(request, responseObserver); - - try { - List actualResponses = responseObserver.future().get(); - Assert.fail("No exception thrown"); - } catch (ExecutionException e) { - Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void checkAndMutateRowTest() throws Exception { - CheckAndMutateRowResponse expectedResponse = - CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); - mockBigtable.addResponse(expectedResponse); - - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - - CheckAndMutateRowResponse actualResponse = - client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); - Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); - Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void checkAndMutateRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void checkAndMutateRowTest2() throws Exception { - CheckAndMutateRowResponse expectedResponse = - CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); - mockBigtable.addResponse(expectedResponse); - - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - - CheckAndMutateRowResponse actualResponse = - client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName, actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); - Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); - Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void checkAndMutateRowExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void checkAndMutateRowTest3() throws Exception { - CheckAndMutateRowResponse expectedResponse = - CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); - mockBigtable.addResponse(expectedResponse); - - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - - CheckAndMutateRowResponse actualResponse = - client.checkAndMutateRow( - tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); - Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); - Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void checkAndMutateRowExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - client.checkAndMutateRow( - tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void checkAndMutateRowTest4() throws Exception { - CheckAndMutateRowResponse expectedResponse = - CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); - mockBigtable.addResponse(expectedResponse); - - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - - CheckAndMutateRowResponse actualResponse = - client.checkAndMutateRow( - tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName, actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); - Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); - Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void checkAndMutateRowExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - RowFilter predicateFilter = RowFilter.newBuilder().build(); - List trueMutations = new ArrayList<>(); - List falseMutations = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - client.checkAndMutateRow( - tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void pingAndWarmTest() throws Exception { - PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); - - PingAndWarmResponse actualResponse = client.pingAndWarm(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void pingAndWarmExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); - client.pingAndWarm(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void pingAndWarmTest2() throws Exception { - PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - String name = "name3373707"; - - PingAndWarmResponse actualResponse = client.pingAndWarm(name); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void pingAndWarmExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String name = "name3373707"; - client.pingAndWarm(name); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void pingAndWarmTest3() throws Exception { - PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String appProfileId = "appProfileId704923523"; - - PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); - - Assert.assertEquals(name.toString(), actualRequest.getName()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void pingAndWarmExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); - String appProfileId = "appProfileId704923523"; - client.pingAndWarm(name, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void pingAndWarmTest4() throws Exception { - PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - - String name = "name3373707"; - String appProfileId = "appProfileId704923523"; - - PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); - - Assert.assertEquals(name, actualRequest.getName()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void pingAndWarmExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String name = "name3373707"; - String appProfileId = "appProfileId704923523"; - client.pingAndWarm(name, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void readModifyWriteRowTest() throws Exception { - ReadModifyWriteRowResponse expectedResponse = - ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); - mockBigtable.addResponse(expectedResponse); - - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - - ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(rules, actualRequest.getRulesList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void readModifyWriteRowExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - client.readModifyWriteRow(tableName, rowKey, rules); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void readModifyWriteRowTest2() throws Exception { - ReadModifyWriteRowResponse expectedResponse = - ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); - mockBigtable.addResponse(expectedResponse); - - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - - ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName, actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(rules, actualRequest.getRulesList()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void readModifyWriteRowExceptionTest2() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - client.readModifyWriteRow(tableName, rowKey, rules); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void readModifyWriteRowTest3() throws Exception { - ReadModifyWriteRowResponse expectedResponse = - ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); - mockBigtable.addResponse(expectedResponse); - - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - - ReadModifyWriteRowResponse actualResponse = - client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(rules, actualRequest.getRulesList()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void readModifyWriteRowExceptionTest3() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void readModifyWriteRowTest4() throws Exception { - ReadModifyWriteRowResponse expectedResponse = - ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); - mockBigtable.addResponse(expectedResponse); - - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - - ReadModifyWriteRowResponse actualResponse = - client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockBigtable.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); - - Assert.assertEquals(tableName, actualRequest.getTableName()); - Assert.assertEquals(rowKey, actualRequest.getRowKey()); - Assert.assertEquals(rules, actualRequest.getRulesList()); - Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void readModifyWriteRowExceptionTest4() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - - try { - String tableName = "tableName-1988717703"; - ByteString rowKey = ByteString.EMPTY; - List rules = new ArrayList<>(); - String appProfileId = "appProfileId704923523"; - client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void generateInitialChangeStreamPartitionsTest() throws Exception { - GenerateInitialChangeStreamPartitionsResponse expectedResponse = - GenerateInitialChangeStreamPartitionsResponse.newBuilder() - .setPartition(StreamPartition.newBuilder().build()) - .build(); - mockBigtable.addResponse(expectedResponse); - GenerateInitialChangeStreamPartitionsRequest request = - GenerateInitialChangeStreamPartitionsRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .build(); - - MockStreamObserver responseObserver = - new MockStreamObserver<>(); - - ServerStreamingCallable< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - callable = client.generateInitialChangeStreamPartitionsCallable(); - callable.serverStreamingCall(request, responseObserver); - - List actualResponses = - responseObserver.future().get(); - Assert.assertEquals(1, actualResponses.size()); - Assert.assertEquals(expectedResponse, actualResponses.get(0)); - } - - @Test - public void generateInitialChangeStreamPartitionsExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - GenerateInitialChangeStreamPartitionsRequest request = - GenerateInitialChangeStreamPartitionsRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .build(); - - MockStreamObserver responseObserver = - new MockStreamObserver<>(); - - ServerStreamingCallable< - GenerateInitialChangeStreamPartitionsRequest, - GenerateInitialChangeStreamPartitionsResponse> - callable = client.generateInitialChangeStreamPartitionsCallable(); - callable.serverStreamingCall(request, responseObserver); - - try { - List actualResponses = - responseObserver.future().get(); - Assert.fail("No exception thrown"); - } catch (ExecutionException e) { - Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void readChangeStreamTest() throws Exception { - ReadChangeStreamResponse expectedResponse = ReadChangeStreamResponse.newBuilder().build(); - mockBigtable.addResponse(expectedResponse); - ReadChangeStreamRequest request = - ReadChangeStreamRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .setPartition(StreamPartition.newBuilder().build()) - .setEndTime(Timestamp.newBuilder().build()) - .setHeartbeatDuration(Duration.newBuilder().build()) - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = - client.readChangeStreamCallable(); - callable.serverStreamingCall(request, responseObserver); - - List actualResponses = responseObserver.future().get(); - Assert.assertEquals(1, actualResponses.size()); - Assert.assertEquals(expectedResponse, actualResponses.get(0)); - } - - @Test - public void readChangeStreamExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockBigtable.addException(exception); - ReadChangeStreamRequest request = - ReadChangeStreamRequest.newBuilder() - .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) - .setAppProfileId("appProfileId704923523") - .setPartition(StreamPartition.newBuilder().build()) - .setEndTime(Timestamp.newBuilder().build()) - .setHeartbeatDuration(Duration.newBuilder().build()) - .build(); - - MockStreamObserver responseObserver = new MockStreamObserver<>(); - - ServerStreamingCallable callable = - client.readChangeStreamCallable(); - callable.serverStreamingCall(request, responseObserver); - - try { - List actualResponses = responseObserver.future().get(); - Assert.fail("No exception thrown"); - } catch (ExecutionException e) { - Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } -} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java deleted file mode 100644 index 24940b75bd..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 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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 96b734953f..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java +++ /dev/null @@ -1,269 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.bigtable.data.v2; - -import com.google.api.core.BetaApi; -import com.google.bigtable.v2.BigtableGrpc.BigtableImplBase; -import com.google.bigtable.v2.CheckAndMutateRowRequest; -import com.google.bigtable.v2.CheckAndMutateRowResponse; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; -import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; -import com.google.bigtable.v2.MutateRowRequest; -import com.google.bigtable.v2.MutateRowResponse; -import com.google.bigtable.v2.MutateRowsRequest; -import com.google.bigtable.v2.MutateRowsResponse; -import com.google.bigtable.v2.PingAndWarmRequest; -import com.google.bigtable.v2.PingAndWarmResponse; -import com.google.bigtable.v2.ReadChangeStreamRequest; -import com.google.bigtable.v2.ReadChangeStreamResponse; -import com.google.bigtable.v2.ReadModifyWriteRowRequest; -import com.google.bigtable.v2.ReadModifyWriteRowResponse; -import com.google.bigtable.v2.ReadRowsRequest; -import com.google.bigtable.v2.ReadRowsResponse; -import com.google.bigtable.v2.SampleRowKeysRequest; -import com.google.bigtable.v2.SampleRowKeysResponse; -import com.google.protobuf.AbstractMessage; -import io.grpc.stub.StreamObserver; -import java.util.ArrayList; -import java.util.LinkedList; -import java.util.List; -import java.util.Queue; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockBigtableImpl extends BigtableImplBase { - private List requests; - private Queue responses; - - public MockBigtableImpl() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - public List getRequests() { - return requests; - } - - public void addResponse(AbstractMessage response) { - responses.add(response); - } - - public void setResponses(List responses) { - this.responses = new LinkedList(responses); - } - - public void addException(Exception exception) { - responses.add(exception); - } - - public void reset() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - @Override - public void readRows(ReadRowsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ReadRowsResponse) { - requests.add(request); - responseObserver.onNext(((ReadRowsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ReadRows, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ReadRowsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void sampleRowKeys( - SampleRowKeysRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof SampleRowKeysResponse) { - requests.add(request); - responseObserver.onNext(((SampleRowKeysResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method SampleRowKeys, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - SampleRowKeysResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void mutateRow( - MutateRowRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof MutateRowResponse) { - requests.add(request); - responseObserver.onNext(((MutateRowResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method MutateRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - MutateRowResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void mutateRows( - MutateRowsRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof MutateRowsResponse) { - requests.add(request); - responseObserver.onNext(((MutateRowsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method MutateRows, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - MutateRowsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void checkAndMutateRow( - CheckAndMutateRowRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof CheckAndMutateRowResponse) { - requests.add(request); - responseObserver.onNext(((CheckAndMutateRowResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method CheckAndMutateRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - CheckAndMutateRowResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void pingAndWarm( - PingAndWarmRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof PingAndWarmResponse) { - requests.add(request); - responseObserver.onNext(((PingAndWarmResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method PingAndWarm, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - PingAndWarmResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void readModifyWriteRow( - ReadModifyWriteRowRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ReadModifyWriteRowResponse) { - requests.add(request); - responseObserver.onNext(((ReadModifyWriteRowResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ReadModifyWriteRow, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ReadModifyWriteRowResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void generateInitialChangeStreamPartitions( - GenerateInitialChangeStreamPartitionsRequest request, - StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof GenerateInitialChangeStreamPartitionsResponse) { - requests.add(request); - responseObserver.onNext(((GenerateInitialChangeStreamPartitionsResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GenerateInitialChangeStreamPartitions, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - GenerateInitialChangeStreamPartitionsResponse.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void readChangeStream( - ReadChangeStreamRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ReadChangeStreamResponse) { - requests.add(request); - responseObserver.onNext(((ReadChangeStreamResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ReadChangeStream, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ReadChangeStreamResponse.class.getName(), - Exception.class.getName()))); - } - } -} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java deleted file mode 100644 index b16609dc04..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,2167 +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 interface AsyncService { - - /** - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - default void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Gets information about an instance.
-     * 
- */ - default void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - /** - *
-     * Lists information about instances in a project.
-     * 
- */ - default void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); - } - - /** - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - default void updateInstance(com.google.bigtable.admin.v2.Instance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - default void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Delete an instance from a project.
-     * 
- */ - default void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - default void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); - } - - /** - *
-     * Gets information about a cluster.
-     * 
- */ - default void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - *
-     * Lists information about clusters in an instance.
-     * 
- */ - default void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); - } - - /** - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - default void updateCluster(com.google.bigtable.admin.v2.Cluster request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - default void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Deletes a cluster from an instance.
-     * 
- */ - default void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); - } - - /** - *
-     * Creates an app profile within an instance.
-     * 
- */ - default void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAppProfileMethod(), responseObserver); - } - - /** - *
-     * Gets information about an app profile.
-     * 
- */ - default void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAppProfileMethod(), responseObserver); - } - - /** - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - default void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAppProfilesMethod(), responseObserver); - } - - /** - *
-     * Updates an app profile within an instance.
-     * 
- */ - default void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAppProfileMethod(), responseObserver); - } - - /** - *
-     * Deletes an app profile from an instance.
-     * 
- */ - default void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAppProfileMethod(), responseObserver); - } - - /** - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - default void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - default void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - default void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListHotTabletsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BigtableInstanceAdmin. - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static abstract class BigtableInstanceAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return BigtableInstanceAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private BigtableInstanceAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminStub(channel, callOptions); - } - - /** - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about an instance.
-     * 
- */ - public void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists information about instances in a project.
-     * 
- */ - public void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public void updateInstance(com.google.bigtable.admin.v2.Instance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Delete an instance from a project.
-     * 
- */ - public void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about a cluster.
-     * 
- */ - public void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public void updateCluster(com.google.bigtable.admin.v2.Cluster request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an app profile within an instance.
-     * 
- */ - public void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about an app profile.
-     * 
- */ - public void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an app profile within an instance.
-     * 
- */ - public void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigtableInstanceAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminBlockingStub(channel, callOptions); - } - - /** - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.Instance getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists information about instances in a project.
-     * 
- */ - public com.google.bigtable.admin.v2.ListInstancesResponse listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public com.google.bigtable.admin.v2.Instance updateInstance(com.google.bigtable.admin.v2.Instance request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public com.google.longrunning.Operation partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Delete an instance from a project.
-     * 
- */ - public com.google.protobuf.Empty deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.longrunning.Operation createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about a cluster.
-     * 
- */ - public com.google.bigtable.admin.v2.Cluster getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.ListClustersResponse listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster(com.google.bigtable.admin.v2.Cluster request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public com.google.longrunning.Operation partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public com.google.protobuf.Empty deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an app profile within an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.AppProfile createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about an app profile.
-     * 
- */ - public com.google.bigtable.admin.v2.AppProfile getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAppProfileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAppProfilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an app profile within an instance.
-     * 
- */ - public com.google.longrunning.Operation updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public com.google.protobuf.Empty deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListHotTabletsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableInstanceAdmin. - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigtableInstanceAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminFutureStub(channel, callOptions); - } - - /** - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists information about instances in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInstance( - com.google.bigtable.admin.v2.Instance request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Delete an instance from a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCluster( - com.google.bigtable.admin.v2.Cluster request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an app profile within an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about an app profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an app profile within an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_INSTANCE = 0; - private static final int METHODID_GET_INSTANCE = 1; - private static final int METHODID_LIST_INSTANCES = 2; - private static final int METHODID_UPDATE_INSTANCE = 3; - private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; - private static final int METHODID_DELETE_INSTANCE = 5; - private static final int METHODID_CREATE_CLUSTER = 6; - private static final int METHODID_GET_CLUSTER = 7; - private static final int METHODID_LIST_CLUSTERS = 8; - private static final int METHODID_UPDATE_CLUSTER = 9; - private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; - private static final int METHODID_DELETE_CLUSTER = 11; - private static final int METHODID_CREATE_APP_PROFILE = 12; - private static final int METHODID_GET_APP_PROFILE = 13; - private static final int METHODID_LIST_APP_PROFILES = 14; - private static final int METHODID_UPDATE_APP_PROFILE = 15; - private static final int METHODID_DELETE_APP_PROFILE = 16; - private static final int METHODID_GET_IAM_POLICY = 17; - private static final int METHODID_SET_IAM_POLICY = 18; - private static final int METHODID_TEST_IAM_PERMISSIONS = 19; - private static final int METHODID_LIST_HOT_TABLETS = 20; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.bigtable.admin.v2.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.bigtable.admin.v2.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances((com.google.bigtable.admin.v2.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance((com.google.bigtable.admin.v2.Instance) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PARTIAL_UPDATE_INSTANCE: - serviceImpl.partialUpdateInstance((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.bigtable.admin.v2.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster((com.google.bigtable.admin.v2.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster((com.google.bigtable.admin.v2.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters((com.google.bigtable.admin.v2.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster((com.google.bigtable.admin.v2.Cluster) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PARTIAL_UPDATE_CLUSTER: - serviceImpl.partialUpdateCluster((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster((com.google.bigtable.admin.v2.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_APP_PROFILE: - serviceImpl.createAppProfile((com.google.bigtable.admin.v2.CreateAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_APP_PROFILE: - serviceImpl.getAppProfile((com.google.bigtable.admin.v2.GetAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_APP_PROFILES: - serviceImpl.listAppProfiles((com.google.bigtable.admin.v2.ListAppProfilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_APP_PROFILE: - serviceImpl.updateAppProfile((com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_APP_PROFILE: - serviceImpl.deleteAppProfile((com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_HOT_TABLETS: - serviceImpl.listHotTablets((com.google.bigtable.admin.v2.ListHotTabletsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetInstanceRequest, - com.google.bigtable.admin.v2.Instance>( - service, METHODID_GET_INSTANCE))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance>( - service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getPartialUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_PARTIAL_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteInstanceRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_INSTANCE))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CLUSTER))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetClusterRequest, - com.google.bigtable.admin.v2.Cluster>( - service, METHODID_GET_CLUSTER))) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Cluster, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getPartialUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_PARTIAL_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteClusterRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_CLUSTER))) - .addMethod( - getCreateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>( - service, METHODID_CREATE_APP_PROFILE))) - .addMethod( - getGetAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>( - service, METHODID_GET_APP_PROFILE))) - .addMethod( - getListAppProfilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse>( - service, METHODID_LIST_APP_PROFILES))) - .addMethod( - getUpdateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_APP_PROFILE))) - .addMethod( - getDeleteAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_APP_PROFILE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - service, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getListHotTabletsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse>( - service, METHODID_LIST_HOT_TABLETS))) - .build(); - } - - private static abstract class BigtableInstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableInstanceAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); - } - } - - private static final class BigtableInstanceAdminFileDescriptorSupplier - extends BigtableInstanceAdminBaseDescriptorSupplier { - BigtableInstanceAdminFileDescriptorSupplier() {} - } - - private static final class BigtableInstanceAdminMethodDescriptorSupplier - extends BigtableInstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final 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-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 ef7d12bf84..0000000000 --- a/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java +++ /dev/null @@ -1,1030 +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; - } - - private static volatile io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", - requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, - responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod() { - io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; - if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = getGenerateInitialChangeStreamPartitionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("GenerateInitialChangeStreamPartitions")) - .build(); - } - } - } - return getGenerateInitialChangeStreamPartitionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getReadChangeStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", - requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, - responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor getReadChangeStreamMethod() { - io.grpc.MethodDescriptor getReadChangeStreamMethod; - if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { - BigtableGrpc.getReadChangeStreamMethod = getReadChangeStreamMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) - .build(); - } - } - } - return getReadChangeStreamMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static BigtableStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableStub(channel, callOptions); - } - }; - return BigtableStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BigtableBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableBlockingStub(channel, callOptions); - } - }; - return BigtableBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static BigtableFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableFutureStub(channel, callOptions); - } - }; - return BigtableFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Streams back the contents of all requested rows in key order, optionally
-     * applying the same Reader filter to each. Depending on their size,
-     * rows and cells may be broken up across multiple responses, but
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - default void readRows(com.google.bigtable.v2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); - } - - /** - *
-     * Returns a sample of row keys in the table. The returned row keys will
-     * delimit contiguous sections of the table of approximately equal size,
-     * which can be used to break up the data for distributed tasks like
-     * mapreduces.
-     * 
- */ - default void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSampleRowKeysMethod(), responseObserver); - } - - /** - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - default void mutateRow(com.google.bigtable.v2.MutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); - } - - /** - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - default void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); - } - - /** - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - default void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckAndMutateRowMethod(), responseObserver); - } - - /** - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - default void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPingAndWarmMethod(), responseObserver); - } - - /** - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - default void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadModifyWriteRowMethod(), responseObserver); - } - - /** - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - default void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); - } - - /** - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - default void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadChangeStreamMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Bigtable. - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static abstract class BigtableImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return BigtableGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Bigtable. - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableStub - extends io.grpc.stub.AbstractAsyncStub { - private BigtableStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableStub(channel, callOptions); - } - - /** - *
-     * Streams back the contents of all requested rows in key order, optionally
-     * applying the same Reader filter to each. Depending on their size,
-     * rows and cells may be broken up across multiple responses, but
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - public void readRows(com.google.bigtable.v2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns a sample of row keys in the table. The returned row keys will
-     * delimit contiguous sections of the table of approximately equal size,
-     * which can be used to break up the data for distributed tasks like
-     * mapreduces.
-     * 
- */ - public void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public void mutateRow(com.google.bigtable.v2.MutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - public void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - public void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - public void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - public void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Bigtable. - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigtableBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableBlockingStub(channel, callOptions); - } - - /** - *
-     * Streams back the contents of all requested rows in key order, optionally
-     * applying the same Reader filter to each. Depending on their size,
-     * rows and cells may be broken up across multiple responses, but
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - public java.util.Iterator readRows( - com.google.bigtable.v2.ReadRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getReadRowsMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns a sample of row keys in the table. The returned row keys will
-     * delimit contiguous sections of the table of approximately equal size,
-     * which can be used to break up the data for distributed tasks like
-     * mapreduces.
-     * 
- */ - public java.util.Iterator sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); - } - - /** - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public com.google.bigtable.v2.MutateRowResponse mutateRow(com.google.bigtable.v2.MutateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMutateRowMethod(), getCallOptions(), request); - } - - /** - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - public java.util.Iterator mutateRows( - com.google.bigtable.v2.MutateRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getMutateRowsMethod(), getCallOptions(), request); - } - - /** - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); - } - - /** - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPingAndWarmMethod(), getCallOptions(), request); - } - - /** - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); - } - - /** - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - public java.util.Iterator generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions(), request); - } - - /** - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - public java.util.Iterator readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigtableFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableFutureStub(channel, callOptions); - } - - /** - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture mutateRow( - com.google.bigtable.v2.MutateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); - } - - /** - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); - } - - /** - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); - } - - /** - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_READ_ROWS = 0; - private static final int METHODID_SAMPLE_ROW_KEYS = 1; - private static final int METHODID_MUTATE_ROW = 2; - private static final int METHODID_MUTATE_ROWS = 3; - private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; - private static final int METHODID_PING_AND_WARM = 5; - private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; - private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; - private static final int METHODID_READ_CHANGE_STREAM = 8; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_READ_ROWS: - serviceImpl.readRows((com.google.bigtable.v2.ReadRowsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SAMPLE_ROW_KEYS: - serviceImpl.sampleRowKeys((com.google.bigtable.v2.SampleRowKeysRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MUTATE_ROW: - serviceImpl.mutateRow((com.google.bigtable.v2.MutateRowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MUTATE_ROWS: - serviceImpl.mutateRows((com.google.bigtable.v2.MutateRowsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CHECK_AND_MUTATE_ROW: - serviceImpl.checkAndMutateRow((com.google.bigtable.v2.CheckAndMutateRowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PING_AND_WARM: - serviceImpl.pingAndWarm((com.google.bigtable.v2.PingAndWarmRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_READ_MODIFY_WRITE_ROW: - serviceImpl.readModifyWriteRow((com.google.bigtable.v2.ReadModifyWriteRowRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: - serviceImpl.generateInitialChangeStreamPartitions((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_READ_CHANGE_STREAM: - serviceImpl.readChangeStream((com.google.bigtable.v2.ReadChangeStreamRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getReadRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.ReadRowsRequest, - com.google.bigtable.v2.ReadRowsResponse>( - service, METHODID_READ_ROWS))) - .addMethod( - getSampleRowKeysMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse>( - service, METHODID_SAMPLE_ROW_KEYS))) - .addMethod( - getMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowRequest, - com.google.bigtable.v2.MutateRowResponse>( - service, METHODID_MUTATE_ROW))) - .addMethod( - getMutateRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowsRequest, - com.google.bigtable.v2.MutateRowsResponse>( - service, METHODID_MUTATE_ROWS))) - .addMethod( - getCheckAndMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse>( - service, METHODID_CHECK_AND_MUTATE_ROW))) - .addMethod( - getPingAndWarmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.PingAndWarmRequest, - com.google.bigtable.v2.PingAndWarmResponse>( - service, METHODID_PING_AND_WARM))) - .addMethod( - getReadModifyWriteRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse>( - service, METHODID_READ_MODIFY_WRITE_ROW))) - .addMethod( - getGenerateInitialChangeStreamPartitionsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( - service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) - .addMethod( - getReadChangeStreamMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse>( - service, METHODID_READ_CHANGE_STREAM))) - .build(); - } - - private static abstract class BigtableBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.v2.BigtableProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Bigtable"); - } - } - - private static final class BigtableFileDescriptorSupplier - extends BigtableBaseDescriptorSupplier { - BigtableFileDescriptorSupplier() {} - } - - private static final class BigtableMethodDescriptorSupplier - extends BigtableBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BigtableMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BigtableGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) - .addMethod(getReadRowsMethod()) - .addMethod(getSampleRowKeysMethod()) - .addMethod(getMutateRowMethod()) - .addMethod(getMutateRowsMethod()) - .addMethod(getCheckAndMutateRowMethod()) - .addMethod(getPingAndWarmMethod()) - .addMethod(getReadModifyWriteRowMethod()) - .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) - .addMethod(getReadChangeStreamMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v2/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 364f9f7e5e..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\"\337\002\n\025Crea" + - "teInstanceRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372" + - "A-\n+cloudresourcemanager.googleapis.com/" + - "Project\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022:\n\010in" + - "stance\030\003 \001(\0132\".google.bigtable.admin.v2." + - "InstanceB\004\342A\001\002\022U\n\010clusters\030\004 \003(\0132=.googl" + - "e.bigtable.admin.v2.CreateInstanceReques" + - "t.ClustersEntryB\004\342A\001\002\032R\n\rClustersEntry\022\013" + - "\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigt" + - "able.admin.v2.Cluster:\0028\001\"R\n\022GetInstance" + - "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" + - "admin.googleapis.com/Instance\"p\n\024ListIns" + - "tancesRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+" + - "cloudresourcemanager.googleapis.com/Proj" + - "ect\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\025ListInstance" + - "sResponse\0225\n\tinstances\030\001 \003(\0132\".google.bi" + - "gtable.admin.v2.Instance\022\030\n\020failed_locat" + - "ions\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\221\001\n\034" + - "PartialUpdateInstanceRequest\022:\n\010instance" + - "\030\001 \001(\0132\".google.bigtable.admin.v2.Instan" + - "ceB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\004\342A\001\002\"U\n\025DeleteInstanc" + - "eRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtabl" + - "eadmin.googleapis.com/Instance\"\252\001\n\024Creat" + - "eClusterRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" + - "\n%bigtableadmin.googleapis.com/Instance\022" + - "\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0228\n\007cluster\030\003 \001" + - "(\0132!.google.bigtable.admin.v2.ClusterB\004\342" + - "A\001\002\"P\n\021GetClusterRequest\022;\n\004name\030\001 \001(\tB-" + - "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + - "uster\"i\n\023ListClustersRequest\022>\n\006parent\030\001" + - " \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis." + - "com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024List" + - "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" + - "gle.bigtable.admin.v2.Cluster\022\030\n\020failed_" + - "locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t" + - "\"S\n\024DeleteClusterRequest\022;\n\004name\030\001 \001(\tB-" + - "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + - "uster\"\306\001\n\026CreateInstanceMetadata\022I\n\020orig" + - "inal_request\030\001 \001(\0132/.google.bigtable.adm" + - "in.v2.CreateInstanceRequest\0220\n\014request_t" + - "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n" + - "\013finish_time\030\003 \001(\0132\032.google.protobuf.Tim" + - "estamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020ori" + - "ginal_request\030\001 \001(\01326.google.bigtable.ad" + - "min.v2.PartialUpdateInstanceRequest\0220\n\014r" + - "equest_time\030\002 \001(\0132\032.google.protobuf.Time" + - "stamp\022/\n\013finish_time\030\003 \001(\0132\032.google.prot" + - "obuf.Timestamp\"\373\004\n\025CreateClusterMetadata" + - "\022H\n\020original_request\030\001 \001(\0132..google.bigt" + - "able.admin.v2.CreateClusterRequest\0220\n\014re" + - "quest_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tamp\022/\n\013finish_time\030\003 \001(\0132\032.google.proto" + - "buf.Timestamp\022K\n\006tables\030\004 \003(\0132;.google.b" + - "igtable.admin.v2.CreateClusterMetadata.T" + - "ablesEntry\032\371\001\n\rTableProgress\022\034\n\024estimate" + - "d_size_bytes\030\002 \001(\003\022\036\n\026estimated_copied_b" + - "ytes\030\003 \001(\003\022R\n\005state\030\004 \001(\0162C.google.bigta" + - "ble.admin.v2.CreateClusterMetadata.Table" + - "Progress.State\"V\n\005State\022\025\n\021STATE_UNSPECI" + - "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMP" + - "LETED\020\003\022\r\n\tCANCELLED\020\004\032l\n\013TablesEntry\022\013\n" + - "\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google.bigta" + - "ble.admin.v2.CreateClusterMetadata.Table" + - "Progress:\0028\001\"\267\001\n\025UpdateClusterMetadata\022;" + - "\n\020original_request\030\001 \001(\0132!.google.bigtab" + - "le.admin.v2.Cluster\0220\n\014request_time\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + - "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\322" + - "\001\n\034PartialUpdateClusterMetadata\0220\n\014reque" + - "st_time\030\001 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013finish_time\030\002 \001(\0132\032.google.protobuf" + - ".Timestamp\022O\n\020original_request\030\003 \001(\01325.g" + - "oogle.bigtable.admin.v2.PartialUpdateClu" + - "sterRequest\"\216\001\n\033PartialUpdateClusterRequ" + - "est\0228\n\007cluster\030\001 \001(\0132!.google.bigtable.a" + - "dmin.v2.ClusterB\004\342A\001\002\0225\n\013update_mask\030\002 \001" + - "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\321\001\n" + - "\027CreateAppProfileRequest\022>\n\006parent\030\001 \001(\t" + - "B.\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/" + - "Instance\022\034\n\016app_profile_id\030\002 \001(\tB\004\342A\001\002\022?" + - "\n\013app_profile\030\003 \001(\0132$.google.bigtable.ad" + - "min.v2.AppProfileB\004\342A\001\002\022\027\n\017ignore_warnin" + - "gs\030\004 \001(\010\"V\n\024GetAppProfileRequest\022>\n\004name" + - "\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadmin.googleapi" + - "s.com/AppProfile\"\177\n\026ListAppProfilesReque" + - "st\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadm" + - "in.googleapis.com/Instance\022\021\n\tpage_size\030" + - "\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListAppPro" + - "filesResponse\022:\n\014app_profiles\030\001 \003(\0132$.go" + - "ogle.bigtable.admin.v2.AppProfile\022\027\n\017nex" + - "t_page_token\030\002 \001(\t\022\030\n\020failed_locations\030\003" + - " \003(\t\"\252\001\n\027UpdateAppProfileRequest\022?\n\013app_" + - "profile\030\001 \001(\0132$.google.bigtable.admin.v2" + - ".AppProfileB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032" + - ".google.protobuf.FieldMaskB\004\342A\001\002\022\027\n\017igno" + - "re_warnings\030\003 \001(\010\"x\n\027DeleteAppProfileReq" + - "uest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadm" + - "in.googleapis.com/AppProfile\022\035\n\017ignore_w" + - "arnings\030\002 \001(\010B\004\342A\001\002\"\032\n\030UpdateAppProfileM" + - "etadata\"\333\001\n\025ListHotTabletsRequest\022=\n\006par" + - "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + - "apis.com/Cluster\022.\n\nstart_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\022,\n\010end_time\030\003 \001" + - "(\0132\032.google.protobuf.Timestamp\022\021\n\tpage_s" + - "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"k\n\026ListHot" + - "TabletsResponse\0228\n\013hot_tablets\030\001 \003(\0132#.g" + - "oogle.bigtable.admin.v2.HotTablet\022\027\n\017nex" + - "t_page_token\030\002 \001(\t2\313!\n\025BigtableInstanceA" + - "dmin\022\332\001\n\016CreateInstance\022/.google.bigtabl" + - "e.admin.v2.CreateInstanceRequest\032\035.googl" + - "e.longrunning.Operation\"x\312A\"\n\010Instance\022\026" + - "CreateInstanceMetadata\332A$parent,instance" + - "_id,instance,clusters\202\323\344\223\002&\"!/v2/{parent" + - "=projects/*}/instances:\001*\022\221\001\n\013GetInstanc" + - "e\022,.google.bigtable.admin.v2.GetInstance" + - "Request\032\".google.bigtable.admin.v2.Insta" + - "nce\"0\332A\004name\202\323\344\223\002#\022!/v2/{name=projects/*" + - "/instances/*}\022\244\001\n\rListInstances\022..google" + - ".bigtable.admin.v2.ListInstancesRequest\032" + - "/.google.bigtable.admin.v2.ListInstances" + - "Response\"2\332A\006parent\202\323\344\223\002#\022!/v2/{parent=p" + - "rojects/*}/instances\022\206\001\n\016UpdateInstance\022" + - "\".google.bigtable.admin.v2.Instance\032\".go" + - "ogle.bigtable.admin.v2.Instance\",\202\323\344\223\002&\032" + - "!/v2/{name=projects/*/instances/*}:\001*\022\350\001" + - "\n\025PartialUpdateInstance\0226.google.bigtabl" + - "e.admin.v2.PartialUpdateInstanceRequest\032" + - "\035.google.longrunning.Operation\"x\312A\"\n\010Ins" + - "tance\022\026UpdateInstanceMetadata\332A\024instance" + - ",update_mask\202\323\344\223\00262*/v2/{instance.name=p" + - "rojects/*/instances/*}:\010instance\022\213\001\n\016Del" + - "eteInstance\022/.google.bigtable.admin.v2.D" + - "eleteInstanceRequest\032\026.google.protobuf.E" + - "mpty\"0\332A\004name\202\323\344\223\002#*!/v2/{name=projects/" + - "*/instances/*}\022\334\001\n\rCreateCluster\022..googl" + - "e.bigtable.admin.v2.CreateClusterRequest" + - "\032\035.google.longrunning.Operation\"|\312A \n\007Cl" + - "uster\022\025CreateClusterMetadata\332A\031parent,cl" + - "uster_id,cluster\202\323\344\223\0027\",/v2/{parent=proj" + - "ects/*/instances/*}/clusters:\007cluster\022\231\001" + - "\n\nGetCluster\022+.google.bigtable.admin.v2." + - "GetClusterRequest\032!.google.bigtable.admi" + - "n.v2.Cluster\";\332A\004name\202\323\344\223\002.\022,/v2/{name=p" + - "rojects/*/instances/*/clusters/*}\022\254\001\n\014Li" + - "stClusters\022-.google.bigtable.admin.v2.Li" + - "stClustersRequest\032..google.bigtable.admi" + - "n.v2.ListClustersResponse\"=\332A\006parent\202\323\344\223" + - "\002.\022,/v2/{parent=projects/*/instances/*}/" + - "clusters\022\255\001\n\rUpdateCluster\022!.google.bigt" + - "able.admin.v2.Cluster\032\035.google.longrunni" + - "ng.Operation\"Z\312A \n\007Cluster\022\025UpdateCluste" + - "rMetadata\202\323\344\223\0021\032,/v2/{name=projects/*/in" + - "stances/*/clusters/*}:\001*\022\364\001\n\024PartialUpda" + - "teCluster\0225.google.bigtable.admin.v2.Par" + - "tialUpdateClusterRequest\032\035.google.longru" + - "nning.Operation\"\205\001\312A\'\n\007Cluster\022\034PartialU" + - "pdateClusterMetadata\332A\023cluster,update_ma" + - "sk\202\323\344\223\002?24/v2/{cluster.name=projects/*/i" + - "nstances/*/clusters/*}:\007cluster\022\224\001\n\rDele" + - "teCluster\022..google.bigtable.admin.v2.Del" + - "eteClusterRequest\032\026.google.protobuf.Empt" + - "y\";\332A\004name\202\323\344\223\002.*,/v2/{name=projects/*/i" + - "nstances/*/clusters/*}\022\325\001\n\020CreateAppProf" + - "ile\0221.google.bigtable.admin.v2.CreateApp" + - "ProfileRequest\032$.google.bigtable.admin.v" + - "2.AppProfile\"h\332A!parent,app_profile_id,a" + - "pp_profile\202\323\344\223\002>\"//v2/{parent=projects/*" + - "/instances/*}/appProfiles:\013app_profile\022\245" + - "\001\n\rGetAppProfile\022..google.bigtable.admin" + - ".v2.GetAppProfileRequest\032$.google.bigtab" + - "le.admin.v2.AppProfile\">\332A\004name\202\323\344\223\0021\022//" + - "v2/{name=projects/*/instances/*/appProfi" + - "les/*}\022\270\001\n\017ListAppProfiles\0220.google.bigt" + - "able.admin.v2.ListAppProfilesRequest\0321.g" + - "oogle.bigtable.admin.v2.ListAppProfilesR" + - "esponse\"@\332A\006parent\202\323\344\223\0021\022//v2/{parent=pr" + - "ojects/*/instances/*}/appProfiles\022\372\001\n\020Up" + - "dateAppProfile\0221.google.bigtable.admin.v" + - "2.UpdateAppProfileRequest\032\035.google.longr" + - "unning.Operation\"\223\001\312A&\n\nAppProfile\022\030Upda" + - "teAppProfileMetadata\332A\027app_profile,updat" + - "e_mask\202\323\344\223\002J2;/v2/{app_profile.name=proj" + - "ects/*/instances/*/appProfiles/*}:\013app_p" + - "rofile\022\235\001\n\020DeleteAppProfile\0221.google.big" + - "table.admin.v2.DeleteAppProfileRequest\032\026" + - ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" + - "v2/{name=projects/*/instances/*/appProfi" + - "les/*}\022\223\001\n\014GetIamPolicy\022\".google.iam.v1." + - "GetIamPolicyRequest\032\025.google.iam.v1.Poli" + - "cy\"H\332A\010resource\202\323\344\223\0027\"2/v2/{resource=pro" + - "jects/*/instances/*}:getIamPolicy:\001*\022\232\001\n" + - "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" + - "cyRequest\032\025.google.iam.v1.Policy\"O\332A\017res" + - "ource,policy\202\323\344\223\0027\"2/v2/{resource=projec" + - "ts/*/instances/*}:setIamPolicy:\001*\022\305\001\n\022Te" + - "stIamPermissions\022(.google.iam.v1.TestIam" + - "PermissionsRequest\032).google.iam.v1.TestI" + - "amPermissionsResponse\"Z\332A\024resource,permi" + - "ssions\202\323\344\223\002=\"8/v2/{resource=projects/*/i" + - "nstances/*}:testIamPermissions:\001*\022\277\001\n\016Li" + - "stHotTablets\022/.google.bigtable.admin.v2." + - "ListHotTabletsRequest\0320.google.bigtable." + - "admin.v2.ListHotTabletsResponse\"J\332A\006pare" + - "nt\202\323\344\223\002;\0229/v2/{parent=projects/*/instanc" + - "es/*/clusters/*}/hotTablets\032\232\003\312A\034bigtabl" + - "eadmin.googleapis.com\322A\367\002https://www.goo" + - "gleapis.com/auth/bigtable.admin,https://" + - "www.googleapis.com/auth/bigtable.admin.c" + - "luster,https://www.googleapis.com/auth/b" + - "igtable.admin.instance,https://www.googl" + - "eapis.com/auth/cloud-bigtable.admin,http" + - "s://www.googleapis.com/auth/cloud-bigtab" + - "le.admin.cluster,https://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/cloud-platform.read-only" + - "B\342\001\n\034com.google.bigtable.admin.v2B\032Bigta" + - "bleInstanceAdminProtoP\001Z=google.golang.o" + - "rg/genproto/googleapis/bigtable/admin/v2" + - ";admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312" + - "\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Googl" + - "e::Cloud::Bigtable::Admin::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.InstanceProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", "Clusters", }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", }); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, - new java.lang.String[] { "Instances", "FailedLocations", "NextPageToken", }); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, - new java.lang.String[] { "Instance", "UpdateMask", }); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, - new java.lang.String[] { "Parent", "ClusterId", "Cluster", }); - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, - new java.lang.String[] { "Parent", "PageToken", }); - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, - new java.lang.String[] { "Clusters", "FailedLocations", "NextPageToken", }); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, - new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, - new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", "Tables", }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, - new java.lang.String[] { "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, - new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, - new java.lang.String[] { "RequestTime", "FinishTime", "OriginalRequest", }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, - new java.lang.String[] { "Cluster", "UpdateMask", }); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, - new java.lang.String[] { "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", }); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, - new java.lang.String[] { "AppProfiles", "NextPageToken", "FailedLocations", }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, - new java.lang.String[] { "AppProfile", "UpdateMask", "IgnoreWarnings", }); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, - new java.lang.String[] { "Name", "IgnoreWarnings", }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, - new java.lang.String[] { }); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, - new java.lang.String[] { "Parent", "StartTime", "EndTime", "PageSize", "PageToken", }); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, - new java.lang.String[] { "HotTablets", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java deleted file mode 100644 index 09250497af..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,723 +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\"\263\001\n\023RestoreTableRequest" + - "\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin" + - ".googleapis.com/Instance\022\026\n\010table_id\030\002 \001" + - "(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtablea" + - "dmin.googleapis.com/BackupH\000B\010\n\006source\"\230" + - "\002\n\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n" + - "\013source_type\030\002 \001(\0162+.google.bigtable.adm" + - "in.v2.RestoreSourceType\022;\n\013backup_info\030\003" + - " \001(\0132$.google.bigtable.admin.v2.BackupIn" + - "foH\000\022%\n\035optimize_table_operation_name\030\004 " + - "\001(\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable." + - "admin.v2.OperationProgressB\r\n\013source_inf" + - "o\"l\n\035OptimizeRestoredTableMetadata\022\014\n\004na" + - "me\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigt" + - "able.admin.v2.OperationProgress\"\204\002\n\022Crea" + - "teTableRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" + - "%bigtableadmin.googleapis.com/Instance\022\026" + - "\n\010table_id\030\002 \001(\tB\004\342A\001\002\0224\n\005table\030\003 \001(\0132\037." + - "google.bigtable.admin.v2.TableB\004\342A\001\002\022J\n\016" + - "initial_splits\030\004 \003(\01322.google.bigtable.a" + - "dmin.v2.CreateTableRequest.Split\032\024\n\005Spli" + - "t\022\013\n\003key\030\001 \001(\014\"\301\001\n\036CreateTableFromSnapsh" + - "otRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigt" + - "ableadmin.googleapis.com/Instance\022\026\n\010tab" + - "le_id\030\002 \001(\tB\004\342A\001\002\022G\n\017source_snapshot\030\003 \001" + - "(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.co" + - "m/Snapshot\"\232\001\n\023DropRowRangeRequest\0229\n\004na" + - "me\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googlea" + - "pis.com/Table\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022" + - "$\n\032delete_all_data_from_table\030\003 \001(\010H\000B\010\n" + - "\006target\"\256\001\n\021ListTablesRequest\022>\n\006parent\030" + - "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + - ".com/Instance\0222\n\004view\030\002 \001(\0162$.google.big" + - "table.admin.v2.Table.View\022\021\n\tpage_size\030\004" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRe" + - "sponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable" + - ".admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t" + - "\"\200\001\n\017GetTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + - "\372A$\n\"bigtableadmin.googleapis.com/Table\022" + - "2\n\004view\030\002 \001(\0162$.google.bigtable.admin.v2" + - ".Table.View\"\201\001\n\022UpdateTableRequest\0224\n\005ta" + - "ble\030\001 \001(\0132\037.google.bigtable.admin.v2.Tab" + - "leB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\004\342A\001\002\"\201\001\n\023UpdateTableM" + - "etadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + - "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"O\n\022D" + - "eleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$" + - "\n\"bigtableadmin.googleapis.com/Table\"Q\n\024" + - "UndeleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + - "\372A$\n\"bigtableadmin.googleapis.com/Table\"" + - "\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001(\t\022" + - ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" + - "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" + - "buf.Timestamp\"\341\002\n\033ModifyColumnFamiliesRe" + - "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtablead" + - "min.googleapis.com/Table\022_\n\rmodification" + - "s\030\002 \003(\0132B.google.bigtable.admin.v2.Modif" + - "yColumnFamiliesRequest.ModificationB\004\342A\001" + - "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create" + - "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + - "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab" + - "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010" + - "H\000B\005\n\003mod\"\\\n\037GenerateConsistencyTokenReq" + - "uest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadm" + - "in.googleapis.com/Table\"=\n GenerateConsi" + - "stencyTokenResponse\022\031\n\021consistency_token" + - "\030\001 \001(\t\"u\n\027CheckConsistencyRequest\0229\n\004nam" + - "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" + - "is.com/Table\022\037\n\021consistency_token\030\002 \001(\tB" + - "\004\342A\001\002\".\n\030CheckConsistencyResponse\022\022\n\ncon" + - "sistent\030\001 \001(\010\"\351\001\n\024SnapshotTableRequest\0229" + - "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goo" + - "gleapis.com/Table\022>\n\007cluster\030\002 \001(\tB-\342A\001\002" + - "\372A&\n$bigtableadmin.googleapis.com/Cluste" + - "r\022\031\n\013snapshot_id\030\003 \001(\tB\004\342A\001\002\022&\n\003ttl\030\004 \001(" + - "\0132\031.google.protobuf.Duration\022\023\n\013descript" + - "ion\030\005 \001(\t\"R\n\022GetSnapshotRequest\022<\n\004name\030" + - "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + - ".com/Snapshot\"|\n\024ListSnapshotsRequest\022=\n" + - "\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.go" + - "ogleapis.com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022" + - "\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsResp" + - "onse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigtabl" + - "e.admin.v2.Snapshot\022\027\n\017next_page_token\030\002" + - " \001(\t\"U\n\025DeleteSnapshotRequest\022<\n\004name\030\001 " + - "\001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.c" + - "om/Snapshot\"\304\001\n\025SnapshotTableMetadata\022H\n" + - "\020original_request\030\001 \001(\0132..google.bigtabl" + - "e.admin.v2.SnapshotTableRequest\0220\n\014reque" + - "st_time\030\002 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf" + - ".Timestamp\"\330\001\n\037CreateTableFromSnapshotMe" + - "tadata\022R\n\020original_request\030\001 \001(\01328.googl" + - "e.bigtable.admin.v2.CreateTableFromSnaps" + - "hotRequest\0220\n\014request_time\030\002 \001(\0132\032.googl" + - "e.protobuf.Timestamp\022/\n\013finish_time\030\003 \001(" + - "\0132\032.google.protobuf.Timestamp\"\245\001\n\023Create" + - "BackupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$" + - "bigtableadmin.googleapis.com/Cluster\022\027\n\t" + - "backup_id\030\002 \001(\tB\004\342A\001\002\0226\n\006backup\030\003 \001(\0132 ." + - "google.bigtable.admin.v2.BackupB\004\342A\001\002\"\230\001" + - "\n\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014" + - "source_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032" + - ".google.protobuf.Timestamp\022,\n\010end_time\030\004" + - " \001(\0132\032.google.protobuf.Timestamp\"\204\001\n\023Upd" + - "ateBackupRequest\0226\n\006backup\030\001 \001(\0132 .googl" + - "e.bigtable.admin.v2.BackupB\004\342A\001\002\0225\n\013upda" + - "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "kB\004\342A\001\002\"N\n\020GetBackupRequest\022:\n\004name\030\001 \001(" + - "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" + - "/Backup\"Q\n\023DeleteBackupRequest\022:\n\004name\030\001" + - " \001(\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis." + - "com/Backup\"\234\001\n\022ListBackupsRequest\022=\n\006par" + - "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + - "apis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" + - "r_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_to" + - "ken\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007back" + - "ups\030\001 \003(\0132 .google.bigtable.admin.v2.Bac" + - "kup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Bigtabl" + - "eTableAdmin\022\253\001\n\013CreateTable\022,.google.big" + - "table.admin.v2.CreateTableRequest\032\037.goog" + - "le.bigtable.admin.v2.Table\"M\332A\025parent,ta" + - "ble_id,table\202\323\344\223\002/\"*/v2/{parent=projects" + - "/*/instances/*}/tables:\001*\022\212\002\n\027CreateTabl" + - "eFromSnapshot\0228.google.bigtable.admin.v2" + - ".CreateTableFromSnapshotRequest\032\035.google" + - ".longrunning.Operation\"\225\001\312A(\n\005Table\022\037Cre" + - "ateTableFromSnapshotMetadata\332A\037parent,ta" + - "ble_id,source_snapshot\202\323\344\223\002B\"=/v2/{paren" + - "t=projects/*/instances/*}/tables:createF" + - "romSnapshot:\001*\022\244\001\n\nListTables\022+.google.b" + - "igtable.admin.v2.ListTablesRequest\032,.goo" + - "gle.bigtable.admin.v2.ListTablesResponse" + - "\";\332A\006parent\202\323\344\223\002,\022*/v2/{parent=projects/" + - "*/instances/*}/tables\022\221\001\n\010GetTable\022).goo" + - "gle.bigtable.admin.v2.GetTableRequest\032\037." + - "google.bigtable.admin.v2.Table\"9\332A\004name\202" + - "\323\344\223\002,\022*/v2/{name=projects/*/instances/*/" + - "tables/*}\022\316\001\n\013UpdateTable\022,.google.bigta" + - "ble.admin.v2.UpdateTableRequest\032\035.google" + - ".longrunning.Operation\"r\312A\034\n\005Table\022\023Upda" + - "teTableMetadata\332A\021table,update_mask\202\323\344\223\002" + - "920/v2/{table.name=projects/*/instances/" + - "*/tables/*}:\005table\022\216\001\n\013DeleteTable\022,.goo" + - "gle.bigtable.admin.v2.DeleteTableRequest" + - "\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223\002,*" + - "*/v2/{name=projects/*/instances/*/tables" + - "/*}\022\306\001\n\rUndeleteTable\022..google.bigtable." + - "admin.v2.UndeleteTableRequest\032\035.google.l" + - "ongrunning.Operation\"f\312A\036\n\005Table\022\025Undele" + - "teTableMetadata\332A\004name\202\323\344\223\0028\"3/v2/{name=" + - "projects/*/instances/*/tables/*}:undelet" + - "e:\001*\022\317\001\n\024ModifyColumnFamilies\0225.google.b" + - "igtable.admin.v2.ModifyColumnFamiliesReq" + - "uest\032\037.google.bigtable.admin.v2.Table\"_\332" + - "A\022name,modifications\202\323\344\223\002D\"?/v2/{name=pr" + - "ojects/*/instances/*/tables/*}:modifyCol" + - "umnFamilies:\001*\022\231\001\n\014DropRowRange\022-.google" + - ".bigtable.admin.v2.DropRowRangeRequest\032\026" + - ".google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{nam" + - "e=projects/*/instances/*/tables/*}:dropR" + - "owRange:\001*\022\350\001\n\030GenerateConsistencyToken\022" + - "9.google.bigtable.admin.v2.GenerateConsi" + - "stencyTokenRequest\032:.google.bigtable.adm" + - "in.v2.GenerateConsistencyTokenResponse\"U" + - "\332A\004name\202\323\344\223\002H\"C/v2/{name=projects/*/inst" + - "ances/*/tables/*}:generateConsistencyTok" + - "en:\001*\022\332\001\n\020CheckConsistency\0221.google.bigt" + - "able.admin.v2.CheckConsistencyRequest\0322." + - "google.bigtable.admin.v2.CheckConsistenc" + - "yResponse\"_\332A\026name,consistency_token\202\323\344\223" + - "\002@\";/v2/{name=projects/*/instances/*/tab" + - "les/*}:checkConsistency:\001*\022\352\001\n\rSnapshotT" + - "able\022..google.bigtable.admin.v2.Snapshot" + - "TableRequest\032\035.google.longrunning.Operat" + - "ion\"\211\001\312A!\n\010Snapshot\022\025SnapshotTableMetada" + - "ta\332A$name,cluster,snapshot_id,descriptio" + - "n\202\323\344\223\0028\"3/v2/{name=projects/*/instances/" + - "*/tables/*}:snapshot:\001*\022\250\001\n\013GetSnapshot\022" + - ",.google.bigtable.admin.v2.GetSnapshotRe" + - "quest\032\".google.bigtable.admin.v2.Snapsho" + - "t\"G\332A\004name\202\323\344\223\002:\0228/v2/{name=projects/*/i" + - "nstances/*/clusters/*/snapshots/*}\022\273\001\n\rL" + - "istSnapshots\022..google.bigtable.admin.v2." + - "ListSnapshotsRequest\032/.google.bigtable.a" + - "dmin.v2.ListSnapshotsResponse\"I\332A\006parent" + - "\202\323\344\223\002:\0228/v2/{parent=projects/*/instances" + - "/*/clusters/*}/snapshots\022\242\001\n\016DeleteSnaps" + - "hot\022/.google.bigtable.admin.v2.DeleteSna" + - "pshotRequest\032\026.google.protobuf.Empty\"G\332A" + - "\004name\202\323\344\223\002:*8/v2/{name=projects/*/instan" + - "ces/*/clusters/*/snapshots/*}\022\340\001\n\014Create" + - "Backup\022-.google.bigtable.admin.v2.Create" + - "BackupRequest\032\035.google.longrunning.Opera" + - "tion\"\201\001\312A\036\n\006Backup\022\024CreateBackupMetadata" + - "\332A\027parent,backup_id,backup\202\323\344\223\002@\"6/v2/{p" + - "arent=projects/*/instances/*/clusters/*}" + - "/backups:\006backup\022\240\001\n\tGetBackup\022*.google." + - "bigtable.admin.v2.GetBackupRequest\032 .goo" + - "gle.bigtable.admin.v2.Backup\"E\332A\004name\202\323\344" + - "\223\0028\0226/v2/{name=projects/*/instances/*/cl" + - "usters/*/backups/*}\022\303\001\n\014UpdateBackup\022-.g" + - "oogle.bigtable.admin.v2.UpdateBackupRequ" + - "est\032 .google.bigtable.admin.v2.Backup\"b\332" + - "A\022backup,update_mask\202\323\344\223\002G2=/v2/{backup." + - "name=projects/*/instances/*/clusters/*/b" + - "ackups/*}:\006backup\022\234\001\n\014DeleteBackup\022-.goo" + - "gle.bigtable.admin.v2.DeleteBackupReques" + - "t\032\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223\0028" + - "*6/v2/{name=projects/*/instances/*/clust" + - "ers/*/backups/*}\022\263\001\n\013ListBackups\022,.googl" + - "e.bigtable.admin.v2.ListBackupsRequest\032-" + - ".google.bigtable.admin.v2.ListBackupsRes" + - "ponse\"G\332A\006parent\202\323\344\223\0028\0226/v2/{parent=proj" + - "ects/*/instances/*/clusters/*}/backups\022\273" + - "\001\n\014RestoreTable\022-.google.bigtable.admin." + - "v2.RestoreTableRequest\032\035.google.longrunn" + - "ing.Operation\"]\312A\035\n\005Table\022\024RestoreTableM" + - "etadata\202\323\344\223\0027\"2/v2/{parent=projects/*/in" + - "stances/*}/tables:restore:\001*\022\354\001\n\014GetIamP" + - "olicy\022\".google.iam.v1.GetIamPolicyReques" + - "t\032\025.google.iam.v1.Policy\"\240\001\332A\010resource\202\323" + - "\344\223\002\216\001\";/v2/{resource=projects/*/instance" + - "s/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/{re" + - "source=projects/*/instances/*/clusters/*" + - "/backups/*}:getIamPolicy:\001*\022\363\001\n\014SetIamPo" + - "licy\022\".google.iam.v1.SetIamPolicyRequest" + - "\032\025.google.iam.v1.Policy\"\247\001\332A\017resource,po" + - "licy\202\323\344\223\002\216\001\";/v2/{resource=projects/*/in" + - "stances/*/tables/*}:setIamPolicy:\001*ZL\"G/" + - "v2/{resource=projects/*/instances/*/clus" + - "ters/*/backups/*}:setIamPolicy:\001*\022\244\002\n\022Te" + - "stIamPermissions\022(.google.iam.v1.TestIam" + - "PermissionsRequest\032).google.iam.v1.TestI" + - "amPermissionsResponse\"\270\001\332A\024resource,perm" + - "issions\202\323\344\223\002\232\001\"A/v2/{resource=projects/*" + - "/instances/*/tables/*}:testIamPermission" + - "s:\001*ZR\"M/v2/{resource=projects/*/instanc" + - "es/*/clusters/*/backups/*}:testIamPermis" + - "sions:\001*\032\336\002\312A\034bigtableadmin.googleapis.c" + - "om\322A\273\002https://www.googleapis.com/auth/bi" + - "gtable.admin,https://www.googleapis.com/" + - "auth/bigtable.admin.table,https://www.go" + - "ogleapis.com/auth/cloud-bigtable.admin,h" + - "ttps://www.googleapis.com/auth/cloud-big" + - "table.admin.table,https://www.googleapis" + - ".com/auth/cloud-platform,https://www.goo" + - "gleapis.com/auth/cloud-platform.read-onl" + - "yB\337\001\n\034com.google.bigtable.admin.v2B\027Bigt" + - "ableTableAdminProtoP\001Z=google.golang.org" + - "/genproto/googleapis/bigtable/admin/v2;a" + - "dmin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036" + - "Google\\Cloud\\Bigtable\\Admin\\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.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 cec675b8bc..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\"" + - "\311\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" + - "me\030\002 \001(\tB\004\342A\001\002\0227\n\005state\030\003 \001(\0162(.google.b" + - "igtable.admin.v2.Instance.State\0225\n\004type\030" + - "\004 \001(\0162\'.google.bigtable.admin.v2.Instanc" + - "e.Type\022>\n\006labels\030\005 \003(\0132..google.bigtable" + - ".admin.v2.Instance.LabelsEntry\0225\n\013create" + - "_time\030\007 \001(\0132\032.google.protobuf.TimestampB" + - "\004\342A\001\003\022 \n\rsatisfies_pzs\030\010 \001(\010B\004\342A\001\003H\000\210\001\001\032" + - "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" + - "READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UN" + - "SPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPME" + - "NT\020\002:S\352AP\n%bigtableadmin.googleapis.com/" + - "Instance\022\'projects/{project}/instances/{" + - "instance}B\020\n\016_satisfies_pzs\"_\n\022Autoscali" + - "ngTargets\022\037\n\027cpu_utilization_percent\030\002 \001" + - "(\005\022(\n storage_utilization_gib_per_node\030\003" + - " \001(\005\"Q\n\021AutoscalingLimits\022\035\n\017min_serve_n" + - "odes\030\001 \001(\005B\004\342A\001\002\022\035\n\017max_serve_nodes\030\002 \001(" + - "\005B\004\342A\001\002\"\327\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022<\n\010loc" + - "ation\030\002 \001(\tB*\342A\001\005\372A#\n!locations.googleap" + - "is.com/Location\022<\n\005state\030\003 \001(\0162\'.google." + - "bigtable.admin.v2.Cluster.StateB\004\342A\001\003\022\023\n" + - "\013serve_nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001" + - "(\0132/.google.bigtable.admin.v2.Cluster.Cl" + - "usterConfigH\000\022I\n\024default_storage_type\030\005 " + - "\001(\0162%.google.bigtable.admin.v2.StorageTy" + - "peB\004\342A\001\005\022S\n\021encryption_config\030\006 \001(\01322.go" + - "ogle.bigtable.admin.v2.Cluster.Encryptio" + - "nConfigB\004\342A\001\005\032\272\001\n\030ClusterAutoscalingConf" + - "ig\022M\n\022autoscaling_limits\030\001 \001(\0132+.google." + - "bigtable.admin.v2.AutoscalingLimitsB\004\342A\001" + - "\002\022O\n\023autoscaling_targets\030\002 \001(\0132,.google." + - "bigtable.admin.v2.AutoscalingTargetsB\004\342A" + - "\001\002\032o\n\rClusterConfig\022^\n\032cluster_autoscali" + - "ng_config\030\001 \001(\0132:.google.bigtable.admin." + - "v2.Cluster.ClusterAutoscalingConfig\032P\n\020E" + - "ncryptionConfig\022<\n\014kms_key_name\030\001 \001(\tB&\372" + - "A#\n!cloudkms.googleapis.com/CryptoKey\"Q\n" + - "\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014" + - "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" + - ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" + - "ter\022:projects/{project}/instances/{insta" + - "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" + - "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" + - "description\030\003 \001(\t\022g\n\035multi_cluster_routi" + - "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" + - ".v2.AppProfile.MultiClusterRoutingUseAny" + - "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" + - "gle.bigtable.admin.v2.AppProfile.SingleC" + - "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" + - "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" + - "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" + - "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" + - "admin.googleapis.com/AppProfile\022Aproject" + - "s/{project}/instances/{instance}/appProf" + - "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" + - "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" + - " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" + - "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." + - "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" + - "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" + - "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" + - "admin.googleapis.com/HotTablet\022Rprojects" + - "/{project}/instances/{instance}/clusters" + - "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" + - "om.google.bigtable.admin.v2B\rInstancePro" + - "toP\001Z=google.golang.org/genproto/googlea" + - "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" + - "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" + - "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" + - ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" + - "ryptoKey\022Sprojects/{project}/locations/{" + - "location}/keyRings/{key_ring}/cryptoKeys" + - "/{crypto_key}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_Instance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_descriptor, - new java.lang.String[] { "Name", "DisplayName", "State", "Type", "Labels", "CreateTime", "SatisfiesPzs", "SatisfiesPzs", }); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = - internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, - new java.lang.String[] { "CpuUtilizationPercent", "StorageUtilizationGibPerNode", }); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, - new java.lang.String[] { "MinServeNodes", "MaxServeNodes", }); - internal_static_google_bigtable_admin_v2_Cluster_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_descriptor, - new java.lang.String[] { "Name", "Location", "State", "ServeNodes", "ClusterConfig", "DefaultStorageType", "EncryptionConfig", "Config", }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, - new java.lang.String[] { "AutoscalingLimits", "AutoscalingTargets", }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, - new java.lang.String[] { "ClusterAutoscalingConfig", }); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_bigtable_admin_v2_AppProfile_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_descriptor, - new java.lang.String[] { "Name", "Etag", "Description", "MultiClusterRoutingUseAny", "SingleClusterRouting", "RoutingPolicy", }); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, - new java.lang.String[] { "ClusterIds", }); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, - new java.lang.String[] { "ClusterId", "AllowTransactionalWrites", }); - internal_static_google_bigtable_admin_v2_HotTablet_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_HotTablet_descriptor, - new java.lang.String[] { "Name", "TableName", "StartTime", "EndTime", "StartKey", "EndKey", "NodeCpuUsagePercent", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 044071e8c5..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,309 +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_ChangeStreamConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Snapshot_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Backup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n$google/bigtable/admin/v2/table.proto\022\030" + - "google.bigtable.admin.v2\032\037google/api/fie" + - "ld_behavior.proto\032\031google/api/resource.p" + - "roto\032\036google/protobuf/duration.proto\032\037go" + - "ogle/protobuf/timestamp.proto\032\027google/rp" + - "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" + - "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" + - "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." + - "google.bigtable.admin.v2.BackupInfoH\000B\r\n" + - "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" + - "tention_period\030\001 \001(\0132\031.google.protobuf.D" + - "uration\"\337\t\n\005Table\022\014\n\004name\030\001 \001(\t\022P\n\016clust" + - "er_states\030\002 \003(\01322.google.bigtable.admin." + - "v2.Table.ClusterStatesEntryB\004\342A\001\003\022L\n\017col" + - "umn_families\030\003 \003(\01323.google.bigtable.adm" + - "in.v2.Table.ColumnFamiliesEntry\022O\n\013granu" + - "larity\030\004 \001(\01624.google.bigtable.admin.v2." + - "Table.TimestampGranularityB\004\342A\001\005\022A\n\014rest" + - "ore_info\030\006 \001(\0132%.google.bigtable.admin.v" + - "2.RestoreInfoB\004\342A\001\003\022J\n\024change_stream_con" + - "fig\030\010 \001(\0132,.google.bigtable.admin.v2.Cha" + - "ngeStreamConfig\022\033\n\023deletion_protection\030\t" + - " \001(\010\032\310\002\n\014ClusterState\022^\n\021replication_sta" + - "te\030\001 \001(\0162=.google.bigtable.admin.v2.Tabl" + - "e.ClusterState.ReplicationStateB\004\342A\001\003\022G\n" + - "\017encryption_info\030\002 \003(\0132(.google.bigtable" + - ".admin.v2.EncryptionInfoB\004\342A\001\003\"\216\001\n\020Repli" + - "cationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INIT" + - "IALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025U" + - "NPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020REA" + - "DY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n" + - "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigta" + - "ble.admin.v2.Table.ClusterState:\0028\001\032]\n\023C" + - "olumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value" + - "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + - "Family:\0028\001\"I\n\024TimestampGranularity\022%\n!TI" + - "MESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MIL" + - "LIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tN" + - "AME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATI" + - "ON_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004" + - ":_\352A\\\n\"bigtableadmin.googleapis.com/Tabl" + - "e\0226projects/{project}/instances/{instanc" + - "e}/tables/{table}\"A\n\014ColumnFamily\0221\n\007gc_" + - "rule\030\001 \001(\0132 .google.bigtable.admin.v2.Gc" + - "Rule\"\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(" + - "\005H\000\022,\n\007max_age\030\002 \001(\0132\031.google.protobuf.D" + - "urationH\000\022E\n\014intersection\030\003 \001(\0132-.google" + - ".bigtable.admin.v2.GcRule.IntersectionH\000" + - "\0227\n\005union\030\004 \001(\0132&.google.bigtable.admin." + - "v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n\005rul" + - "es\030\001 \003(\0132 .google.bigtable.admin.v2.GcRu" + - "le\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigt" + - "able.admin.v2.GcRuleB\006\n\004rule\"\334\002\n\016Encrypt" + - "ionInfo\022V\n\017encryption_type\030\003 \001(\01627.googl" + - "e.bigtable.admin.v2.EncryptionInfo.Encry" + - "ptionTypeB\004\342A\001\003\0223\n\021encryption_status\030\004 \001" + - "(\0132\022.google.rpc.StatusB\004\342A\001\003\022J\n\017kms_key_" + - "version\030\002 \001(\tB1\342A\001\003\372A*\n(cloudkms.googlea" + - "pis.com/CryptoKeyVersion\"q\n\016EncryptionTy" + - "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031G" + - "OOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_M" + - "ANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004name" + - "\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.bi" + - "gtable.admin.v2.Table\022\027\n\017data_size_bytes" + - "\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pro" + - "tobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\0227\n\005state\030\006 \001(\0162" + - "(.google.bigtable.admin.v2.Snapshot.Stat" + - "e\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STATE" + - "_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{\352" + - "Ax\n%bigtableadmin.googleapis.com/Snapsho" + - "t\022Oprojects/{project}/instances/{instanc" + - "e}/clusters/{cluster}/snapshots/{snapsho" + - "t}\"\244\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\033\n\014source_ta" + - "ble\030\002 \001(\tB\005\342A\002\005\002\0225\n\013expire_time\030\003 \001(\0132\032." + - "google.protobuf.TimestampB\004\342A\001\002\0224\n\nstart" + - "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + - "\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\022\030\n\nsize_bytes\030\006 \001(\003B\004\342" + - "A\001\003\022;\n\005state\030\007 \001(\0162&.google.bigtable.adm" + - "in.v2.Backup.StateB\004\342A\001\003\022G\n\017encryption_i" + - "nfo\030\t \001(\0132(.google.bigtable.admin.v2.Enc" + - "ryptionInfoB\004\342A\001\003\"7\n\005State\022\025\n\021STATE_UNSP" + - "ECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n" + - "#bigtableadmin.googleapis.com/Backup\022Kpr" + - "ojects/{project}/instances/{instance}/cl" + - "usters/{cluster}/backups/{backup}\"\250\001\n\nBa" + - "ckupInfo\022\024\n\006backup\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_" + - "time\030\002 \001(\0132\032.google.protobuf.TimestampB\004" + - "\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf" + - ".TimestampB\004\342A\001\003\022\032\n\014source_table\030\004 \001(\tB\004" + - "\342A\001\003*D\n\021RestoreSourceType\022#\n\037RESTORE_SOU" + - "RCE_TYPE_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034c" + - "om.google.bigtable.admin.v2B\nTableProtoP" + - "\001Z=google.golang.org/genproto/googleapis" + - "/bigtable/admin/v2;admin\252\002\036Google.Cloud." + - "Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigtabl" + - "e\\Admin\\V2\352\002\"Google::Cloud::Bigtable::Ad" + - "min::V2\352A\246\001\n(cloudkms.googleapis.com/Cry" + - "ptoKeyVersion\022zprojects/{project}/locati" + - "ons/{location}/keyRings/{key_ring}/crypt" + - "oKeys/{crypto_key}/cryptoKeyVersions/{cr" + - "ypto_key_version}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, - new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, - new java.lang.String[] { "RetentionPeriod", }); - internal_static_google_bigtable_admin_v2_Table_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_descriptor, - new java.lang.String[] { "Name", "ClusterStates", "ColumnFamilies", "Granularity", "RestoreInfo", "ChangeStreamConfig", "DeletionProtection", }); - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, - new java.lang.String[] { "ReplicationState", "EncryptionInfo", }); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, - new java.lang.String[] { "GcRule", }); - internal_static_google_bigtable_admin_v2_GcRule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_descriptor, - new java.lang.String[] { "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", }); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, - new java.lang.String[] { "Rules", }); - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, - new java.lang.String[] { "Rules", }); - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, - new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", }); - internal_static_google_bigtable_admin_v2_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Snapshot_descriptor, - new java.lang.String[] { "Name", "SourceTable", "DataSizeBytes", "CreateTime", "DeleteTime", "State", "Description", }); - internal_static_google_bigtable_admin_v2_Backup_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Backup_descriptor, - new java.lang.String[] { "Name", "SourceTable", "ExpireTime", "StartTime", "EndTime", "SizeBytes", "State", "EncryptionInfo", }); - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, - new java.lang.String[] { "Backup", "StartTime", "EndTime", "SourceTable", }); - 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 cd9c3735ce..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ /dev/null @@ -1,578 +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_RateLimitInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n!google/bigtable/v2/bigtable.proto\022\022goo" + - "gle.bigtable.v2\032\034google/api/annotations." + - "proto\032\027google/api/client.proto\032\037google/a" + - "pi/field_behavior.proto\032\031google/api/reso" + - "urce.proto\032\030google/api/routing.proto\032\035go" + - "ogle/bigtable/v2/data.proto\032&google/bigt" + - "able/v2/request_stats.proto\032\036google/prot" + - "obuf/duration.proto\032\037google/protobuf/tim" + - "estamp.proto\032\036google/protobuf/wrappers.p" + - "roto\032\027google/rpc/status.proto\"\243\003\n\017ReadRo" + - "wsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"" + - "bigtableadmin.googleapis.com/Table\022\026\n\016ap" + - "p_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.googl" + - "e.bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.g" + - "oogle.bigtable.v2.RowFilter\022\022\n\nrows_limi" + - "t\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.go" + - "ogle.bigtable.v2.ReadRowsRequest.Request" + - "StatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSt" + - "atsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIE" + - "D\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_S" + - "TATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chun" + - "ks\030\001 \003(\0132..google.bigtable.v2.ReadRowsRe" + - "sponse.CellChunk\022\034\n\024last_scanned_row_key" + - "\030\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.b" + - "igtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n" + - "\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.go" + - "ogle.protobuf.StringValue\022.\n\tqualifier\030\003" + - " \001(\0132\033.google.protobuf.BytesValue\022\030\n\020tim" + - "estamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005v" + - "alue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_" + - "row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow" + - "_status\"o\n\024SampleRowKeysRequest\022?\n\ntable" + - "_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goog" + - "leapis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t" + - "\">\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001" + - "(\014\022\024\n\014offset_bytes\030\002 \001(\003\"\271\001\n\020MutateRowRe" + - "quest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigt" + - "ableadmin.googleapis.com/Table\022\026\n\016app_pr" + - "ofile_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\0225\n" + - "\tmutations\030\003 \003(\0132\034.google.bigtable.v2.Mu" + - "tationB\004\342A\001\002\"\023\n\021MutateRowResponse\"\201\002\n\021Mu" + - "tateRowsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + - "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + - "\022\026\n\016app_profile_id\030\003 \001(\t\022B\n\007entries\030\002 \003(" + - "\0132+.google.bigtable.v2.MutateRowsRequest" + - ".EntryB\004\342A\001\002\032O\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0225" + - "\n\tmutations\030\002 \003(\0132\034.google.bigtable.v2.M" + - "utationB\004\342A\001\002\"\344\001\n\022MutateRowsResponse\022=\n\007" + - "entries\030\001 \003(\0132,.google.bigtable.v2.Mutat" + - "eRowsResponse.Entry\022?\n\017rate_limit_info\030\003" + - " \001(\0132!.google.bigtable.v2.RateLimitInfoH" + - "\000\210\001\001\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002" + - " \001(\0132\022.google.rpc.StatusB\022\n\020_rate_limit_" + - "info\"J\n\rRateLimitInfo\022)\n\006period\030\001 \001(\0132\031." + - "google.protobuf.Duration\022\016\n\006factor\030\002 \001(\001" + - "\"\260\002\n\030CheckAndMutateRowRequest\022?\n\ntable_n" + - "ame\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.google" + - "apis.com/Table\022\026\n\016app_profile_id\030\007 \001(\t\022\025" + - "\n\007row_key\030\002 \001(\014B\004\342A\001\002\0227\n\020predicate_filte" + - "r\030\006 \001(\0132\035.google.bigtable.v2.RowFilter\0224" + - "\n\016true_mutations\030\004 \003(\0132\034.google.bigtable" + - ".v2.Mutation\0225\n\017false_mutations\030\005 \003(\0132\034." + - "google.bigtable.v2.Mutation\"6\n\031CheckAndM" + - "utateRowResponse\022\031\n\021predicate_matched\030\001 " + - "\001(\010\"j\n\022PingAndWarmRequest\022<\n\004name\030\001 \001(\tB" + - ".\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/I" + - "nstance\022\026\n\016app_profile_id\030\002 \001(\t\"\025\n\023PingA" + - "ndWarmResponse\"\311\001\n\031ReadModifyWriteRowReq" + - "uest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigta" + - "bleadmin.googleapis.com/Table\022\026\n\016app_pro" + - "file_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\022<\n\005" + - "rules\030\003 \003(\0132\'.google.bigtable.v2.ReadMod" + - "ifyWriteRuleB\004\342A\001\002\"B\n\032ReadModifyWriteRow" + - "Response\022$\n\003row\030\001 \001(\0132\027.google.bigtable." + - "v2.Row\"\207\001\n,GenerateInitialChangeStreamPa" + - "rtitionsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + - "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + - "\022\026\n\016app_profile_id\030\002 \001(\t\"g\n-GenerateInit" + - "ialChangeStreamPartitionsResponse\0226\n\tpar" + - "tition\030\001 \001(\0132#.google.bigtable.v2.Stream" + - "Partition\"\234\003\n\027ReadChangeStreamRequest\022?\n" + - "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" + - "n.googleapis.com/Table\022\026\n\016app_profile_id" + - "\030\002 \001(\t\0226\n\tpartition\030\003 \001(\0132#.google.bigta" + - "ble.v2.StreamPartition\0220\n\nstart_time\030\004 \001" + - "(\0132\032.google.protobuf.TimestampH\000\022K\n\023cont" + - "inuation_tokens\030\006 \001(\0132,.google.bigtable." + - "v2.StreamContinuationTokensH\000\022,\n\010end_tim" + - "e\030\005 \001(\0132\032.google.protobuf.Timestamp\0225\n\022h" + - "eartbeat_duration\030\007 \001(\0132\031.google.protobu" + - "f.DurationB\014\n\nstart_from\"\251\n\n\030ReadChangeS" + - "treamResponse\022N\n\013data_change\030\001 \001(\01327.goo" + - "gle.bigtable.v2.ReadChangeStreamResponse" + - ".DataChangeH\000\022K\n\theartbeat\030\002 \001(\01326.googl" + - "e.bigtable.v2.ReadChangeStreamResponse.H" + - "eartbeatH\000\022P\n\014close_stream\030\003 \001(\01328.googl" + - "e.bigtable.v2.ReadChangeStreamResponse.C" + - "loseStreamH\000\032\364\001\n\rMutationChunk\022X\n\nchunk_" + - "info\030\001 \001(\0132D.google.bigtable.v2.ReadChan" + - "geStreamResponse.MutationChunk.ChunkInfo" + - "\022.\n\010mutation\030\002 \001(\0132\034.google.bigtable.v2." + - "Mutation\032Y\n\tChunkInfo\022\032\n\022chunked_value_s" + - "ize\030\001 \001(\005\022\034\n\024chunked_value_offset\030\002 \001(\005\022" + - "\022\n\nlast_chunk\030\003 \001(\010\032\306\003\n\nDataChange\022J\n\004ty" + - "pe\030\001 \001(\0162<.google.bigtable.v2.ReadChange" + - "StreamResponse.DataChange.Type\022\031\n\021source" + - "_cluster_id\030\002 \001(\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020co" + - "mmit_timestamp\030\004 \001(\0132\032.google.protobuf.T" + - "imestamp\022\022\n\ntiebreaker\030\005 \001(\005\022J\n\006chunks\030\006" + - " \003(\0132:.google.bigtable.v2.ReadChangeStre" + - "amResponse.MutationChunk\022\014\n\004done\030\010 \001(\010\022\r" + - "\n\005token\030\t \001(\t\022;\n\027estimated_low_watermark" + - "\030\n \001(\0132\032.google.protobuf.Timestamp\"P\n\004Ty" + - "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GA" + - "RBAGE_COLLECTION\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n" + - "\tHeartbeat\022G\n\022continuation_token\030\001 \001(\0132+" + - ".google.bigtable.v2.StreamContinuationTo" + - "ken\022;\n\027estimated_low_watermark\030\002 \001(\0132\032.g" + - "oogle.protobuf.Timestamp\032\270\001\n\013CloseStream" + - "\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Status\022H\n\023" + - "continuation_tokens\030\002 \003(\0132+.google.bigta" + - "ble.v2.StreamContinuationToken\022;\n\016new_pa" + - "rtitions\030\003 \003(\0132#.google.bigtable.v2.Stre" + - "amPartitionB\017\n\rstream_record2\327\030\n\010Bigtabl" + - "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + - "RowsRequest\032$.google.bigtable.v2.ReadRow" + - "sResponse\"\301\001\332A\ntable_name\332A\031table_name,a" + - "pp_profile_id\202\323\344\223\002>\"9/v2/{table_name=pro" + - "jects/*/instances/*/tables/*}:readRows:\001" + - "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + - "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + - "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + - "ble.v2.SampleRowKeysRequest\032).google.big" + - "table.v2.SampleRowKeysResponse\"\303\001\332A\ntabl" + - "e_name\332A\031table_name,app_profile_id\202\323\344\223\002@" + - "\022>/v2/{table_name=projects/*/instances/*" + - "/tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_" + - "name\022,{table_name=projects/*/instances/*" + - "/tables/*}\022\020\n\016app_profile_id0\001\022\301\002\n\tMutat" + - "eRow\022$.google.bigtable.v2.MutateRowReque" + - "st\032%.google.bigtable.v2.MutateRowRespons" + - "e\"\346\001\332A\034table_name,row_key,mutations\332A+ta" + - "ble_name,row_key,mutations,app_profile_i" + - "d\202\323\344\223\002?\":/v2/{table_name=projects/*/inst" + - "ances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\n" + - "table_name\022,{table_name=projects/*/insta" + - "nces/*/tables/*}\022\020\n\016app_profile_id\022\263\002\n\nM" + - "utateRows\022%.google.bigtable.v2.MutateRow" + - "sRequest\032&.google.bigtable.v2.MutateRows" + - "Response\"\323\001\332A\022table_name,entries\332A!table" + - "_name,entries,app_profile_id\202\323\344\223\002@\";/v2/" + - "{table_name=projects/*/instances/*/table" + - "s/*}:mutateRows:\001*\212\323\344\223\002N\022:\n\ntable_name\022," + - "{table_name=projects/*/instances/*/table" + - "s/*}\022\020\n\016app_profile_id0\001\022\255\003\n\021CheckAndMut" + - "ateRow\022,.google.bigtable.v2.CheckAndMuta" + - "teRowRequest\032-.google.bigtable.v2.CheckA" + - "ndMutateRowResponse\"\272\002\332ABtable_name,row_" + - "key,predicate_filter,true_mutations,fals" + - "e_mutations\332AQtable_name,row_key,predica" + - "te_filter,true_mutations,false_mutations" + - ",app_profile_id\202\323\344\223\002G\"B/v2/{table_name=p" + - "rojects/*/instances/*/tables/*}:checkAnd" + - "MutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table" + - "_name=projects/*/instances/*/tables/*}\022\020" + - "\n\016app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + - "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + - "e.bigtable.v2.PingAndWarmResponse\"\215\001\332A\004n" + - "ame\332A\023name,app_profile_id\202\323\344\223\002+\"&/v2/{na" + - "me=projects/*/instances/*}:ping:\001*\212\323\344\223\0029" + - "\022%\n\004name\022\035{name=projects/*/instances/*}\022" + - "\020\n\016app_profile_id\022\335\002\n\022ReadModifyWriteRow" + - "\022-.google.bigtable.v2.ReadModifyWriteRow" + - "Request\032..google.bigtable.v2.ReadModifyW" + - "riteRowResponse\"\347\001\332A\030table_name,row_key," + - "rules\332A\'table_name,row_key,rules,app_pro" + - "file_id\202\323\344\223\002H\"C/v2/{table_name=projects/" + - "*/instances/*/tables/*}:readModifyWriteR" + - "ow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=p" + - "rojects/*/instances/*/tables/*}\022\020\n\016app_p" + - "rofile_id\022\273\002\n%GenerateInitialChangeStrea" + - "mPartitions\022@.google.bigtable.v2.Generat" + - "eInitialChangeStreamPartitionsRequest\032A." + - "google.bigtable.v2.GenerateInitialChange" + - "StreamPartitionsResponse\"\212\001\332A\ntable_name" + - "\332A\031table_name,app_profile_id\202\323\344\223\002[\"V/v2/" + - "{table_name=projects/*/instances/*/table" + - "s/*}:generateInitialChangeStreamPartitio" + - "ns:\001*0\001\022\346\001\n\020ReadChangeStream\022+.google.bi" + - "gtable.v2.ReadChangeStreamRequest\032,.goog" + - "le.bigtable.v2.ReadChangeStreamResponse\"" + - "u\332A\ntable_name\332A\031table_name,app_profile_" + - "id\202\323\344\223\002F\"A/v2/{table_name=projects/*/ins" + - "tances/*/tables/*}:readChangeStream:\001*0\001" + - "\032\333\002\312A\027bigtable.googleapis.com\322A\275\002https:/" + - "/www.googleapis.com/auth/bigtable.data,h" + - "ttps://www.googleapis.com/auth/bigtable." + - "data.readonly,https://www.googleapis.com" + - "/auth/cloud-bigtable.data,https://www.go" + - "ogleapis.com/auth/cloud-bigtable.data.re" + - "adonly,https://www.googleapis.com/auth/c" + - "loud-platform,https://www.googleapis.com" + - "/auth/cloud-platform.read-onlyB\353\002\n\026com.g" + - "oogle.bigtable.v2B\rBigtableProtoP\001Z:goog" + - "le.golang.org/genproto/googleapis/bigtab" + - "le/v2;bigtable\252\002\030Google.Cloud.Bigtable.V" + - "2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::C" + - "loud::Bigtable::V2\352AP\n%bigtableadmin.goo" + - "gleapis.com/Instance\022\'projects/{project}" + - "/instances/{instance}\352A\\\n\"bigtableadmin." + - "googleapis.com/Table\0226projects/{project}" + - "/instances/{instance}/tables/{table}b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.api.RoutingProto.getDescriptor(), - com.google.bigtable.v2.DataProto.getDescriptor(), - com.google.bigtable.v2.RequestStatsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", "Rows", "Filter", "RowsLimit", "RequestStatsView", "Reversed", }); - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, - new java.lang.String[] { "Chunks", "LastScannedRowKey", "RequestStats", }); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, - new java.lang.String[] { "RowKey", "FamilyName", "Qualifier", "TimestampMicros", "Labels", "Value", "ValueSize", "ResetRow", "CommitRow", "RowStatus", }); - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", }); - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, - new java.lang.String[] { "RowKey", "OffsetBytes", }); - internal_static_google_bigtable_v2_MutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Mutations", }); - internal_static_google_bigtable_v2_MutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", "Entries", }); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, - new java.lang.String[] { "RowKey", "Mutations", }); - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, - new java.lang.String[] { "Entries", "RateLimitInfo", "RateLimitInfo", }); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, - new java.lang.String[] { "Index", "Status", }); - internal_static_google_bigtable_v2_RateLimitInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RateLimitInfo_descriptor, - new java.lang.String[] { "Period", "Factor", }); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "PredicateFilter", "TrueMutations", "FalseMutations", }); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, - new java.lang.String[] { "PredicateMatched", }); - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, - new java.lang.String[] { "Name", "AppProfileId", }); - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Rules", }); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, - new java.lang.String[] { "Row", }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, - new java.lang.String[] { "Partition", }); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, - new java.lang.String[] { "TableName", "AppProfileId", "Partition", "StartTime", "ContinuationTokens", "EndTime", "HeartbeatDuration", "StartFrom", }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, - new java.lang.String[] { "DataChange", "Heartbeat", "CloseStream", "StreamRecord", }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, - new java.lang.String[] { "ChunkInfo", "Mutation", }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, - new java.lang.String[] { "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, - new java.lang.String[] { "Type", "SourceClusterId", "RowKey", "CommitTimestamp", "Tiebreaker", "Chunks", "Done", "Token", "EstimatedLowWatermark", }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, - new java.lang.String[] { "ContinuationToken", "EstimatedLowWatermark", }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(3); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, - new java.lang.String[] { "Status", "ContinuationTokens", "NewPartitions", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.api.RoutingProto.routing); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.RoutingProto.getDescriptor(); - com.google.bigtable.v2.DataProto.getDescriptor(); - com.google.bigtable.v2.RequestStatsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 f28469a17a..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ /dev/null @@ -1,358 +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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamPartition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n\035google/bigtable/v2/data.proto\022\022google." + - "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" + - "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" + - "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" + - ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" + - "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." + - "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" + - "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" + - "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" + - "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" + - "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" + - "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" + - "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." + - "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" + - "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" + - "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" + - "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" + - "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" + - "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" + - "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" + - "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" + - "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" + - "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" + - "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" + - "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" + - "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" + - "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" + - "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" + - "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" + - "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" + - "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" + - "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" + - "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" + - "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" + - "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" + - "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" + - "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" + - "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" + - "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" + - "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" + - "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" + - "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" + - "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" + - "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" + - "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" + - "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" + - ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" + - "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" + - "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" + - "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" + - " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" + - "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" + - "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" + - "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." + - "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." + - "google.bigtable.v2.Mutation.DeleteFromCo" + - "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" + - "gle.bigtable.v2.Mutation.DeleteFromFamil" + - "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" + - "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" + - "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" + - "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" + - "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" + - "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" + - "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" + - "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" + - "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" + - "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" + - "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" + - "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" + - "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" + - "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" + - "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" + - "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" + - "tinuationToken\"`\n\027StreamContinuationToke" + - "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" + - "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" + - ".google.bigtable.v2B\tDataProtoP\001Z:google" + - ".golang.org/genproto/googleapis/bigtable" + - "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" + - "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" + - "ud::Bigtable::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_bigtable_v2_Row_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_Row_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Row_descriptor, - new java.lang.String[] { "Key", "Families", }); - internal_static_google_bigtable_v2_Family_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_Family_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Family_descriptor, - new java.lang.String[] { "Name", "Columns", }); - internal_static_google_bigtable_v2_Column_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_Column_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Column_descriptor, - new java.lang.String[] { "Qualifier", "Cells", }); - internal_static_google_bigtable_v2_Cell_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_Cell_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Cell_descriptor, - new java.lang.String[] { "TimestampMicros", "Value", "Labels", }); - internal_static_google_bigtable_v2_RowRange_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowRange_descriptor, - new java.lang.String[] { "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", }); - internal_static_google_bigtable_v2_RowSet_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowSet_descriptor, - new java.lang.String[] { "RowKeys", "RowRanges", }); - internal_static_google_bigtable_v2_ColumnRange_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ColumnRange_descriptor, - new java.lang.String[] { "FamilyName", "StartQualifierClosed", "StartQualifierOpen", "EndQualifierClosed", "EndQualifierOpen", "StartQualifier", "EndQualifier", }); - internal_static_google_bigtable_v2_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_TimestampRange_descriptor, - new java.lang.String[] { "StartTimestampMicros", "EndTimestampMicros", }); - internal_static_google_bigtable_v2_ValueRange_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ValueRange_descriptor, - new java.lang.String[] { "StartValueClosed", "StartValueOpen", "EndValueClosed", "EndValueOpen", "StartValue", "EndValue", }); - internal_static_google_bigtable_v2_RowFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_descriptor, - new java.lang.String[] { "Chain", "Interleave", "Condition", "Sink", "PassAllFilter", "BlockAllFilter", "RowKeyRegexFilter", "RowSampleFilter", "FamilyNameRegexFilter", "ColumnQualifierRegexFilter", "ColumnRangeFilter", "TimestampRangeFilter", "ValueRegexFilter", "ValueRangeFilter", "CellsPerRowOffsetFilter", "CellsPerRowLimitFilter", "CellsPerColumnLimitFilter", "StripValueTransformer", "ApplyLabelTransformer", "Filter", }); - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, - new java.lang.String[] { "Filters", }); - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, - new java.lang.String[] { "Filters", }); - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, - new java.lang.String[] { "PredicateFilter", "TrueFilter", "FalseFilter", }); - internal_static_google_bigtable_v2_Mutation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_descriptor, - new java.lang.String[] { "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", }); - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, - new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", }); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, - new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimeRange", }); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, - new java.lang.String[] { "FamilyName", }); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, - new java.lang.String[] { }); - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, - new java.lang.String[] { "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", }); - internal_static_google_bigtable_v2_StreamPartition_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamPartition_descriptor, - new java.lang.String[] { "RowRange", }); - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, - new java.lang.String[] { "Tokens", }); - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, - new java.lang.String[] { "Partition", "Token", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java deleted file mode 100644 index eef2c4fac1..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java +++ /dev/null @@ -1,54 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/feature_flags.proto - -package com.google.bigtable.v2; - -public final class FeatureFlagsProto { - private FeatureFlagsProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_FeatureFlags_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/feature_flags.proto" + - "\022\022google.bigtable.v2\"E\n\014FeatureFlags\022\025\n\r" + - "reverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate_" + - "limit\030\003 \001(\010B\275\001\n\026com.google.bigtable.v2B\021" + - "FeatureFlagsProtoP\001Z:google.golang.org/g" + - "enproto/googleapis/bigtable/v2;bigtable\252" + - "\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Clou" + - "d\\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_FeatureFlags_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FeatureFlags_descriptor, - new java.lang.String[] { "ReverseScans", "MutateRowsRateLimit", }); - } - - // @@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 fc0c2b9ef7..10e44f3f9e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,74 +46,88 @@ private AppProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppProfile();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
+            com.google.bigtable.admin.v2.AppProfile.class,
+            com.google.bigtable.admin.v2.AppProfile.Builder.class);
   }
 
-  public interface MultiClusterRoutingUseAnyOrBuilder extends
+  public interface MultiClusterRoutingUseAnyOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @return A list containing the clusterIds. */ - java.util.List - getClusterIdsList(); + java.util.List getClusterIdsList(); /** + * + * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @return The count of clusterIds. */ int getClusterIdsCount(); /** + * + * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @param index The index of the element to return. * @return The clusterIds at the given index. */ java.lang.String getClusterIds(int index); /** + * + * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - com.google.protobuf.ByteString - getClusterIdsBytes(int index); + com.google.protobuf.ByteString getClusterIdsBytes(int index); } /** + * + * *
    * Read/write requests are routed to the nearest cluster in the instance, and
    * will fail over to the nearest cluster that is available in the event of
@@ -106,76 +138,86 @@ 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.emptyList();
+      clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MultiClusterRoutingUseAny();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto
+          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto
+          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
+              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
     }
 
     public static final int CLUSTER_IDS_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList clusterIds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
+     *
+     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList - getClusterIdsList() { + public com.google.protobuf.ProtocolStringList getClusterIdsList() { return clusterIds_; } /** + * + * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** + * + * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; + * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -183,21 +225,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; @@ -209,8 +254,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)); } @@ -239,15 +283,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; } @@ -269,89 +313,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 @@ -361,6 +411,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
@@ -371,51 +423,53 @@ 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();
         bitField0_ = 0;
-        clusterIds_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto
+            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() {
-        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance();
+      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
+          getDefaultInstanceForType() {
+        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -429,13 +483,17 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny build()
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result =
+            new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
+      private void buildPartial0(
+          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           clusterIds_.makeImmutable();
@@ -447,46 +505,53 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.MultiClusterR
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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_;
@@ -523,18 +588,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) {
@@ -544,10 +611,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList clusterIds_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
+
       private void ensureClusterIdsIsMutable() {
         if (!clusterIds_.isModifiable()) {
           clusterIds_ = new com.google.protobuf.LazyStringArrayList(clusterIds_);
@@ -555,38 +624,46 @@ private void ensureClusterIdsIsMutable() {
         bitField0_ |= 0x00000001;
       }
       /**
+       *
+       *
        * 
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList - getClusterIdsList() { + public com.google.protobuf.ProtocolStringList getClusterIdsList() { clusterIds_.makeImmutable(); return clusterIds_; } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -594,33 +671,39 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString - getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @param index The index to set the value at. * @param value The clusterIds to set. * @return This builder for chaining. */ - public Builder setClusterIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureClusterIdsIsMutable(); clusterIds_.set(index, value); bitField0_ |= 0x00000001; @@ -628,18 +711,22 @@ public Builder setClusterIds( return this; } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @param value The clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addClusterIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureClusterIdsIsMutable(); clusterIds_.add(value); bitField0_ |= 0x00000001; @@ -647,53 +734,61 @@ public Builder addClusterIds( return this; } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @param values The clusterIds to add. * @return This builder for chaining. */ - public Builder addAllClusterIds( - java.lang.Iterable values) { + public Builder addAllClusterIds(java.lang.Iterable values) { ensureClusterIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusterIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @return This builder for chaining. */ public Builder clearClusterIds() { - clusterIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; + * * @param value The bytes of the clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureClusterIdsIsMutable(); clusterIds_.add(value); @@ -701,6 +796,7 @@ public Builder addClusterIdsBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -713,41 +809,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 +858,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 +904,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,48 +920,54 @@ 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();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto
+          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto
+          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
+              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
     }
 
     public static final int CLUSTER_ID_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object clusterId_ = "";
     /**
+     *
+     *
      * 
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; + * * @return The clusterId. */ @java.lang.Override @@ -860,29 +976,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 { @@ -893,6 +1009,8 @@ public java.lang.String getClusterId() { public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER = 2; private boolean allowTransactionalWrites_ = false; /** + * + * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -900,6 +1018,7 @@ public java.lang.String getClusterId() {
      * 
* * bool allow_transactional_writes = 2; + * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -908,6 +1027,7 @@ public boolean getAllowTransactionalWrites() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -919,8 +1039,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_); } @@ -940,8 +1059,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; @@ -951,17 +1069,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; } @@ -976,97 +1093,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 @@ -1076,6 +1197,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
@@ -1084,33 +1207,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();
@@ -1121,13 +1244,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();
       }
 
@@ -1142,13 +1266,17 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result =
+            new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
+      private void buildPartial0(
+          com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.clusterId_ = clusterId_;
@@ -1162,38 +1290,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.SingleCluster
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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;
@@ -1201,7 +1332,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_;
           bitField0_ |= 0x00000001;
@@ -1236,22 +1369,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 16: {
-                allowTransactionalWrites_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  clusterId_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 16:
+                {
+                  allowTransactionalWrites_ = input.readBool();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1261,22 +1397,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object clusterId_ = "";
       /**
+       *
+       *
        * 
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1285,20 +1424,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 { @@ -1306,28 +1446,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1337,17 +1484,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000001; @@ -1355,8 +1506,10 @@ public Builder setClusterIdBytes( 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
@@ -1364,6 +1517,7 @@ public Builder setClusterIdBytes(
        * 
* * bool allow_transactional_writes = 2; + * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1371,6 +1525,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
@@ -1378,6 +1534,7 @@ public boolean getAllowTransactionalWrites() {
        * 
* * bool allow_transactional_writes = 2; + * * @param value The allowTransactionalWrites to set. * @return This builder for chaining. */ @@ -1389,6 +1546,8 @@ public Builder setAllowTransactionalWrites(boolean value) { return this; } /** + * + * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1396,6 +1555,7 @@ public Builder setAllowTransactionalWrites(boolean value) {
        * 
* * bool allow_transactional_writes = 2; + * * @return This builder for chaining. */ public Builder clearAllowTransactionalWrites() { @@ -1404,6 +1564,7 @@ public Builder clearAllowTransactionalWrites() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1416,41 +1577,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; @@ -1462,22 +1626,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int routingPolicyCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object routingPolicy_; + public enum RoutingPolicyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MULTI_CLUSTER_ROUTING_USE_ANY(5), SINGLE_CLUSTER_ROUTING(6), ROUTINGPOLICY_NOT_SET(0); private final int value; + private RoutingPolicyCase(int value) { this.value = value; } @@ -1493,33 +1661,40 @@ public static RoutingPolicyCase valueOf(int value) { public static RoutingPolicyCase forNumber(int value) { switch (value) { - case 5: return MULTI_CLUSTER_ROUTING_USE_ANY; - case 6: return SINGLE_CLUSTER_ROUTING; - case 0: return ROUTINGPOLICY_NOT_SET; - default: return null; + case 5: + return MULTI_CLUSTER_ROUTING_USE_ANY; + case 6: + return SINGLE_CLUSTER_ROUTING; + case 0: + return ROUTINGPOLICY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RoutingPolicyCase - getRoutingPolicyCase() { - return RoutingPolicyCase.forNumber( - routingPolicyCase_); + public RoutingPolicyCase getRoutingPolicyCase() { + return RoutingPolicyCase.forNumber(routingPolicyCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1528,30 +1703,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 { @@ -1560,9 +1735,12 @@ public java.lang.String getName() { } public static final int ETAG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1575,6 +1753,7 @@ public java.lang.String getName() {
    * 
* * string etag = 2; + * * @return The etag. */ @java.lang.Override @@ -1583,14 +1762,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
@@ -1603,16 +1783,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 { @@ -1621,14 +1800,18 @@ public java.lang.String getEtag() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1637,29 +1820,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 { @@ -1669,11 +1852,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 @@ -1681,42 +1869,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 @@ -1724,36 +1927,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; @@ -1765,8 +1977,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_); } @@ -1777,10 +1988,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); } @@ -1801,12 +2014,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; @@ -1816,28 +2032,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: @@ -1876,99 +2088,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.
@@ -1976,33 +2193,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();
@@ -2022,9 +2238,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
@@ -2043,8 +2259,11 @@ public com.google.bigtable.admin.v2.AppProfile build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.AppProfile buildPartial() {
-      com.google.bigtable.admin.v2.AppProfile result = new com.google.bigtable.admin.v2.AppProfile(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.AppProfile result =
+          new com.google.bigtable.admin.v2.AppProfile(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2066,12 +2285,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile result) {
     private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result) {
       result.routingPolicyCase_ = routingPolicyCase_;
       result.routingPolicy_ = this.routingPolicy_;
-      if (routingPolicyCase_ == 5 &&
-          multiClusterRoutingUseAnyBuilder_ != null) {
+      if (routingPolicyCase_ == 5 && multiClusterRoutingUseAnyBuilder_ != null) {
         result.routingPolicy_ = multiClusterRoutingUseAnyBuilder_.build();
       }
-      if (routingPolicyCase_ == 6 &&
-          singleClusterRoutingBuilder_ != null) {
+      if (routingPolicyCase_ == 6 && singleClusterRoutingBuilder_ != null) {
         result.routingPolicy_ = singleClusterRoutingBuilder_.build();
       }
     }
@@ -2080,38 +2297,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.AppProfile) {
-        return mergeFrom((com.google.bigtable.admin.v2.AppProfile)other);
+        return mergeFrom((com.google.bigtable.admin.v2.AppProfile) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2136,17 +2354,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();
@@ -2174,41 +2395,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 42: {
-              input.readMessage(
-                  getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              routingPolicyCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getSingleClusterRoutingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              routingPolicyCase_ = 6;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 42:
+              {
+                input.readMessage(
+                    getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(), extensionRegistry);
+                routingPolicyCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getSingleClusterRoutingFieldBuilder().getBuilder(), extensionRegistry);
+                routingPolicyCase_ = 6;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2218,12 +2443,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() {
@@ -2237,19 +2462,21 @@ public Builder clearRoutingPolicy() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2258,21 +2485,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 { @@ -2280,30 +2508,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2313,18 +2548,22 @@ public Builder clearName() { return this; } /** + * + * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2334,6 +2573,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
@@ -2346,13 +2587,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; @@ -2361,6 +2602,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2373,15 +2616,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 { @@ -2389,6 +2631,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2401,18 +2645,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2425,6 +2673,7 @@ public Builder setEtag(
      * 
* * string etag = 2; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2434,6 +2683,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2446,12 +2697,14 @@ public Builder clearEtag() {
      * 
* * string etag = 2; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; @@ -2461,18 +2714,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; @@ -2481,20 +2736,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 { @@ -2502,28 +2758,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2533,17 +2796,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2552,13 +2819,21 @@ public Builder setDescriptionBytes( } 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 @@ -2566,35 +2841,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(); @@ -2608,11 +2896,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) { @@ -2626,18 +2918,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; } @@ -2653,11 +2956,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) { @@ -2676,49 +2983,71 @@ 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()); @@ -2730,13 +3059,20 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilde } 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 @@ -2744,11 +3080,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 @@ -2766,13 +3106,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(); @@ -2786,11 +3130,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) { @@ -2804,18 +3151,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; } @@ -2831,11 +3187,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) { @@ -2854,24 +3213,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 { @@ -2882,21 +3249,30 @@ 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()); @@ -2906,9 +3282,9 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder get 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); } @@ -2918,12 +3294,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(); } @@ -2932,27 +3308,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; @@ -2967,6 +3343,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 3b4819e668..cca7ffaed4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); 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 3e6e619dab..6d3dd041fa 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Limits for the number of nodes a Cluster can autoscale up/down to.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ -public final class AutoscalingLimits extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AutoscalingLimits extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingLimits) AutoscalingLimitsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AutoscalingLimits.newBuilder() to construct. private AutoscalingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AutoscalingLimits() { - } + + private AutoscalingLimits() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AutoscalingLimits(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, + com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } public static final int MIN_SERVE_NODES_FIELD_NUMBER = 1; private int minServeNodes_ = 0; /** + * + * *
    * Required. Minimum number of nodes to scale down to.
    * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minServeNodes. */ @java.lang.Override @@ -60,11 +81,14 @@ public int getMinServeNodes() { public static final int MAX_SERVE_NODES_FIELD_NUMBER = 2; private int maxServeNodes_ = 0; /** + * + * *
    * Required. Maximum number of nodes to scale up to.
    * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxServeNodes. */ @java.lang.Override @@ -73,6 +97,7 @@ public int getMaxServeNodes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -84,8 +109,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_); } @@ -102,12 +126,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; @@ -117,17 +139,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; } @@ -148,132 +169,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(); @@ -284,9 +309,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 @@ -305,8 +330,11 @@ public com.google.bigtable.admin.v2.AutoscalingLimits build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits buildPartial() { - com.google.bigtable.admin.v2.AutoscalingLimits result = new com.google.bigtable.admin.v2.AutoscalingLimits(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.AutoscalingLimits result = + new com.google.bigtable.admin.v2.AutoscalingLimits(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -325,38 +353,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingLimits result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingLimits) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits)other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits) other); } else { super.mergeFrom(other); return this; @@ -397,22 +426,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - minServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - maxServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + minServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + maxServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,15 +454,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int minServeNodes_ ; + private int minServeNodes_; /** + * + * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The minServeNodes. */ @java.lang.Override @@ -438,11 +474,14 @@ 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. */ @@ -454,11 +493,14 @@ public Builder setMinServeNodes(int value) { return this; } /** + * + * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMinServeNodes() { @@ -468,13 +510,16 @@ public Builder clearMinServeNodes() { return this; } - private int maxServeNodes_ ; + private int maxServeNodes_; /** + * + * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The maxServeNodes. */ @java.lang.Override @@ -482,11 +527,14 @@ 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. */ @@ -498,11 +546,14 @@ public Builder setMaxServeNodes(int value) { return this; } /** + * + * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMaxServeNodes() { @@ -511,9 +562,9 @@ public Builder clearMaxServeNodes() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +574,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(); } @@ -537,27 +588,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; @@ -572,6 +623,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..70f4f03fca 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 b84b4c1b75..286b4bb42c 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,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/instance.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The Autoscaling targets for a Cluster. These determine the recommended nodes.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ -public final class AutoscalingTargets extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AutoscalingTargets extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingTargets) AutoscalingTargetsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AutoscalingTargets.newBuilder() to construct. private AutoscalingTargets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AutoscalingTargets() { - } + + private AutoscalingTargets() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AutoscalingTargets(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, + com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } public static final int CPU_UTILIZATION_PERCENT_FIELD_NUMBER = 2; private int cpuUtilizationPercent_ = 0; /** + * + * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -53,6 +73,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 cpu_utilization_percent = 2; + * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -63,6 +84,8 @@ public int getCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3; private int storageUtilizationGibPerNode_ = 0; /** + * + * *
    * The storage utilization that the Autoscaler should be trying to achieve.
    * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -73,6 +96,7 @@ public int getCpuUtilizationPercent() {
    * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -81,6 +105,7 @@ public int getStorageUtilizationGibPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +117,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_); } @@ -110,12 +134,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; @@ -125,17 +148,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; } @@ -156,132 +178,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(); @@ -292,9 +318,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 @@ -313,8 +339,11 @@ public com.google.bigtable.admin.v2.AutoscalingTargets build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets buildPartial() { - com.google.bigtable.admin.v2.AutoscalingTargets result = new com.google.bigtable.admin.v2.AutoscalingTargets(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.AutoscalingTargets result = + new com.google.bigtable.admin.v2.AutoscalingTargets(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -333,38 +362,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingTargets resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingTargets) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets)other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets) other); } else { super.mergeFrom(other); return this; @@ -372,7 +402,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()); } @@ -405,22 +436,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - cpuUtilizationPercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: { - storageUtilizationGibPerNode_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + cpuUtilizationPercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: + { + storageUtilizationGibPerNode_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -430,10 +464,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int cpuUtilizationPercent_ ; + private int cpuUtilizationPercent_; /** + * + * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -442,6 +479,7 @@ public Builder mergeFrom(
      * 
* * int32 cpu_utilization_percent = 2; + * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -449,6 +487,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
@@ -457,6 +497,7 @@ public int getCpuUtilizationPercent() {
      * 
* * int32 cpu_utilization_percent = 2; + * * @param value The cpuUtilizationPercent to set. * @return This builder for chaining. */ @@ -468,6 +509,8 @@ public Builder setCpuUtilizationPercent(int value) { return this; } /** + * + * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -476,6 +519,7 @@ public Builder setCpuUtilizationPercent(int value) {
      * 
* * int32 cpu_utilization_percent = 2; + * * @return This builder for chaining. */ public Builder clearCpuUtilizationPercent() { @@ -485,8 +529,10 @@ public Builder clearCpuUtilizationPercent() { return this; } - private int storageUtilizationGibPerNode_ ; + private int storageUtilizationGibPerNode_; /** + * + * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -497,6 +543,7 @@ public Builder clearCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -504,6 +551,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
@@ -514,6 +563,7 @@ public int getStorageUtilizationGibPerNode() {
      * 
* * int32 storage_utilization_gib_per_node = 3; + * * @param value The storageUtilizationGibPerNode to set. * @return This builder for chaining. */ @@ -525,6 +575,8 @@ public Builder setStorageUtilizationGibPerNode(int value) { return this; } /** + * + * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -535,6 +587,7 @@ public Builder setStorageUtilizationGibPerNode(int value) {
      * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return This builder for chaining. */ public Builder clearStorageUtilizationGibPerNode() { @@ -543,9 +596,9 @@ public Builder clearStorageUtilizationGibPerNode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -555,12 +608,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(); } @@ -569,27 +622,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; @@ -604,6 +657,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..ad3f6342ef 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 71% 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 eb28613990..b4b2a32eb4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +45,38 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, + com.google.bigtable.admin.v2.Backup.Builder.class); } /** + * + * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Backup.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified.
      * 
@@ -63,6 +85,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.
@@ -72,6 +96,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -83,6 +109,8 @@ public enum State ; /** + * + * *
      * Not specified.
      * 
@@ -91,6 +119,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.
@@ -100,6 +130,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -108,7 +140,6 @@ public enum State */ public static final int READY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -133,49 +164,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; @@ -193,9 +224,12 @@ private State(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -210,6 +244,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -218,14 +253,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
@@ -240,16 +276,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 { @@ -258,16 +293,22 @@ public java.lang.String getName() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** + * + * *
    * Required. Immutable. Name of the table from which this backup was created. This needs
    * to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return The sourceTable. */ @java.lang.Override @@ -276,31 +317,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 { @@ -311,6 +354,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
@@ -319,7 +364,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 @@ -327,6 +374,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
@@ -335,7 +384,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 @@ -343,6 +394,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
@@ -351,7 +404,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() { @@ -361,6 +415,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
@@ -368,7 +424,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 @@ -376,6 +434,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
@@ -383,7 +443,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 @@ -391,6 +453,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
@@ -398,7 +462,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() { @@ -408,12 +473,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 @@ -421,12 +490,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 @@ -434,12 +507,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() { @@ -449,11 +525,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 6; private long sizeBytes_ = 0L; /** + * + * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -464,37 +543,55 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + @java.lang.Override + public com.google.bigtable.admin.v2.Backup.State getState() { + com.google.bigtable.admin.v2.Backup.State result = + com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 9; private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -502,30 +599,44 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,8 +648,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_); } @@ -579,28 +689,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; @@ -610,39 +714,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; @@ -672,8 +769,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()) { @@ -685,132 +781,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(); @@ -843,9 +942,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 @@ -865,7 +964,9 @@ public com.google.bigtable.admin.v2.Backup build() { @java.lang.Override public com.google.bigtable.admin.v2.Backup buildPartial() { com.google.bigtable.admin.v2.Backup result = new com.google.bigtable.admin.v2.Backup(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -879,19 +980,13 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.sourceTable_ = sourceTable_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null - ? expireTime_ - : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -900,9 +995,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.state_ = state_; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.encryptionInfo_ = encryptionInfoBuilder_ == null - ? encryptionInfo_ - : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = + encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); } } @@ -910,38 +1004,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Backup) { - return mergeFrom((com.google.bigtable.admin.v2.Backup)other); + return mergeFrom((com.google.bigtable.admin.v2.Backup) other); } else { super.mergeFrom(other); return this; @@ -1004,60 +1099,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 48: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 74: { - input.readMessage( - getEncryptionInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 74: + { + input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + 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) { @@ -1067,10 +1163,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1085,13 +1184,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; @@ -1100,6 +1199,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1114,15 +1215,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 { @@ -1130,6 +1230,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1144,18 +1246,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1170,6 +1276,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1179,6 +1286,8 @@ public Builder clearName() { return this; } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1193,12 +1302,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1208,20 +1319,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; @@ -1230,22 +1345,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 { @@ -1253,32 +1371,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. Immutable. Name of the table from which this backup was created. This needs
      * to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1288,19 +1417,25 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * Required. Immutable. Name of the table from which this backup was created. This needs
      * to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -1310,8 +1445,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
@@ -1320,13 +1460,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1335,17 +1479,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
@@ -1354,7 +1504,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) { @@ -1370,6 +1521,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
@@ -1378,10 +1531,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setExpireTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1392,6 +1545,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
@@ -1400,13 +1555,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 (((bitField0_ & 0x00000004) != 0) && - expireTime_ != null && - expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && expireTime_ != null + && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1419,6 +1575,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
@@ -1427,7 +1585,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1440,6 +1599,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
@@ -1448,7 +1609,8 @@ public Builder clearExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000004; @@ -1456,6 +1618,8 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1464,17 +1628,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
@@ -1483,17 +1651,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_; @@ -1501,8 +1673,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
@@ -1510,13 +1687,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1524,7 +1705,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() { @@ -1535,6 +1718,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
@@ -1542,7 +1727,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) { @@ -1558,6 +1744,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
@@ -1565,10 +1753,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(); } else { @@ -1579,6 +1767,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1586,13 +1776,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 (((bitField0_ & 0x00000008) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1605,6 +1796,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
@@ -1612,7 +1805,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1625,6 +1819,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1632,7 +1828,8 @@ 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() { bitField0_ |= 0x00000008; @@ -1640,6 +1837,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1647,17 +1846,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
@@ -1665,17 +1866,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_; @@ -1683,26 +1888,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1713,12 +1929,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) { @@ -1734,15 +1953,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(); } else { @@ -1753,18 +1974,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 (((bitField0_ & 0x00000010) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1777,12 +2001,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1795,12 +2022,15 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000010; @@ -1808,50 +2038,61 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -1859,11 +2100,14 @@ 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. */ @@ -1875,11 +2119,14 @@ public Builder setSizeBytes(long value) { return this; } /** + * + * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -1891,22 +2138,33 @@ 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. */ @@ -1917,24 +2175,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + com.google.bigtable.admin.v2.Backup.State result = + com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -1948,11 +2217,16 @@ public Builder setState(com.google.bigtable.admin.v2.Backup.State value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -1964,39 +2238,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 ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2012,11 +2305,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) { @@ -2030,17 +2327,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -2053,11 +2355,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() { bitField0_ = (bitField0_ & ~0x00000080); @@ -2070,11 +2376,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000080; @@ -2082,43 +2392,55 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, + com.google.bigtable.admin.v2.EncryptionInfo.Builder, + com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, + com.google.bigtable.admin.v2.EncryptionInfo.Builder, + com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2128,12 +2450,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(); } @@ -2142,27 +2464,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; @@ -2177,6 +2499,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 70% 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 6fab618192..34971fa5ad 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,38 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, + com.google.bigtable.admin.v2.BackupInfo.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** + * + * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backup. */ @java.lang.Override @@ -61,29 +84,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 { @@ -94,12 +117,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 @@ -107,12 +134,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 @@ -120,12 +151,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() { @@ -135,12 +169,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 @@ -148,12 +186,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 @@ -161,12 +203,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() { @@ -174,14 +219,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** + * + * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sourceTable. */ @java.lang.Override @@ -190,29 +239,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 { @@ -221,6 +270,7 @@ public java.lang.String getSourceTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,8 +282,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_); } @@ -259,12 +308,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_); @@ -277,27 +324,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; } @@ -326,132 +369,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(); @@ -472,9 +519,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 @@ -493,8 +540,11 @@ public com.google.bigtable.admin.v2.BackupInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo buildPartial() { - com.google.bigtable.admin.v2.BackupInfo result = new com.google.bigtable.admin.v2.BackupInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.BackupInfo result = + new com.google.bigtable.admin.v2.BackupInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -505,14 +555,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { result.backup_ = backup_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceTable_ = sourceTable_; @@ -523,38 +569,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.BackupInfo) { - return mergeFrom((com.google.bigtable.admin.v2.BackupInfo)other); + return mergeFrom((com.google.bigtable.admin.v2.BackupInfo) other); } else { super.mergeFrom(other); return this; @@ -605,36 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + backup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,22 +692,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object backup_ = ""; /** + * + * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backup. */ public java.lang.String getBackup() { java.lang.Object ref = backup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; @@ -668,20 +719,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 { @@ -689,28 +741,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBackup() { @@ -720,17 +779,21 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backup_ = value; bitField0_ |= 0x00000001; @@ -740,26 +803,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -770,12 +844,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) { @@ -791,15 +868,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(); } else { @@ -810,18 +889,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 (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -834,12 +916,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -852,12 +937,15 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -865,38 +953,46 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -904,26 +1000,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -934,12 +1041,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) { @@ -955,15 +1065,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(); } else { @@ -974,18 +1086,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 (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -998,12 +1113,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1016,12 +1134,15 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1029,38 +1150,46 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1068,18 +1197,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; @@ -1088,20 +1219,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 { @@ -1109,28 +1241,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceTable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1140,26 +1279,30 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - 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 +1312,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 +1326,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 +1361,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..f74263d1c7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 3f79e8010b..b29a3f788b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -22,10 +40,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
@@ -40,36 +61,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
@@ -78,11 +110,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
@@ -91,11 +127,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
@@ -104,11 +144,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
@@ -116,11 +159,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
@@ -128,11 +175,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
@@ -140,93 +191,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..39edd95aac --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -0,0 +1,665 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public final class BigtableInstanceAdminProto { + private BigtableInstanceAdminProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/bigtable/admin/v2/bigtable_inst" + + "ance_admin.proto\022\030google.bigtable.admin." + + "v2\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032\'g" + + "oogle/bigtable/admin/v2/instance.proto\032\036" + + "google/iam/v1/iam_policy.proto\032\032google/i" + + "am/v1/policy.proto\032#google/longrunning/o" + + "perations.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\"\337\002\n\025Crea" + + "teInstanceRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372" + + "A-\n+cloudresourcemanager.googleapis.com/" + + "Project\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022:\n\010in" + + "stance\030\003 \001(\0132\".google.bigtable.admin.v2." + + "InstanceB\004\342A\001\002\022U\n\010clusters\030\004 \003(\0132=.googl" + + "e.bigtable.admin.v2.CreateInstanceReques" + + "t.ClustersEntryB\004\342A\001\002\032R\n\rClustersEntry\022\013" + + "\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigt" + + "able.admin.v2.Cluster:\0028\001\"R\n\022GetInstance" + + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" + + "admin.googleapis.com/Instance\"p\n\024ListIns" + + "tancesRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "cloudresourcemanager.googleapis.com/Proj" + + "ect\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\025ListInstance" + + "sResponse\0225\n\tinstances\030\001 \003(\0132\".google.bi" + + "gtable.admin.v2.Instance\022\030\n\020failed_locat" + + "ions\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\221\001\n\034" + + "PartialUpdateInstanceRequest\022:\n\010instance" + + "\030\001 \001(\0132\".google.bigtable.admin.v2.Instan" + + "ceB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"U\n\025DeleteInstanc" + + "eRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtabl" + + "eadmin.googleapis.com/Instance\"\252\001\n\024Creat" + + "eClusterRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" + + "\n%bigtableadmin.googleapis.com/Instance\022" + + "\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0228\n\007cluster\030\003 \001" + + "(\0132!.google.bigtable.admin.v2.ClusterB\004\342" + + "A\001\002\"P\n\021GetClusterRequest\022;\n\004name\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + + "uster\"i\n\023ListClustersRequest\022>\n\006parent\030\001" + + " \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis." + + "com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024List" + + "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" + + "gle.bigtable.admin.v2.Cluster\022\030\n\020failed_" + + "locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t" + + "\"S\n\024DeleteClusterRequest\022;\n\004name\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + + "uster\"\306\001\n\026CreateInstanceMetadata\022I\n\020orig" + + "inal_request\030\001 \001(\0132/.google.bigtable.adm" + + "in.v2.CreateInstanceRequest\0220\n\014request_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013finish_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020ori" + + "ginal_request\030\001 \001(\01326.google.bigtable.ad" + + "min.v2.PartialUpdateInstanceRequest\0220\n\014r" + + "equest_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022/\n\013finish_time\030\003 \001(\0132\032.google.prot" + + "obuf.Timestamp\"\373\004\n\025CreateClusterMetadata" + + "\022H\n\020original_request\030\001 \001(\0132..google.bigt" + + "able.admin.v2.CreateClusterRequest\0220\n\014re" + + "quest_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tamp\022/\n\013finish_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022K\n\006tables\030\004 \003(\0132;.google.b" + + "igtable.admin.v2.CreateClusterMetadata.T" + + "ablesEntry\032\371\001\n\rTableProgress\022\034\n\024estimate" + + "d_size_bytes\030\002 \001(\003\022\036\n\026estimated_copied_b" + + "ytes\030\003 \001(\003\022R\n\005state\030\004 \001(\0162C.google.bigta" + + "ble.admin.v2.CreateClusterMetadata.Table" + + "Progress.State\"V\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMP" + + "LETED\020\003\022\r\n\tCANCELLED\020\004\032l\n\013TablesEntry\022\013\n" + + "\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google.bigta" + + "ble.admin.v2.CreateClusterMetadata.Table" + + "Progress:\0028\001\"\267\001\n\025UpdateClusterMetadata\022;" + + "\n\020original_request\030\001 \001(\0132!.google.bigtab" + + "le.admin.v2.Cluster\0220\n\014request_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\322" + + "\001\n\034PartialUpdateClusterMetadata\0220\n\014reque" + + "st_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013finish_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022O\n\020original_request\030\003 \001(\01325.g" + + "oogle.bigtable.admin.v2.PartialUpdateClu" + + "sterRequest\"\216\001\n\033PartialUpdateClusterRequ" + + "est\0228\n\007cluster\030\001 \001(\0132!.google.bigtable.a" + + "dmin.v2.ClusterB\004\342A\001\002\0225\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\321\001\n" + + "\027CreateAppProfileRequest\022>\n\006parent\030\001 \001(\t" + + "B.\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/" + + "Instance\022\034\n\016app_profile_id\030\002 \001(\tB\004\342A\001\002\022?" + + "\n\013app_profile\030\003 \001(\0132$.google.bigtable.ad" + + "min.v2.AppProfileB\004\342A\001\002\022\027\n\017ignore_warnin" + + "gs\030\004 \001(\010\"V\n\024GetAppProfileRequest\022>\n\004name" + + "\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadmin.googleapi" + + "s.com/AppProfile\"\177\n\026ListAppProfilesReque" + + "st\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadm" + + "in.googleapis.com/Instance\022\021\n\tpage_size\030" + + "\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListAppPro" + + "filesResponse\022:\n\014app_profiles\030\001 \003(\0132$.go" + + "ogle.bigtable.admin.v2.AppProfile\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\022\030\n\020failed_locations\030\003" + + " \003(\t\"\252\001\n\027UpdateAppProfileRequest\022?\n\013app_" + + "profile\030\001 \001(\0132$.google.bigtable.admin.v2" + + ".AppProfileB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\002\022\027\n\017igno" + + "re_warnings\030\003 \001(\010\"x\n\027DeleteAppProfileReq" + + "uest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadm" + + "in.googleapis.com/AppProfile\022\035\n\017ignore_w" + + "arnings\030\002 \001(\010B\004\342A\001\002\"\032\n\030UpdateAppProfileM" + + "etadata\"\333\001\n\025ListHotTabletsRequest\022=\n\006par" + + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + + "apis.com/Cluster\022.\n\nstart_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022\021\n\tpage_s" + + "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"k\n\026ListHot" + + "TabletsResponse\0228\n\013hot_tablets\030\001 \003(\0132#.g" + + "oogle.bigtable.admin.v2.HotTablet\022\027\n\017nex" + + "t_page_token\030\002 \001(\t2\313!\n\025BigtableInstanceA" + + "dmin\022\332\001\n\016CreateInstance\022/.google.bigtabl" + + "e.admin.v2.CreateInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"x\312A\"\n\010Instance\022\026" + + "CreateInstanceMetadata\332A$parent,instance" + + "_id,instance,clusters\202\323\344\223\002&\"!/v2/{parent" + + "=projects/*}/instances:\001*\022\221\001\n\013GetInstanc" + + "e\022,.google.bigtable.admin.v2.GetInstance" + + "Request\032\".google.bigtable.admin.v2.Insta" + + "nce\"0\332A\004name\202\323\344\223\002#\022!/v2/{name=projects/*" + + "/instances/*}\022\244\001\n\rListInstances\022..google" + + ".bigtable.admin.v2.ListInstancesRequest\032" + + "/.google.bigtable.admin.v2.ListInstances" + + "Response\"2\332A\006parent\202\323\344\223\002#\022!/v2/{parent=p" + + "rojects/*}/instances\022\206\001\n\016UpdateInstance\022" + + "\".google.bigtable.admin.v2.Instance\032\".go" + + "ogle.bigtable.admin.v2.Instance\",\202\323\344\223\002&\032" + + "!/v2/{name=projects/*/instances/*}:\001*\022\350\001" + + "\n\025PartialUpdateInstance\0226.google.bigtabl" + + "e.admin.v2.PartialUpdateInstanceRequest\032" + + "\035.google.longrunning.Operation\"x\312A\"\n\010Ins" + + "tance\022\026UpdateInstanceMetadata\332A\024instance" + + ",update_mask\202\323\344\223\00262*/v2/{instance.name=p" + + "rojects/*/instances/*}:\010instance\022\213\001\n\016Del" + + "eteInstance\022/.google.bigtable.admin.v2.D" + + "eleteInstanceRequest\032\026.google.protobuf.E" + + "mpty\"0\332A\004name\202\323\344\223\002#*!/v2/{name=projects/" + + "*/instances/*}\022\334\001\n\rCreateCluster\022..googl" + + "e.bigtable.admin.v2.CreateClusterRequest" + + "\032\035.google.longrunning.Operation\"|\312A \n\007Cl" + + "uster\022\025CreateClusterMetadata\332A\031parent,cl" + + "uster_id,cluster\202\323\344\223\0027\",/v2/{parent=proj" + + "ects/*/instances/*}/clusters:\007cluster\022\231\001" + + "\n\nGetCluster\022+.google.bigtable.admin.v2." + + "GetClusterRequest\032!.google.bigtable.admi" + + "n.v2.Cluster\";\332A\004name\202\323\344\223\002.\022,/v2/{name=p" + + "rojects/*/instances/*/clusters/*}\022\254\001\n\014Li" + + "stClusters\022-.google.bigtable.admin.v2.Li" + + "stClustersRequest\032..google.bigtable.admi" + + "n.v2.ListClustersResponse\"=\332A\006parent\202\323\344\223" + + "\002.\022,/v2/{parent=projects/*/instances/*}/" + + "clusters\022\255\001\n\rUpdateCluster\022!.google.bigt" + + "able.admin.v2.Cluster\032\035.google.longrunni" + + "ng.Operation\"Z\312A \n\007Cluster\022\025UpdateCluste" + + "rMetadata\202\323\344\223\0021\032,/v2/{name=projects/*/in" + + "stances/*/clusters/*}:\001*\022\364\001\n\024PartialUpda" + + "teCluster\0225.google.bigtable.admin.v2.Par" + + "tialUpdateClusterRequest\032\035.google.longru" + + "nning.Operation\"\205\001\312A\'\n\007Cluster\022\034PartialU" + + "pdateClusterMetadata\332A\023cluster,update_ma" + + "sk\202\323\344\223\002?24/v2/{cluster.name=projects/*/i" + + "nstances/*/clusters/*}:\007cluster\022\224\001\n\rDele" + + "teCluster\022..google.bigtable.admin.v2.Del" + + "eteClusterRequest\032\026.google.protobuf.Empt" + + "y\";\332A\004name\202\323\344\223\002.*,/v2/{name=projects/*/i" + + "nstances/*/clusters/*}\022\325\001\n\020CreateAppProf" + + "ile\0221.google.bigtable.admin.v2.CreateApp" + + "ProfileRequest\032$.google.bigtable.admin.v" + + "2.AppProfile\"h\332A!parent,app_profile_id,a" + + "pp_profile\202\323\344\223\002>\"//v2/{parent=projects/*" + + "/instances/*}/appProfiles:\013app_profile\022\245" + + "\001\n\rGetAppProfile\022..google.bigtable.admin" + + ".v2.GetAppProfileRequest\032$.google.bigtab" + + "le.admin.v2.AppProfile\">\332A\004name\202\323\344\223\0021\022//" + + "v2/{name=projects/*/instances/*/appProfi" + + "les/*}\022\270\001\n\017ListAppProfiles\0220.google.bigt" + + "able.admin.v2.ListAppProfilesRequest\0321.g" + + "oogle.bigtable.admin.v2.ListAppProfilesR" + + "esponse\"@\332A\006parent\202\323\344\223\0021\022//v2/{parent=pr" + + "ojects/*/instances/*}/appProfiles\022\372\001\n\020Up" + + "dateAppProfile\0221.google.bigtable.admin.v" + + "2.UpdateAppProfileRequest\032\035.google.longr" + + "unning.Operation\"\223\001\312A&\n\nAppProfile\022\030Upda" + + "teAppProfileMetadata\332A\027app_profile,updat" + + "e_mask\202\323\344\223\002J2;/v2/{app_profile.name=proj" + + "ects/*/instances/*/appProfiles/*}:\013app_p" + + "rofile\022\235\001\n\020DeleteAppProfile\0221.google.big" + + "table.admin.v2.DeleteAppProfileRequest\032\026" + + ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" + + "v2/{name=projects/*/instances/*/appProfi" + + "les/*}\022\223\001\n\014GetIamPolicy\022\".google.iam.v1." + + "GetIamPolicyRequest\032\025.google.iam.v1.Poli" + + "cy\"H\332A\010resource\202\323\344\223\0027\"2/v2/{resource=pro" + + "jects/*/instances/*}:getIamPolicy:\001*\022\232\001\n" + + "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" + + "cyRequest\032\025.google.iam.v1.Policy\"O\332A\017res" + + "ource,policy\202\323\344\223\0027\"2/v2/{resource=projec" + + "ts/*/instances/*}:setIamPolicy:\001*\022\305\001\n\022Te" + + "stIamPermissions\022(.google.iam.v1.TestIam" + + "PermissionsRequest\032).google.iam.v1.TestI" + + "amPermissionsResponse\"Z\332A\024resource,permi" + + "ssions\202\323\344\223\002=\"8/v2/{resource=projects/*/i" + + "nstances/*}:testIamPermissions:\001*\022\277\001\n\016Li" + + "stHotTablets\022/.google.bigtable.admin.v2." + + "ListHotTabletsRequest\0320.google.bigtable." + + "admin.v2.ListHotTabletsResponse\"J\332A\006pare" + + "nt\202\323\344\223\002;\0229/v2/{parent=projects/*/instanc" + + "es/*/clusters/*}/hotTablets\032\232\003\312A\034bigtabl" + + "eadmin.googleapis.com\322A\367\002https://www.goo" + + "gleapis.com/auth/bigtable.admin,https://" + + "www.googleapis.com/auth/bigtable.admin.c" + + "luster,https://www.googleapis.com/auth/b" + + "igtable.admin.instance,https://www.googl" + + "eapis.com/auth/cloud-bigtable.admin,http" + + "s://www.googleapis.com/auth/cloud-bigtab" + + "le.admin.cluster,https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\342\001\n\034com.google.bigtable.admin.v2B\032Bigta" + + "bleInstanceAdminProtoP\001Z=google.golang.o" + + "rg/genproto/googleapis/bigtable/admin/v2" + + ";admin\252\002\036Google.Cloud.Bigtable.Admin.V2\312" + + "\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Googl" + + "e::Cloud::Bigtable::Admin::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.InstanceProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", "Clusters", + }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor + .getNestedTypes() + .get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", + }); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", "FailedLocations", "NextPageToken", + }); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, + new java.lang.String[] { + "Instance", "UpdateMask", + }); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "ClusterId", "Cluster", + }); + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageToken", + }); + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, + new java.lang.String[] { + "Clusters", "FailedLocations", "NextPageToken", + }); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, + new java.lang.String[] { + "OriginalRequest", "RequestTime", "FinishTime", + }); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { + "OriginalRequest", "RequestTime", "FinishTime", + }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, + new java.lang.String[] { + "OriginalRequest", "RequestTime", "FinishTime", "Tables", + }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, + new java.lang.String[] { + "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", + }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor + .getNestedTypes() + .get(1); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, + new java.lang.String[] { + "OriginalRequest", "RequestTime", "FinishTime", + }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, + new java.lang.String[] { + "RequestTime", "FinishTime", "OriginalRequest", + }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, + new java.lang.String[] { + "Cluster", "UpdateMask", + }); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, + new java.lang.String[] { + "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", + }); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, + new java.lang.String[] { + "AppProfiles", "NextPageToken", "FailedLocations", + }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, + new java.lang.String[] { + "AppProfile", "UpdateMask", "IgnoreWarnings", + }); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, + new java.lang.String[] { + "Name", "IgnoreWarnings", + }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, + new java.lang.String[] {}); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, + new java.lang.String[] { + "Parent", "StartTime", "EndTime", "PageSize", "PageToken", + }); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, + new java.lang.String[] { + "HotTablets", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java new file mode 100644 index 0000000000..27db557a0b --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -0,0 +1,781 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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\"\263\001\n\023RestoreTableRequest" + + "\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin" + + ".googleapis.com/Instance\022\026\n\010table_id\030\002 \001" + + "(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtablea" + + "dmin.googleapis.com/BackupH\000B\010\n\006source\"\230" + + "\002\n\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013source_type\030\002 \001(\0162+.google.bigtable.adm" + + "in.v2.RestoreSourceType\022;\n\013backup_info\030\003" + + " \001(\0132$.google.bigtable.admin.v2.BackupIn" + + "foH\000\022%\n\035optimize_table_operation_name\030\004 " + + "\001(\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable." + + "admin.v2.OperationProgressB\r\n\013source_inf" + + "o\"l\n\035OptimizeRestoredTableMetadata\022\014\n\004na" + + "me\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigt" + + "able.admin.v2.OperationProgress\"\204\002\n\022Crea" + + "teTableRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" + + "%bigtableadmin.googleapis.com/Instance\022\026" + + "\n\010table_id\030\002 \001(\tB\004\342A\001\002\0224\n\005table\030\003 \001(\0132\037." + + "google.bigtable.admin.v2.TableB\004\342A\001\002\022J\n\016" + + "initial_splits\030\004 \003(\01322.google.bigtable.a" + + "dmin.v2.CreateTableRequest.Split\032\024\n\005Spli" + + "t\022\013\n\003key\030\001 \001(\014\"\301\001\n\036CreateTableFromSnapsh" + + "otRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigt" + + "ableadmin.googleapis.com/Instance\022\026\n\010tab" + + "le_id\030\002 \001(\tB\004\342A\001\002\022G\n\017source_snapshot\030\003 \001" + + "(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.co" + + "m/Snapshot\"\232\001\n\023DropRowRangeRequest\0229\n\004na" + + "me\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googlea" + + "pis.com/Table\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022" + + "$\n\032delete_all_data_from_table\030\003 \001(\010H\000B\010\n" + + "\006target\"\256\001\n\021ListTablesRequest\022>\n\006parent\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Instance\0222\n\004view\030\002 \001(\0162$.google.big" + + "table.admin.v2.Table.View\022\021\n\tpage_size\030\004" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRe" + + "sponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable" + + ".admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\200\001\n\017GetTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + + "\372A$\n\"bigtableadmin.googleapis.com/Table\022" + + "2\n\004view\030\002 \001(\0162$.google.bigtable.admin.v2" + + ".Table.View\"\201\001\n\022UpdateTableRequest\0224\n\005ta" + + "ble\030\001 \001(\0132\037.google.bigtable.admin.v2.Tab" + + "leB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"\201\001\n\023UpdateTableM" + + "etadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"O\n\022D" + + "eleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$" + + "\n\"bigtableadmin.googleapis.com/Table\"Q\n\024" + + "UndeleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + + "\372A$\n\"bigtableadmin.googleapis.com/Table\"" + + "\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001(\t\022" + + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\"\341\002\n\033ModifyColumnFamiliesRe" + + "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022_\n\rmodification" + + "s\030\002 \003(\0132B.google.bigtable.admin.v2.Modif" + + "yColumnFamiliesRequest.ModificationB\004\342A\001" + + "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create" + + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + + "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab" + + "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010" + + "H\000B\005\n\003mod\"\\\n\037GenerateConsistencyTokenReq" + + "uest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadm" + + "in.googleapis.com/Table\"=\n GenerateConsi" + + "stencyTokenResponse\022\031\n\021consistency_token" + + "\030\001 \001(\t\"u\n\027CheckConsistencyRequest\0229\n\004nam" + + "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" + + "is.com/Table\022\037\n\021consistency_token\030\002 \001(\tB" + + "\004\342A\001\002\".\n\030CheckConsistencyResponse\022\022\n\ncon" + + "sistent\030\001 \001(\010\"\351\001\n\024SnapshotTableRequest\0229" + + "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goo" + + "gleapis.com/Table\022>\n\007cluster\030\002 \001(\tB-\342A\001\002" + + "\372A&\n$bigtableadmin.googleapis.com/Cluste" + + "r\022\031\n\013snapshot_id\030\003 \001(\tB\004\342A\001\002\022&\n\003ttl\030\004 \001(" + + "\0132\031.google.protobuf.Duration\022\023\n\013descript" + + "ion\030\005 \001(\t\"R\n\022GetSnapshotRequest\022<\n\004name\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Snapshot\"|\n\024ListSnapshotsRequest\022=\n" + + "\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.go" + + "ogleapis.com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsResp" + + "onse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigtabl" + + "e.admin.v2.Snapshot\022\027\n\017next_page_token\030\002" + + " \001(\t\"U\n\025DeleteSnapshotRequest\022<\n\004name\030\001 " + + "\001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.c" + + "om/Snapshot\"\304\001\n\025SnapshotTableMetadata\022H\n" + + "\020original_request\030\001 \001(\0132..google.bigtabl" + + "e.admin.v2.SnapshotTableRequest\0220\n\014reque" + + "st_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf" + + ".Timestamp\"\330\001\n\037CreateTableFromSnapshotMe" + + "tadata\022R\n\020original_request\030\001 \001(\01328.googl" + + "e.bigtable.admin.v2.CreateTableFromSnaps" + + "hotRequest\0220\n\014request_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022/\n\013finish_time\030\003 \001(" + + "\0132\032.google.protobuf.Timestamp\"\245\001\n\023Create" + + "BackupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$" + + "bigtableadmin.googleapis.com/Cluster\022\027\n\t" + + "backup_id\030\002 \001(\tB\004\342A\001\002\0226\n\006backup\030\003 \001(\0132 ." + + "google.bigtable.admin.v2.BackupB\004\342A\001\002\"\230\001" + + "\n\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014" + + "source_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\004" + + " \001(\0132\032.google.protobuf.Timestamp\"\204\001\n\023Upd" + + "ateBackupRequest\0226\n\006backup\030\001 \001(\0132 .googl" + + "e.bigtable.admin.v2.BackupB\004\342A\001\002\0225\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\004\342A\001\002\"N\n\020GetBackupRequest\022:\n\004name\030\001 \001(" + + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" + + "/Backup\"Q\n\023DeleteBackupRequest\022:\n\004name\030\001" + + " \001(\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis." + + "com/Backup\"\234\001\n\022ListBackupsRequest\022=\n\006par" + + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + + "apis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" + + "r_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_to" + + "ken\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007back" + + "ups\030\001 \003(\0132 .google.bigtable.admin.v2.Bac" + + "kup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Bigtabl" + + "eTableAdmin\022\253\001\n\013CreateTable\022,.google.big" + + "table.admin.v2.CreateTableRequest\032\037.goog" + + "le.bigtable.admin.v2.Table\"M\332A\025parent,ta" + + "ble_id,table\202\323\344\223\002/\"*/v2/{parent=projects" + + "/*/instances/*}/tables:\001*\022\212\002\n\027CreateTabl" + + "eFromSnapshot\0228.google.bigtable.admin.v2" + + ".CreateTableFromSnapshotRequest\032\035.google" + + ".longrunning.Operation\"\225\001\312A(\n\005Table\022\037Cre" + + "ateTableFromSnapshotMetadata\332A\037parent,ta" + + "ble_id,source_snapshot\202\323\344\223\002B\"=/v2/{paren" + + "t=projects/*/instances/*}/tables:createF" + + "romSnapshot:\001*\022\244\001\n\nListTables\022+.google.b" + + "igtable.admin.v2.ListTablesRequest\032,.goo" + + "gle.bigtable.admin.v2.ListTablesResponse" + + "\";\332A\006parent\202\323\344\223\002,\022*/v2/{parent=projects/" + + "*/instances/*}/tables\022\221\001\n\010GetTable\022).goo" + + "gle.bigtable.admin.v2.GetTableRequest\032\037." + + "google.bigtable.admin.v2.Table\"9\332A\004name\202" + + "\323\344\223\002,\022*/v2/{name=projects/*/instances/*/" + + "tables/*}\022\316\001\n\013UpdateTable\022,.google.bigta" + + "ble.admin.v2.UpdateTableRequest\032\035.google" + + ".longrunning.Operation\"r\312A\034\n\005Table\022\023Upda" + + "teTableMetadata\332A\021table,update_mask\202\323\344\223\002" + + "920/v2/{table.name=projects/*/instances/" + + "*/tables/*}:\005table\022\216\001\n\013DeleteTable\022,.goo" + + "gle.bigtable.admin.v2.DeleteTableRequest" + + "\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223\002,*" + + "*/v2/{name=projects/*/instances/*/tables" + + "/*}\022\306\001\n\rUndeleteTable\022..google.bigtable." + + "admin.v2.UndeleteTableRequest\032\035.google.l" + + "ongrunning.Operation\"f\312A\036\n\005Table\022\025Undele" + + "teTableMetadata\332A\004name\202\323\344\223\0028\"3/v2/{name=" + + "projects/*/instances/*/tables/*}:undelet" + + "e:\001*\022\317\001\n\024ModifyColumnFamilies\0225.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest\032\037.google.bigtable.admin.v2.Table\"_\332" + + "A\022name,modifications\202\323\344\223\002D\"?/v2/{name=pr" + + "ojects/*/instances/*/tables/*}:modifyCol" + + "umnFamilies:\001*\022\231\001\n\014DropRowRange\022-.google" + + ".bigtable.admin.v2.DropRowRangeRequest\032\026" + + ".google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/{nam" + + "e=projects/*/instances/*/tables/*}:dropR" + + "owRange:\001*\022\350\001\n\030GenerateConsistencyToken\022" + + "9.google.bigtable.admin.v2.GenerateConsi" + + "stencyTokenRequest\032:.google.bigtable.adm" + + "in.v2.GenerateConsistencyTokenResponse\"U" + + "\332A\004name\202\323\344\223\002H\"C/v2/{name=projects/*/inst" + + "ances/*/tables/*}:generateConsistencyTok" + + "en:\001*\022\332\001\n\020CheckConsistency\0221.google.bigt" + + "able.admin.v2.CheckConsistencyRequest\0322." + + "google.bigtable.admin.v2.CheckConsistenc" + + "yResponse\"_\332A\026name,consistency_token\202\323\344\223" + + "\002@\";/v2/{name=projects/*/instances/*/tab" + + "les/*}:checkConsistency:\001*\022\352\001\n\rSnapshotT" + + "able\022..google.bigtable.admin.v2.Snapshot" + + "TableRequest\032\035.google.longrunning.Operat" + + "ion\"\211\001\312A!\n\010Snapshot\022\025SnapshotTableMetada" + + "ta\332A$name,cluster,snapshot_id,descriptio" + + "n\202\323\344\223\0028\"3/v2/{name=projects/*/instances/" + + "*/tables/*}:snapshot:\001*\022\250\001\n\013GetSnapshot\022" + + ",.google.bigtable.admin.v2.GetSnapshotRe" + + "quest\032\".google.bigtable.admin.v2.Snapsho" + + "t\"G\332A\004name\202\323\344\223\002:\0228/v2/{name=projects/*/i" + + "nstances/*/clusters/*/snapshots/*}\022\273\001\n\rL" + + "istSnapshots\022..google.bigtable.admin.v2." + + "ListSnapshotsRequest\032/.google.bigtable.a" + + "dmin.v2.ListSnapshotsResponse\"I\332A\006parent" + + "\202\323\344\223\002:\0228/v2/{parent=projects/*/instances" + + "/*/clusters/*}/snapshots\022\242\001\n\016DeleteSnaps" + + "hot\022/.google.bigtable.admin.v2.DeleteSna" + + "pshotRequest\032\026.google.protobuf.Empty\"G\332A" + + "\004name\202\323\344\223\002:*8/v2/{name=projects/*/instan" + + "ces/*/clusters/*/snapshots/*}\022\340\001\n\014Create" + + "Backup\022-.google.bigtable.admin.v2.Create" + + "BackupRequest\032\035.google.longrunning.Opera" + + "tion\"\201\001\312A\036\n\006Backup\022\024CreateBackupMetadata" + + "\332A\027parent,backup_id,backup\202\323\344\223\002@\"6/v2/{p" + + "arent=projects/*/instances/*/clusters/*}" + + "/backups:\006backup\022\240\001\n\tGetBackup\022*.google." + + "bigtable.admin.v2.GetBackupRequest\032 .goo" + + "gle.bigtable.admin.v2.Backup\"E\332A\004name\202\323\344" + + "\223\0028\0226/v2/{name=projects/*/instances/*/cl" + + "usters/*/backups/*}\022\303\001\n\014UpdateBackup\022-.g" + + "oogle.bigtable.admin.v2.UpdateBackupRequ" + + "est\032 .google.bigtable.admin.v2.Backup\"b\332" + + "A\022backup,update_mask\202\323\344\223\002G2=/v2/{backup." + + "name=projects/*/instances/*/clusters/*/b" + + "ackups/*}:\006backup\022\234\001\n\014DeleteBackup\022-.goo" + + "gle.bigtable.admin.v2.DeleteBackupReques" + + "t\032\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223\0028" + + "*6/v2/{name=projects/*/instances/*/clust" + + "ers/*/backups/*}\022\263\001\n\013ListBackups\022,.googl" + + "e.bigtable.admin.v2.ListBackupsRequest\032-" + + ".google.bigtable.admin.v2.ListBackupsRes" + + "ponse\"G\332A\006parent\202\323\344\223\0028\0226/v2/{parent=proj" + + "ects/*/instances/*/clusters/*}/backups\022\273" + + "\001\n\014RestoreTable\022-.google.bigtable.admin." + + "v2.RestoreTableRequest\032\035.google.longrunn" + + "ing.Operation\"]\312A\035\n\005Table\022\024RestoreTableM" + + "etadata\202\323\344\223\0027\"2/v2/{parent=projects/*/in" + + "stances/*}/tables:restore:\001*\022\354\001\n\014GetIamP" + + "olicy\022\".google.iam.v1.GetIamPolicyReques" + + "t\032\025.google.iam.v1.Policy\"\240\001\332A\010resource\202\323" + + "\344\223\002\216\001\";/v2/{resource=projects/*/instance" + + "s/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/{re" + + "source=projects/*/instances/*/clusters/*" + + "/backups/*}:getIamPolicy:\001*\022\363\001\n\014SetIamPo" + + "licy\022\".google.iam.v1.SetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"\247\001\332A\017resource,po" + + "licy\202\323\344\223\002\216\001\";/v2/{resource=projects/*/in" + + "stances/*/tables/*}:setIamPolicy:\001*ZL\"G/" + + "v2/{resource=projects/*/instances/*/clus" + + "ters/*/backups/*}:setIamPolicy:\001*\022\244\002\n\022Te" + + "stIamPermissions\022(.google.iam.v1.TestIam" + + "PermissionsRequest\032).google.iam.v1.TestI" + + "amPermissionsResponse\"\270\001\332A\024resource,perm" + + "issions\202\323\344\223\002\232\001\"A/v2/{resource=projects/*" + + "/instances/*/tables/*}:testIamPermission" + + "s:\001*ZR\"M/v2/{resource=projects/*/instanc" + + "es/*/clusters/*/backups/*}:testIamPermis" + + "sions:\001*\032\336\002\312A\034bigtableadmin.googleapis.c" + + "om\322A\273\002https://www.googleapis.com/auth/bi" + + "gtable.admin,https://www.googleapis.com/" + + "auth/bigtable.admin.table,https://www.go" + + "ogleapis.com/auth/cloud-bigtable.admin,h" + + "ttps://www.googleapis.com/auth/cloud-big" + + "table.admin.table,https://www.googleapis" + + ".com/auth/cloud-platform,https://www.goo" + + "gleapis.com/auth/cloud-platform.read-onl" + + "yB\337\001\n\034com.google.bigtable.admin.v2B\027Bigt" + + "ableTableAdminProtoP\001Z=google.golang.org" + + "/genproto/googleapis/bigtable/admin/v2;a" + + "dmin\252\002\036Google.Cloud.Bigtable.Admin.V2\312\002\036" + + "Google\\Cloud\\Bigtable\\Admin\\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.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/ChangeStreamConfig.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java index f2814becd4..2dca53e93f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java @@ -1,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Change stream configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ -public final class ChangeStreamConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChangeStreamConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ChangeStreamConfig) ChangeStreamConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChangeStreamConfig.newBuilder() to construct. private ChangeStreamConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChangeStreamConfig() { - } + + private ChangeStreamConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeStreamConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, + com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } public static final int RETENTION_PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration retentionPeriod_; /** + * + * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -54,6 +74,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -61,6 +82,8 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** + * + * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -70,13 +93,18 @@ public boolean hasRetentionPeriod() {
    * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } /** + * + * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -89,10 +117,13 @@ public com.google.protobuf.Duration getRetentionPeriod() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
-    return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
+    return retentionPeriod_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : retentionPeriod_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -104,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 (retentionPeriod_ != null) {
       output.writeMessage(1, getRetentionPeriod());
     }
@@ -119,8 +149,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (retentionPeriod_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRetentionPeriod());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -130,17 +159,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ChangeStreamConfig)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ChangeStreamConfig other = (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
+    com.google.bigtable.admin.v2.ChangeStreamConfig other =
+        (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
 
     if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false;
     if (hasRetentionPeriod()) {
-      if (!getRetentionPeriod()
-          .equals(other.getRetentionPeriod())) return false;
+      if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -162,132 +191,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.bigtable.admin.v2.ChangeStreamConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Change stream configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ChangeStreamConfig) com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, + com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.ChangeStreamConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -301,9 +334,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override @@ -322,8 +355,11 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { - com.google.bigtable.admin.v2.ChangeStreamConfig result = new com.google.bigtable.admin.v2.ChangeStreamConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ChangeStreamConfig result = + new com.google.bigtable.admin.v2.ChangeStreamConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,9 +367,8 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.retentionPeriod_ = retentionPeriodBuilder_ == null - ? retentionPeriod_ - : retentionPeriodBuilder_.build(); + result.retentionPeriod_ = + retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build(); } } @@ -341,38 +376,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ChangeStreamConfig) { - return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig)other); + return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig) other); } else { super.mergeFrom(other); return this; @@ -380,7 +416,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ChangeStreamConfig other) { - if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) return this; + if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) + return this; if (other.hasRetentionPeriod()) { mergeRetentionPeriod(other.getRetentionPeriod()); } @@ -410,19 +447,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRetentionPeriodFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -432,12 +469,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Duration retentionPeriod_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + retentionPeriodBuilder_; /** + * + * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -447,12 +490,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -462,16 +508,21 @@ public boolean hasRetentionPeriod() {
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** + * + * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -496,6 +547,8 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -506,8 +559,7 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration retention_period = 1;
      */
-    public Builder setRetentionPeriod(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       if (retentionPeriodBuilder_ == null) {
         retentionPeriod_ = builderForValue.build();
       } else {
@@ -518,6 +570,8 @@ public Builder setRetentionPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -530,9 +584,9 @@ public Builder setRetentionPeriod(
      */
     public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       if (retentionPeriodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          retentionPeriod_ != null &&
-          retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && retentionPeriod_ != null
+            && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getRetentionPeriodBuilder().mergeFrom(value);
         } else {
           retentionPeriod_ = value;
@@ -545,6 +599,8 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -566,6 +622,8 @@ public Builder clearRetentionPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -582,6 +640,8 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() {
       return getRetentionPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -596,11 +656,14 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
       if (retentionPeriodBuilder_ != null) {
         return retentionPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return retentionPeriod_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
+        return retentionPeriod_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : retentionPeriod_;
       }
     }
     /**
+     *
+     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -612,21 +675,24 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
      * .google.protobuf.Duration retention_period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getRetentionPeriodFieldBuilder() {
       if (retentionPeriodBuilder_ == null) {
-        retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getRetentionPeriod(),
-                getParentForChildren(),
-                isClean());
+        retentionPeriodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getRetentionPeriod(), getParentForChildren(), isClean());
         retentionPeriod_ = null;
       }
       return retentionPeriodBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -636,12 +702,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   private static final com.google.bigtable.admin.v2.ChangeStreamConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ChangeStreamConfig();
   }
@@ -650,27 +716,27 @@ public static com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ChangeStreamConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ChangeStreamConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -685,6 +751,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ChangeStreamConfig 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/ChangeStreamConfigOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
index dbaf06f99d..041d1a666f 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/table.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface ChangeStreamConfigOrBuilder extends
+public interface ChangeStreamConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ChangeStreamConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -17,10 +35,13 @@ public interface ChangeStreamConfigOrBuilder extends
    * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** + * + * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -30,10 +51,13 @@ public interface ChangeStreamConfigOrBuilder extends
    * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** + * + * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
diff --git a/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 b59e1ae55d..5d10d9e609 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the 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,35 +45,42 @@ private CheckConsistencyRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckConsistencyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
+            com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the Table for which to check replication consistency.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,31 +89,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 { @@ -97,14 +124,18 @@ public java.lang.String getName() { } public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object consistencyToken_ = ""; /** + * + * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The consistencyToken. */ @java.lang.Override @@ -113,29 +144,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 { @@ -144,6 +175,7 @@ public java.lang.String getConsistencyToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,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_); } @@ -186,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.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; } @@ -218,98 +248,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]
@@ -317,33 +352,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();
@@ -354,9 +388,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
@@ -375,8 +409,11 @@ public com.google.bigtable.admin.v2.CheckConsistencyRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyRequest buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyRequest result = new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.CheckConsistencyRequest result =
+          new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,38 +432,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -434,7 +472,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_;
         bitField0_ |= 0x00000001;
@@ -471,22 +510,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              consistencyToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                consistencyToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -496,24 +538,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -522,22 +569,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 { @@ -545,32 +595,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -580,19 +641,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the Table for which to check replication consistency.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -602,18 +669,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; @@ -622,20 +691,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 { @@ -643,28 +713,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setConsistencyToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -674,26 +751,30 @@ public Builder clearConsistencyToken() { return this; } /** + * + * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -703,12 +784,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(); } @@ -717,27 +798,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; @@ -752,6 +833,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..0c40a7371c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 66% 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 91685123bc..c3d73c8ce4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,47 +28,51 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
  */
-public final class CheckConsistencyResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CheckConsistencyResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
     CheckConsistencyResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CheckConsistencyResponse.newBuilder() to construct.
   private CheckConsistencyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private CheckConsistencyResponse() {
-  }
+
+  private CheckConsistencyResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckConsistencyResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
+            com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
   }
 
   public static final int CONSISTENT_FIELD_NUMBER = 1;
   private boolean consistent_ = false;
   /**
+   *
+   *
    * 
    * True only if the token is consistent. A token is consistent if replication
    * has caught up with the restrictions specified in the request.
    * 
* * bool consistent = 1; + * * @return The consistent. */ @java.lang.Override @@ -60,6 +81,7 @@ public boolean getConsistent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -71,8 +93,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_); } @@ -86,8 +107,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; @@ -97,15 +117,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; } @@ -118,106 +138,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]
@@ -225,33 +250,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();
@@ -261,9 +285,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
@@ -282,8 +306,11 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyResponse buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyResponse result = new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.CheckConsistencyResponse result =
+          new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -299,38 +326,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse)other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -338,7 +366,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());
       }
@@ -368,17 +397,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              consistent_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                consistent_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,16 +419,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean consistent_ ;
+    private boolean consistent_;
     /**
+     *
+     *
      * 
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; + * * @return The consistent. */ @java.lang.Override @@ -405,12 +440,15 @@ 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. */ @@ -422,12 +460,15 @@ public Builder setConsistent(boolean value) { return this; } /** + * + * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; + * * @return This builder for chaining. */ public Builder clearConsistent() { @@ -436,9 +477,9 @@ public Builder clearConsistent() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -448,12 +489,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(); } @@ -462,27 +503,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; @@ -497,6 +538,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..3b76878193 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 66% 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 fdf153c273..a33bffee5e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +48,38 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
+            com.google.bigtable.admin.v2.Cluster.class,
+            com.google.bigtable.admin.v2.Cluster.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a cluster.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Cluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the cluster could not be determined.
      * 
@@ -66,6 +88,8 @@ public enum State */ STATE_NOT_KNOWN(0), /** + * + * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -74,6 +98,8 @@ public enum State */ READY(1), /** + * + * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -84,6 +110,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.
@@ -96,6 +124,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.
@@ -108,6 +138,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the cluster could not be determined.
      * 
@@ -116,6 +148,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.
      * 
@@ -124,6 +158,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.
@@ -134,6 +170,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.
@@ -146,6 +184,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.
@@ -155,7 +195,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -180,51 +219,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;
@@ -241,111 +282,148 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Cluster.State)
   }
 
-  public interface ClusterAutoscalingConfigOrBuilder extends
+  public interface ClusterAutoscalingConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. Autoscaling limits for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscalingLimits field is set. */ boolean hasAutoscalingLimits(); /** + * + * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscalingLimits. */ com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits(); /** + * + * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder(); /** + * + * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscalingTargets field is set. */ boolean hasAutoscalingTargets(); /** + * + * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscalingTargets. */ com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets(); /** + * + * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder(); } /** + * + * *
    * Autoscaling config for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class ClusterAutoscalingConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ClusterAutoscalingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) ClusterAutoscalingConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterAutoscalingConfig.newBuilder() to construct. private ClusterAutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClusterAutoscalingConfig() { - } + + private ClusterAutoscalingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClusterAutoscalingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } public static final int AUTOSCALING_LIMITS_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; /** + * + * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscalingLimits field is set. */ @java.lang.Override @@ -353,37 +431,55 @@ public boolean hasAutoscalingLimits() { return autoscalingLimits_ != null; } /** + * + * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscalingLimits. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { - return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; + return autoscalingLimits_ == null + ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() + : autoscalingLimits_; } /** + * + * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { - return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; + return autoscalingLimits_ == null + ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() + : autoscalingLimits_; } public static final int AUTOSCALING_TARGETS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; /** + * + * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscalingTargets field is set. */ @java.lang.Override @@ -391,30 +487,45 @@ public boolean hasAutoscalingTargets() { return autoscalingTargets_ != null; } /** + * + * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscalingTargets. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { - return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; + return autoscalingTargets_ == null + ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() + : autoscalingTargets_; } /** + * + * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { - return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder + getAutoscalingTargetsOrBuilder() { + return autoscalingTargets_ == null + ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() + : autoscalingTargets_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,8 +537,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()); } @@ -444,12 +554,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; @@ -459,22 +568,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; @@ -501,89 +609,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 @@ -593,39 +706,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(); @@ -644,13 +759,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(); } @@ -665,23 +781,29 @@ public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = + new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { + private void buildPartial0( + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.autoscalingLimits_ = autoscalingLimitsBuilder_ == null - ? autoscalingLimits_ - : autoscalingLimitsBuilder_.build(); + result.autoscalingLimits_ = + autoscalingLimitsBuilder_ == null + ? autoscalingLimits_ + : autoscalingLimitsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.autoscalingTargets_ = autoscalingTargetsBuilder_ == null - ? autoscalingTargets_ - : autoscalingTargetsBuilder_.build(); + result.autoscalingTargets_ = + autoscalingTargetsBuilder_ == null + ? autoscalingTargets_ + : autoscalingTargetsBuilder_.build(); } } @@ -689,46 +811,52 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterAutoscali public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -761,26 +889,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getAutoscalingLimitsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -790,43 +919,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> autoscalingLimitsBuilder_; + com.google.bigtable.admin.v2.AutoscalingLimits, + com.google.bigtable.admin.v2.AutoscalingLimits.Builder, + com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> + autoscalingLimitsBuilder_; /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscalingLimits field is set. */ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscalingLimits. */ public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { if (autoscalingLimitsBuilder_ == null) { - return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; + return autoscalingLimits_ == null + ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() + : autoscalingLimits_; } else { return autoscalingLimitsBuilder_.getMessage(); } } /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { @@ -842,11 +991,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) { @@ -860,17 +1013,22 @@ public Builder setAutoscalingLimits( return this; } /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - autoscalingLimits_ != null && - autoscalingLimits_ != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && autoscalingLimits_ != null + && autoscalingLimits_ + != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { getAutoscalingLimitsBuilder().mergeFrom(value); } else { autoscalingLimits_ = value; @@ -883,11 +1041,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -900,11 +1062,15 @@ public Builder clearAutoscalingLimits() { return this; } /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimitsBuilder() { bitField0_ |= 0x00000001; @@ -912,36 +1078,49 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi return getAutoscalingLimitsFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder + getAutoscalingLimitsOrBuilder() { if (autoscalingLimitsBuilder_ != null) { return autoscalingLimitsBuilder_.getMessageOrBuilder(); } else { - return autoscalingLimits_ == null ? - com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; + return autoscalingLimits_ == null + ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() + : autoscalingLimits_; } } /** + * + * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingLimits, + com.google.bigtable.admin.v2.AutoscalingLimits.Builder, + com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> getAutoscalingLimitsFieldBuilder() { if (autoscalingLimitsBuilder_ == null) { - autoscalingLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( - getAutoscalingLimits(), - getParentForChildren(), - isClean()); + autoscalingLimitsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingLimits, + com.google.bigtable.admin.v2.AutoscalingLimits.Builder, + com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( + getAutoscalingLimits(), getParentForChildren(), isClean()); autoscalingLimits_ = null; } return autoscalingLimitsBuilder_; @@ -949,39 +1128,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscalingTargets. */ public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { if (autoscalingTargetsBuilder_ == null) { - return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; + return autoscalingTargets_ == null + ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() + : autoscalingTargets_; } else { return autoscalingTargetsBuilder_.getMessage(); } } /** + * + * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { @@ -997,11 +1195,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) { @@ -1015,17 +1217,23 @@ public Builder setAutoscalingTargets( return this; } /** + * + * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { + public Builder mergeAutoscalingTargets( + com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - autoscalingTargets_ != null && - autoscalingTargets_ != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && autoscalingTargets_ != null + && autoscalingTargets_ + != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { getAutoscalingTargetsBuilder().mergeFrom(value); } else { autoscalingTargets_ = value; @@ -1038,11 +1246,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1055,52 +1267,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() { bitField0_ |= 0x00000002; onChanged(); return getAutoscalingTargetsFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder + getAutoscalingTargetsOrBuilder() { if (autoscalingTargetsBuilder_ != null) { return autoscalingTargetsBuilder_.getMessageOrBuilder(); } else { - return autoscalingTargets_ == null ? - com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; + return autoscalingTargets_ == null + ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() + : autoscalingTargets_; } } /** + * + * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingTargets, + com.google.bigtable.admin.v2.AutoscalingTargets.Builder, + com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> getAutoscalingTargetsFieldBuilder() { if (autoscalingTargetsBuilder_ == null) { - autoscalingTargetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( - getAutoscalingTargets(), - getParentForChildren(), - isClean()); + autoscalingTargetsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingTargets, + com.google.bigtable.admin.v2.AutoscalingTargets.Builder, + com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( + getAutoscalingTargets(), getParentForChildren(), isClean()); autoscalingTargets_ = null; } return autoscalingTargetsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1113,41 +1344,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; @@ -1159,90 +1393,114 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ClusterConfigOrBuilder extends + public interface ClusterConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Autoscaling configuration for this cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * * @return Whether the clusterAutoscalingConfig field is set. */ boolean hasClusterAutoscalingConfig(); /** + * + * *
      * Autoscaling configuration for this cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * * @return The clusterAutoscalingConfig. */ com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig(); /** + * + * *
      * Autoscaling configuration for this cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * */ - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder(); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder + getClusterAutoscalingConfigOrBuilder(); } /** + * + * *
    * Configuration for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class ClusterConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ClusterConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) ClusterConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterConfig.newBuilder() to construct. private ClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClusterConfig() { - } + + private ClusterConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClusterConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto + .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, + com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } public static final int CLUSTER_AUTOSCALING_CONFIG_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; /** + * + * *
      * Autoscaling configuration for this cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * * @return Whether the clusterAutoscalingConfig field is set. */ @java.lang.Override @@ -1250,30 +1508,46 @@ public boolean hasClusterAutoscalingConfig() { return clusterAutoscalingConfig_ != null; } /** + * + * *
      * Autoscaling configuration for this cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * * @return The clusterAutoscalingConfig. */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { - return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig + getClusterAutoscalingConfig() { + return clusterAutoscalingConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() + : clusterAutoscalingConfig_; } /** + * + * *
      * Autoscaling configuration for this cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { - return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder + getClusterAutoscalingConfigOrBuilder() { + return clusterAutoscalingConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() + : clusterAutoscalingConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1285,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()); } @@ -1300,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; @@ -1311,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; @@ -1344,89 +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 @@ -1436,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(); @@ -1482,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 @@ -1503,8 +1784,11 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.Cluster.ClusterConfig result = + new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1512,9 +1796,10 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.clusterAutoscalingConfig_ = clusterAutoscalingConfigBuilder_ == null - ? clusterAutoscalingConfig_ - : clusterAutoscalingConfigBuilder_.build(); + result.clusterAutoscalingConfig_ = + clusterAutoscalingConfigBuilder_ == null + ? clusterAutoscalingConfig_ + : clusterAutoscalingConfigBuilder_.build(); } } @@ -1522,38 +1807,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig)other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig) other); } else { super.mergeFrom(other); return this; @@ -1561,7 +1849,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()); } @@ -1591,19 +1880,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getClusterAutoscalingConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getClusterAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1613,45 +1903,68 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; + private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig + clusterAutoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> clusterAutoscalingConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> + clusterAutoscalingConfigBuilder_; /** + * + * *
        * Autoscaling configuration for this cluster.
        * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * * @return Whether the clusterAutoscalingConfig field is set. */ public boolean hasClusterAutoscalingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Autoscaling configuration for this cluster.
        * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * * @return The clusterAutoscalingConfig. */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig + getClusterAutoscalingConfig() { if (clusterAutoscalingConfigBuilder_ == null) { - return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() + : clusterAutoscalingConfig_; } else { return clusterAutoscalingConfigBuilder_.getMessage(); } } /** + * + * *
        * Autoscaling configuration for this cluster.
        * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * */ - public Builder setClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder setClusterAutoscalingConfig( + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1665,11 +1978,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 +2000,24 @@ public Builder setClusterAutoscalingConfig( return this; } /** + * + * *
        * Autoscaling configuration for this cluster.
        * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * */ - public Builder mergeClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder mergeClusterAutoscalingConfig( + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - clusterAutoscalingConfig_ != null && - clusterAutoscalingConfig_ != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && clusterAutoscalingConfig_ != null + && clusterAutoscalingConfig_ + != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig + .getDefaultInstance()) { getClusterAutoscalingConfigBuilder().mergeFrom(value); } else { clusterAutoscalingConfig_ = value; @@ -1706,11 +2030,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1723,52 +2051,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() { bitField0_ |= 0x00000001; onChanged(); return getClusterAutoscalingConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Autoscaling configuration for this cluster.
        * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder + getClusterAutoscalingConfigOrBuilder() { if (clusterAutoscalingConfigBuilder_ != null) { return clusterAutoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return clusterAutoscalingConfig_ == null ? - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() + : clusterAutoscalingConfig_; } } /** + * + * *
        * Autoscaling configuration for this cluster.
        * 
* - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> getClusterAutoscalingConfigFieldBuilder() { if (clusterAutoscalingConfigBuilder_ == null) { - clusterAutoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( - getClusterAutoscalingConfig(), - getParentForChildren(), - isClean()); + clusterAutoscalingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( + getClusterAutoscalingConfig(), getParentForChildren(), isClean()); clusterAutoscalingConfig_ = null; } return clusterAutoscalingConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1781,12 +2128,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 +2142,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 +2178,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 +2202,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 +2223,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,43 +2238,48 @@ 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();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto
+          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto
+          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
+              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
     }
 
     public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object kmsKeyName_ = "";
     /**
+     *
+     *
      * 
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -1934,6 +2294,7 @@ protected java.lang.Object newInstance(
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The kmsKeyName. */ @java.lang.Override @@ -1942,14 +2303,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:
@@ -1964,16 +2326,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 { @@ -1982,6 +2343,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1993,8 +2355,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_); } @@ -2018,15 +2379,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; } @@ -2046,89 +2407,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 @@ -2138,6 +2504,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
      * cluster.
@@ -2145,33 +2513,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();
@@ -2181,9 +2549,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
@@ -2202,8 +2570,11 @@ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.Cluster.EncryptionConfig buildPartial() {
-        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result =
+            new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2219,38 +2590,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.EncryptionConfig
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig) {
-          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig)other);
+          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2258,7 +2632,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_;
           bitField0_ |= 0x00000001;
@@ -2290,17 +2665,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                kmsKeyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  kmsKeyName_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2310,10 +2687,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object kmsKeyName_ = "";
       /**
+       *
+       *
        * 
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2328,13 +2708,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; @@ -2343,6 +2723,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:
@@ -2357,15 +2739,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 { @@ -2373,6 +2754,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:
@@ -2387,18 +2770,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2413,6 +2800,7 @@ public Builder setKmsKeyName(
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -2422,6 +2810,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2436,18 +2826,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2460,12 +2853,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(); } @@ -2474,27 +2867,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; @@ -2509,18 +2903,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int configCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object config_; + public enum ConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLUSTER_CONFIG(7), CONFIG_NOT_SET(0); private final int value; + private ConfigCase(int value) { this.value = value; } @@ -2536,32 +2933,38 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 7: return CLUSTER_CONFIG; - case 0: return CONFIG_NOT_SET; - default: return null; + case 7: + return CLUSTER_CONFIG; + case 0: + return CONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConfigCase - getConfigCase() { - return ConfigCase.forNumber( - configCase_); + public ConfigCase getConfigCase() { + return ConfigCase.forNumber(configCase_); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2570,30 +2973,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 { @@ -2602,9 +3005,12 @@ public java.lang.String getName() { } public static final int LOCATION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -2612,7 +3018,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 @@ -2621,14 +3030,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
@@ -2636,17 +3046,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 { @@ -2657,38 +3068,54 @@ public java.lang.String getLocation() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the cluster.
    * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + @java.lang.Override + public com.google.bigtable.admin.v2.Cluster.State getState() { + com.google.bigtable.admin.v2.Cluster.State result = + com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } public static final int SERVE_NODES_FIELD_NUMBER = 4; private int serveNodes_ = 0; /** + * + * *
    * The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* * int32 serve_nodes = 4; + * * @return The serveNodes. */ @java.lang.Override @@ -2698,11 +3125,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 @@ -2710,21 +3140,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.
    * 
@@ -2734,7 +3169,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(); } @@ -2742,39 +3177,57 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER = 5; private int defaultStorageType_ = 0; /** + * + * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override public int getDefaultStorageTypeValue() { + @java.lang.Override + public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** + * + * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The defaultStorageType. */ - @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + @java.lang.Override + public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { + com.google.bigtable.admin.v2.StorageType result = + com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; /** + * + * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -2782,30 +3235,45 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2817,8 +3285,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_); } @@ -2831,7 +3298,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) { @@ -2856,24 +3324,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; @@ -2883,31 +3349,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: @@ -2950,99 +3411,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
@@ -3051,33 +3516,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();
@@ -3101,9 +3565,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
@@ -3123,7 +3587,9 @@ public com.google.bigtable.admin.v2.Cluster build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Cluster buildPartial() {
       com.google.bigtable.admin.v2.Cluster result = new com.google.bigtable.admin.v2.Cluster(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3147,17 +3613,15 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster result) {
         result.defaultStorageType_ = defaultStorageType_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
       result.configCase_ = configCase_;
       result.config_ = this.config_;
-      if (configCase_ == 7 &&
-          clusterConfigBuilder_ != null) {
+      if (configCase_ == 7 && clusterConfigBuilder_ != null) {
         result.config_ = clusterConfigBuilder_.build();
       }
     }
@@ -3166,38 +3630,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Cluster) {
-        return mergeFrom((com.google.bigtable.admin.v2.Cluster)other);
+        return mergeFrom((com.google.bigtable.admin.v2.Cluster) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3229,13 +3694,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();
@@ -3263,51 +3730,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              location_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              serveNodes_ = input.readInt32();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              defaultStorageType_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getClusterConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              configCase_ = 7;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                serveNodes_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                defaultStorageType_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
+                configCase_ = 7;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3317,12 +3789,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() {
@@ -3336,19 +3808,21 @@ public Builder clearConfig() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3357,21 +3831,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 { @@ -3379,30 +3854,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3412,18 +3894,22 @@ public Builder clearName() { return this; } /** + * + * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3433,6 +3919,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
@@ -3440,14 +3928,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; @@ -3456,6 +3946,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
@@ -3463,16 +3955,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 { @@ -3480,6 +3973,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
@@ -3487,19 +3982,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3507,7 +4008,10 @@ 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() { @@ -3517,6 +4021,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3524,13 +4030,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000002; @@ -3540,22 +4050,33 @@ 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. */ @@ -3566,24 +4087,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + com.google.bigtable.admin.v2.Cluster.State result = + com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3597,11 +4129,16 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { return this; } /** + * + * *
      * Output only. The current state of the cluster.
      * 
* - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3611,14 +4148,17 @@ public Builder clearState() { return this; } - private int serveNodes_ ; + private int serveNodes_; /** + * + * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; + * * @return The serveNodes. */ @java.lang.Override @@ -3626,12 +4166,15 @@ 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. */ @@ -3643,12 +4186,15 @@ public Builder setServeNodes(int value) { return this; } /** + * + * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; + * * @return This builder for chaining. */ public Builder clearServeNodes() { @@ -3659,13 +4205,19 @@ public Builder clearServeNodes() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> clusterConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterConfig, + com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, + com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> + clusterConfigBuilder_; /** + * + * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; + * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -3673,11 +4225,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 @@ -3695,6 +4250,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { } } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3715,6 +4272,8 @@ public Builder setClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConf return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3733,6 +4292,8 @@ public Builder setClusterConfig( return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3741,10 +4302,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; } @@ -3760,6 +4324,8 @@ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterCo return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3783,6 +4349,8 @@ public Builder clearClusterConfig() { return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3793,6 +4361,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder getClusterConf return getClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3811,6 +4381,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon } } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3818,14 +4390,19 @@ 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()); @@ -3838,24 +4415,35 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon private int defaultStorageType_ = 0; /** + * + * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override public int getDefaultStorageTypeValue() { + @java.lang.Override + public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** + * + * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for defaultStorageType to set. * @return This builder for chaining. */ @@ -3866,26 +4454,37 @@ public Builder setDefaultStorageTypeValue(int value) { return this; } /** + * + * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The defaultStorageType. */ @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = + com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The defaultStorageType to set. * @return This builder for chaining. */ @@ -3899,12 +4498,17 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va return this; } /** + * + * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDefaultStorageType() { @@ -3916,41 +4520,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 ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The encryptionConfig. */ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder setEncryptionConfig( + com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3964,11 +4588,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) { @@ -3982,17 +4610,23 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder mergeEncryptionConfig( + com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4005,11 +4639,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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4022,55 +4660,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() { bitField0_ |= 0x00000040; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, + com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, + com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4080,12 +4736,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(); } @@ -4094,27 +4750,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; @@ -4129,6 +4785,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 07329a642d..409f06a149 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 bf05b806b4..ad25a5c4f1 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,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** + * + * *
  * A set of columns within a table which share a common configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ -public final class ColumnFamily extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ColumnFamily extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ColumnFamily) ColumnFamilyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ColumnFamily.newBuilder() to construct. private ColumnFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ColumnFamily() { - } + + private ColumnFamily() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ColumnFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, + com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } public static final int GC_RULE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.GcRule gcRule_; /** + * + * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -55,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return Whether the gcRule field is set. */ @java.lang.Override @@ -62,6 +83,8 @@ public boolean hasGcRule() { return gcRule_ != null; } /** + * + * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -72,6 +95,7 @@ public boolean hasGcRule() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return The gcRule. */ @java.lang.Override @@ -79,6 +103,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.
@@ -96,6 +122,7 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -107,8 +134,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());
     }
@@ -122,8 +148,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;
@@ -133,17 +158,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;
@@ -165,132 +190,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 +333,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,8 +354,11 @@ public com.google.bigtable.admin.v2.ColumnFamily build() { @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { - com.google.bigtable.admin.v2.ColumnFamily result = new com.google.bigtable.admin.v2.ColumnFamily(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ColumnFamily result = + new com.google.bigtable.admin.v2.ColumnFamily(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -334,9 +366,7 @@ public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.gcRule_ = gcRuleBuilder_ == null - ? gcRule_ - : gcRuleBuilder_.build(); + result.gcRule_ = gcRuleBuilder_ == null ? gcRule_ : gcRuleBuilder_.build(); } } @@ -344,38 +374,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ColumnFamily) { - return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily)other); + return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily) other); } else { super.mergeFrom(other); return this; @@ -413,19 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcRuleFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcRuleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -435,12 +466,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.GcRule gcRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> gcRuleBuilder_; + com.google.bigtable.admin.v2.GcRule, + com.google.bigtable.admin.v2.GcRule.Builder, + com.google.bigtable.admin.v2.GcRuleOrBuilder> + gcRuleBuilder_; /** + * + * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -451,12 +488,15 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return Whether the gcRule field is set. */ public boolean hasGcRule() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -467,6 +507,7 @@ public boolean hasGcRule() {
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return The gcRule. */ public com.google.bigtable.admin.v2.GcRule getGcRule() { @@ -477,6 +518,8 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { } } /** + * + * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -502,6 +545,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.
@@ -513,8 +558,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();
       } else {
@@ -525,6 +569,8 @@ public Builder setGcRule(
       return this;
     }
     /**
+     *
+     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -538,9 +584,9 @@ public Builder setGcRule(
      */
     public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       if (gcRuleBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          gcRule_ != null &&
-          gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && gcRule_ != null
+            && gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
           getGcRuleBuilder().mergeFrom(value);
         } else {
           gcRule_ = value;
@@ -553,6 +599,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.
@@ -575,6 +623,8 @@ public Builder clearGcRule() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -592,6 +642,8 @@ public com.google.bigtable.admin.v2.GcRule.Builder getGcRuleBuilder() {
       return getGcRuleFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -607,11 +659,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.
@@ -624,21 +677,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);
     }
 
@@ -648,12 +704,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();
   }
@@ -662,27 +718,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;
@@ -697,6 +753,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 71%
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 5f7fedc0d7..dc09a53406 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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.
@@ -18,10 +36,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.
@@ -32,10 +53,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..7cb9e5099f
--- /dev/null
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
@@ -0,0 +1,76 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 66%
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 b76e1d033a..07fb8ea84b 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the 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,35 +44,42 @@ private CreateAppProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, + com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,31 +88,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 { @@ -96,9 +123,12 @@ public java.lang.String getParent() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -106,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The appProfileId. */ @java.lang.Override @@ -114,14 +145,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
@@ -129,16 +161,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 { @@ -149,12 +180,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 @@ -162,39 +198,55 @@ public boolean hasAppProfile() { return appProfile_ != null; } /** + * + * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } /** + * + * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } public static final int IGNORE_WARNINGS_FIELD_NUMBER = 4; private boolean ignoreWarnings_ = false; /** + * + * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -203,6 +255,7 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +267,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_); } @@ -244,12 +296,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; @@ -259,24 +309,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; } @@ -297,139 +344,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(); @@ -446,9 +496,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 @@ -467,8 +517,11 @@ public com.google.bigtable.admin.v2.CreateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.CreateAppProfileRequest result = new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateAppProfileRequest result = + new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -482,9 +535,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest result.appProfileId_ = appProfileId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.appProfile_ = appProfileBuilder_ == null - ? appProfile_ - : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.ignoreWarnings_ = ignoreWarnings_; @@ -495,38 +546,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest) other); } else { super.mergeFrom(other); return this; @@ -534,7 +586,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_; bitField0_ |= 0x00000001; @@ -577,34 +630,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getAppProfileFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,24 +670,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -640,22 +701,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 { @@ -663,32 +727,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -698,19 +773,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -720,6 +801,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
@@ -727,13 +810,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; @@ -742,6 +825,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
@@ -749,15 +834,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 { @@ -765,6 +849,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
@@ -772,18 +858,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -791,6 +881,7 @@ public Builder setAppProfileId(
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -800,6 +891,8 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -807,12 +900,14 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -822,42 +917,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** + * + * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -873,15 +987,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(); } else { @@ -892,18 +1009,22 @@ 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 (((bitField0_ & 0x00000004) != 0) && - appProfile_ != null && - appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && appProfile_ != null + && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -916,12 +1037,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -934,12 +1059,16 @@ public Builder clearAppProfile() { return this; } /** + * + * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000004; @@ -947,50 +1076,65 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null ? - com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } } /** + * + * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, + com.google.bigtable.admin.v2.AppProfile.Builder, + com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), - getParentForChildren(), - isClean()); + appProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, + com.google.bigtable.admin.v2.AppProfile.Builder, + com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), getParentForChildren(), isClean()); appProfile_ = null; } return appProfileBuilder_; } - private boolean ignoreWarnings_ ; + private boolean ignoreWarnings_; /** + * + * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -998,11 +1142,14 @@ 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. */ @@ -1014,11 +1161,14 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** + * + * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; + * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1027,9 +1177,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1039,12 +1189,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(); } @@ -1053,27 +1203,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; @@ -1088,6 +1238,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..7136d83eed 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 1b43ddb2e6..48d66de4b0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,33 +45,38 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateBackupMetadata.class,
+            com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -62,29 +85,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 { @@ -93,14 +116,18 @@ public java.lang.String getName() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** + * + * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; + * * @return The sourceTable. */ @java.lang.Override @@ -109,29 +136,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 { @@ -142,11 +169,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 @@ -154,11 +184,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 @@ -166,6 +199,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which this operation started.
    * 
@@ -180,11 +215,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 @@ -192,11 +230,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 @@ -204,6 +245,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.
    * 
@@ -216,6 +259,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +271,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_); } @@ -257,12 +300,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; @@ -272,26 +313,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; @@ -322,98 +360,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].
@@ -421,33 +464,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();
@@ -468,9 +510,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
@@ -489,8 +531,11 @@ public com.google.bigtable.admin.v2.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateBackupMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateBackupMetadata result = new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.CreateBackupMetadata result =
+          new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -504,14 +549,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
         result.sourceTable_ = sourceTable_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
     }
 
@@ -519,38 +560,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateBackupMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata)other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,7 +600,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_;
         bitField0_ |= 0x00000001;
@@ -601,36 +644,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              sourceTable_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                sourceTable_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -640,22 +684,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the backup being created.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -664,20 +711,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 { @@ -685,28 +733,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -716,17 +771,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -736,18 +795,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; @@ -756,20 +817,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 { @@ -777,28 +839,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceTable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; + * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -808,17 +877,21 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; + * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -828,24 +901,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -856,6 +938,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which this operation started.
      * 
@@ -876,14 +960,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(); } else { @@ -894,6 +979,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -902,9 +989,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -917,6 +1004,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -934,6 +1023,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -946,6 +1037,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation started.
      * 
@@ -956,11 +1049,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 +1062,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 +1080,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1011,6 +1117,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1031,14 +1139,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(); } else { @@ -1049,6 +1158,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1057,9 +1168,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1072,6 +1183,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 +1202,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1101,6 +1216,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1111,11 +1228,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 +1241,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 +1268,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 +1282,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 +1317,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..d522d95b6f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 626253b5a8..4374feafa0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,35 +44,42 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateBackupRequest.class, com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class); + com.google.bigtable.admin.v2.CreateBackupRequest.class, + com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. This must be one of the clusters in the instance in which this
    * table is located. The backup will be stored in this cluster. Values are
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,31 +88,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 { @@ -96,9 +123,12 @@ public java.lang.String getParent() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** + * + * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -109,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -117,14 +148,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
@@ -135,16 +167,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 { @@ -155,11 +186,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 @@ -167,11 +202,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 @@ -179,11 +218,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() { @@ -191,6 +233,7 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +245,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 +271,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; @@ -240,21 +281,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; @@ -280,132 +319,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(); @@ -421,9 +464,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 @@ -442,8 +485,11 @@ public com.google.bigtable.admin.v2.CreateBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateBackupRequest buildPartial() { - com.google.bigtable.admin.v2.CreateBackupRequest result = new com.google.bigtable.admin.v2.CreateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateBackupRequest result = + new com.google.bigtable.admin.v2.CreateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -457,9 +503,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } } @@ -467,38 +511,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -506,7 +551,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_; bitField0_ |= 0x00000001; @@ -546,29 +592,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -578,24 +626,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -604,22 +657,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 { @@ -627,32 +683,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -662,19 +729,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. This must be one of the clusters in the instance in which this
      * table is located. The backup will be stored in this cluster. Values are
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -684,6 +757,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
@@ -694,13 +769,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; @@ -709,6 +784,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
@@ -719,15 +796,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 { @@ -735,6 +811,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
@@ -745,18 +823,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -767,6 +849,7 @@ public Builder setBackupId(
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -776,6 +859,8 @@ public Builder clearBackupId() { return this; } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -786,12 +871,14 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -801,24 +888,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -829,11 +927,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) { @@ -849,14 +950,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(); } else { @@ -867,17 +970,20 @@ 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 (((bitField0_ & 0x00000004) != 0) && - backup_ != null && - backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && backup_ != null + && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -890,11 +996,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -907,11 +1016,14 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -919,43 +1031,51 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; + return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } } /** + * + * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, + com.google.bigtable.admin.v2.Backup.Builder, + com.google.bigtable.admin.v2.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, + com.google.bigtable.admin.v2.Backup.Builder, + com.google.bigtable.admin.v2.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -965,12 +1085,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(); } @@ -979,27 +1099,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; @@ -1014,6 +1134,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..055f036a19 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 a9a42cb964..57fa50711b 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,74 +1,97 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ -public final class CreateClusterMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata) CreateClusterMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClusterMetadata.newBuilder() to construct. private CreateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterMetadata() { - } + + private CreateClusterMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetTables(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, + com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } - public interface TableProgressOrBuilder extends + public interface TableProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; + * * @return The estimatedSizeBytes. */ long getEstimatedSizeBytes(); /** + * + * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -76,71 +99,75 @@ 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(); } - 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.
        * 
@@ -149,6 +176,8 @@ public enum State */ PENDING(1), /** + * + * *
        * The table is actively being copied to the new cluster.
        * 
@@ -157,6 +186,8 @@ public enum State */ COPYING(2), /** + * + * *
        * The table has been fully copied to the new cluster.
        * 
@@ -165,6 +196,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
@@ -177,11 +210,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.
        * 
@@ -190,6 +223,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
        * The table is actively being copied to the new cluster.
        * 
@@ -198,6 +233,8 @@ public enum State */ public static final int COPYING_VALUE = 2; /** + * + * *
        * The table has been fully copied to the new cluster.
        * 
@@ -206,6 +243,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
@@ -216,7 +255,6 @@ public enum State
        */
       public static final int CANCELLED_VALUE = 4;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -241,51 +279,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;
@@ -305,11 +347,14 @@ private State(int value) {
     public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER = 2;
     private long estimatedSizeBytes_ = 0L;
     /**
+     *
+     *
      * 
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; + * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -320,6 +365,8 @@ public long getEstimatedSizeBytes() { public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER = 3; private long estimatedCopiedBytes_ = 0L; /** + * + * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -327,6 +374,7 @@ public long getEstimatedSizeBytes() {
      * 
* * int64 estimated_copied_bytes = 3; + * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -338,21 +386,29 @@ public long getEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; + * * @return The state. */ - @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); - return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null + ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,15 +420,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); @@ -385,16 +443,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; @@ -404,17 +462,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; @@ -428,11 +485,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(); @@ -441,89 +496,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 @@ -533,39 +594,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(); @@ -577,14 +641,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 @@ -598,13 +664,17 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build() @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = + new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { + private void buildPartial0( + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.estimatedSizeBytes_ = estimatedSizeBytes_; @@ -621,46 +691,53 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata.Ta public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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 +773,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - estimatedSizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: { - estimatedCopiedBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - state_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + estimatedSizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: + { + estimatedCopiedBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -726,15 +807,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long estimatedSizeBytes_ ; + private long estimatedSizeBytes_; /** + * + * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; + * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -742,11 +827,14 @@ 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. */ @@ -758,11 +846,14 @@ public Builder setEstimatedSizeBytes(long value) { return this; } /** + * + * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; + * * @return This builder for chaining. */ public Builder clearEstimatedSizeBytes() { @@ -772,8 +863,10 @@ public Builder clearEstimatedSizeBytes() { return this; } - private long estimatedCopiedBytes_ ; + private long estimatedCopiedBytes_; /** + * + * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -781,6 +874,7 @@ public Builder clearEstimatedSizeBytes() {
        * 
* * int64 estimated_copied_bytes = 3; + * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -788,6 +882,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
@@ -795,6 +891,7 @@ public long getEstimatedCopiedBytes() {
        * 
* * int64 estimated_copied_bytes = 3; + * * @param value The estimatedCopiedBytes to set. * @return This builder for chaining. */ @@ -806,6 +903,8 @@ public Builder setEstimatedCopiedBytes(long value) { return this; } /** + * + * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -813,6 +912,7 @@ public Builder setEstimatedCopiedBytes(long value) {
        * 
* * int64 estimated_copied_bytes = 3; + * * @return This builder for chaining. */ public Builder clearEstimatedCopiedBytes() { @@ -825,13 +925,16 @@ 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. */ @@ -843,19 +946,26 @@ public Builder setStateValue(int value) { } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; + * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); - return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber( + state_); + return result == null + ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED + : result; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { + public Builder setState( + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { if (value == null) { throw new NullPointerException(); } @@ -866,6 +976,7 @@ public Builder setState(com.google.bigtable.admin.v2.CreateClusterMetadata.Table } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; + * * @return This builder for chaining. */ public Builder clearState() { @@ -874,6 +985,7 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -886,41 +998,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; @@ -932,20 +1047,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 @@ -953,18 +1071,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.
    * 
@@ -973,17 +1098,22 @@ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() + : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -991,11 +1121,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 @@ -1003,6 +1136,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.
    * 
@@ -1017,11 +1152,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 @@ -1029,11 +1167,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 @@ -1041,6 +1182,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.
    * 
@@ -1053,32 +1196,44 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } public static final int TABLES_FIELD_NUMBER = 4; + private static final class TablesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()); + . + newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables_; - private com.google.protobuf.MapField - 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_; } + 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.
@@ -1090,23 +1245,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.
@@ -1118,13 +1278,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.
@@ -1136,20 +1302,27 @@ 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 /* nullable */
-com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault(
-      java.lang.String key,
-      /* nullable */
-com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTables().getMap();
+  public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress
+      getTablesOrDefault(
+          java.lang.String key,
+          /* nullable */
+          com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map<
+            java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress>
+        map = internalGetTables().getMap();
     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.
@@ -1161,14 +1334,19 @@ 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; + * */ @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(); } @@ -1176,6 +1354,7 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1187,8 +1366,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()); } @@ -1198,12 +1376,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); } @@ -1214,26 +1388,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; @@ -1243,30 +1417,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; } @@ -1300,153 +1471,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(); @@ -1471,9 +1644,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 @@ -1492,8 +1665,11 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata result = new com.google.bigtable.admin.v2.CreateClusterMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateClusterMetadata result = + new com.google.bigtable.admin.v2.CreateClusterMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1501,19 +1677,15 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = originalRequestBuilder_ == null - ? originalRequest_ - : originalRequestBuilder_.build(); + result.originalRequest_ = + originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = requestTimeBuilder_ == null - ? requestTime_ - : requestTimeBuilder_.build(); + result.requestTime_ = + requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null - ? finishTime_ - : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.tables_ = internalGetTables(); @@ -1525,38 +1697,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata) other); } else { super.mergeFrom(other); return this; @@ -1564,7 +1737,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()); } @@ -1574,8 +1748,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()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1603,42 +1776,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - tables__ = input.readMessage( - TablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTables().getMutableMap().put( - tables__.getKey(), tables__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + tables__ = + input.readMessage( + TablesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableTables() + .getMutableMap() + .put(tables__.getKey(), tables__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1648,38 +1825,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1700,6 +1891,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequ return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1718,6 +1911,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1726,9 +1921,10 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - originalRequest_ != null && - originalRequest_ != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && originalRequest_ != null + && originalRequest_ + != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1741,6 +1937,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1758,6 +1956,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1770,21 +1970,27 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder + getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null ? - com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() + : originalRequest_; } } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1792,14 +1998,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_; @@ -1807,34 +2016,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1855,14 +2077,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(); } else { @@ -1873,6 +2096,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1881,9 +2106,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -1896,6 +2121,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1913,6 +2140,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1925,6 +2154,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1935,11 +2166,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.
      * 
@@ -1947,14 +2181,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_; @@ -1962,34 +2199,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2010,14 +2260,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(); } else { @@ -2028,6 +2279,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2036,9 +2289,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -2051,6 +2304,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2068,6 +2323,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2080,6 +2337,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2090,11 +2349,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.
      * 
@@ -2102,34 +2364,40 @@ 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> + 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 + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> internalGetMutableTables() { if (tables_ == null) { - tables_ = com.google.protobuf.MapField.newMapField( - TablesDefaultEntryHolder.defaultEntry); + tables_ = com.google.protobuf.MapField.newMapField(TablesDefaultEntryHolder.defaultEntry); } if (!tables_.isMutable()) { tables_ = tables_.copy(); @@ -2138,10 +2406,13 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { onChanged(); return tables_; } + public int getTablesCount() { return internalGetTables().getMap().size(); } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2153,23 +2424,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.
@@ -2181,13 +2457,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.
@@ -2199,20 +2481,27 @@ 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 /* nullable */
-com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTables().getMap();
+    public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress
+        getTablesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map<
+              java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress>
+          map = internalGetTables().getMap();
       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.
@@ -2224,26 +2513,33 @@ 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; + * */ @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(); } return map.get(key); } + public Builder clearTables() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableTables().getMutableMap() - .clear(); + internalGetMutableTables().getMutableMap().clear(); return this; } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2255,25 +2551,28 @@ 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 + public java.util.Map< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> getMutableTables() { bitField0_ |= 0x00000008; return internalGetMutableTables().getMutableMap(); } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2285,19 +2584,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 (value == null) { throw new NullPointerException("map value"); } - internalGetMutableTables().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableTables().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2309,18 +2615,21 @@ 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); bitField0_ |= 0x00000008; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2330,12 +2639,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(); } @@ -2344,27 +2653,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; @@ -2379,6 +2688,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 0268892546..ccd247493d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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.
@@ -100,10 +142,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.
@@ -115,17 +161,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.
@@ -137,11 +184,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.
@@ -153,14 +204,18 @@ 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.
@@ -172,7 +227,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/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 67% 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 23d4646131..500fed6ab7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,35 +44,42 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, + com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,31 +88,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 { @@ -96,9 +123,12 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -106,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -114,14 +145,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
@@ -129,16 +161,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 { @@ -149,12 +180,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 @@ -162,12 +197,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 @@ -175,12 +214,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() { @@ -188,6 +230,7 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,8 +242,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_); } @@ -226,8 +268,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; @@ -237,21 +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.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; @@ -278,131 +317,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(); @@ -418,9 +461,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 @@ -439,8 +482,11 @@ public com.google.bigtable.admin.v2.CreateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.CreateClusterRequest result = new com.google.bigtable.admin.v2.CreateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateClusterRequest result = + new com.google.bigtable.admin.v2.CreateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -454,9 +500,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } } @@ -464,38 +508,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -503,7 +548,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_; bitField0_ |= 0x00000001; @@ -543,29 +589,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,24 +623,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -601,22 +654,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 { @@ -624,32 +680,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -659,19 +726,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -681,6 +754,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
@@ -688,13 +763,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; @@ -703,6 +778,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
@@ -710,15 +787,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 { @@ -726,6 +802,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
@@ -733,18 +811,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -752,6 +834,7 @@ public Builder setClusterId(
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -761,6 +844,8 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -768,12 +853,14 @@ public Builder clearClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -783,42 +870,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -834,15 +940,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(); } else { @@ -853,18 +962,22 @@ 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 (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -877,12 +990,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -895,12 +1012,16 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -908,45 +1029,57 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, + com.google.bigtable.admin.v2.Cluster.Builder, + com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, + com.google.bigtable.admin.v2.Cluster.Builder, + com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +1089,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(); } @@ -970,27 +1103,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; @@ -1005,6 +1138,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..f5cc680bf0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 70% 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 534f5ac489..e740777743 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ -public final class CreateInstanceMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceMetadata) CreateInstanceMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceMetadata.newBuilder() to construct. private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceMetadata() { - } + + private CreateInstanceMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, + com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; /** + * + * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -57,18 +78,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.
    * 
@@ -77,17 +105,22 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() + : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -95,11 +128,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 @@ -107,6 +143,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.
    * 
@@ -121,11 +159,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 @@ -133,11 +174,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 @@ -145,6 +189,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.
    * 
@@ -157,6 +203,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -189,16 +235,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; @@ -208,27 +251,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; @@ -259,131 +300,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(); @@ -407,9 +452,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 @@ -428,8 +473,11 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceMetadata result = new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateInstanceMetadata result = + new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -437,19 +485,15 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = originalRequestBuilder_ == null - ? originalRequest_ - : originalRequestBuilder_.build(); + result.originalRequest_ = + originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = requestTimeBuilder_ == null - ? requestTime_ - : requestTimeBuilder_.build(); + result.requestTime_ = + requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null - ? finishTime_ - : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); } } @@ -457,38 +501,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata) other); } else { super.mergeFrom(other); return this; @@ -496,7 +541,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 +578,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,38 +612,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateInstanceRequest, + com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, + com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> + originalRequestBuilder_; /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -620,6 +678,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceReq return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -638,6 +698,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -646,9 +708,10 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - originalRequest_ != null && - originalRequest_ != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && originalRequest_ != null + && originalRequest_ + != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -661,6 +724,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -678,6 +743,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -690,21 +757,27 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder + getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null ? - com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() + : originalRequest_; } } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -712,14 +785,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_; @@ -727,34 +803,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -775,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(); } else { @@ -793,6 +883,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -801,9 +893,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -816,6 +908,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -833,6 +927,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -845,6 +941,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -855,11 +953,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.
      * 
@@ -867,14 +968,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_; @@ -882,34 +986,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -930,14 +1047,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(); } else { @@ -948,6 +1066,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -956,9 +1076,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -971,6 +1091,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -988,6 +1110,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1000,6 +1124,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1010,11 +1136,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.
      * 
@@ -1022,21 +1151,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); } @@ -1046,12 +1178,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(); } @@ -1060,27 +1192,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; @@ -1095,6 +1227,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..017fb9208f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 9db22e018e..78d905eda9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,46 +44,52 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetClusters(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, + com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -74,30 +98,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 { @@ -106,9 +132,12 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -116,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -124,14 +154,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
@@ -139,16 +170,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 { @@ -159,12 +189,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 @@ -172,58 +207,78 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } public static final int CLUSTERS_FIELD_NUMBER = 4; + private static final class ClustersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Cluster> defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Cluster> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField - 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_; } + 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
@@ -232,23 +287,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
@@ -257,13 +315,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
@@ -272,20 +334,25 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public /* nullable */ -com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ -com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -294,12 +361,15 @@ 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)) { @@ -309,6 +379,7 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +391,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_); } @@ -331,12 +401,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); } @@ -353,18 +419,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; @@ -374,24 +440,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; } @@ -421,153 +484,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(); @@ -584,9 +649,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 @@ -605,8 +670,11 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceRequest result = new com.google.bigtable.admin.v2.CreateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateInstanceRequest result = + new com.google.bigtable.admin.v2.CreateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -620,9 +688,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.clusters_ = internalGetClusters(); @@ -634,38 +700,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -673,7 +740,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_; bitField0_ |= 0x00000001; @@ -687,8 +755,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()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -716,38 +783,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - clusters__ = input.readMessage( - ClustersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableClusters().getMutableMap().put( - clusters__.getKey(), clusters__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry + clusters__ = + input.readMessage( + ClustersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableClusters() + .getMutableMap() + .put(clusters__.getKey(), clusters__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -757,23 +830,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; @@ -782,21 +860,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 { @@ -804,30 +885,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -837,18 +929,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -858,6 +956,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
@@ -865,13 +965,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; @@ -880,6 +980,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
@@ -887,15 +989,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 { @@ -903,6 +1004,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
@@ -910,18 +1013,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -929,6 +1036,7 @@ public Builder setInstanceId(
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -938,6 +1046,8 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -945,12 +1055,14 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -960,42 +1072,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -1011,15 +1142,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(); } else { @@ -1030,18 +1164,22 @@ 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 (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1054,12 +1192,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1072,12 +1214,16 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1085,58 +1231,71 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance.Builder, + com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance.Builder, + com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; + private com.google.protobuf.MapField + clusters_; + private com.google.protobuf.MapField internalGetClusters() { if (clusters_ == null) { - return com.google.protobuf.MapField.emptyMapField( - ClustersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(ClustersDefaultEntryHolder.defaultEntry); } return clusters_; } + private com.google.protobuf.MapField internalGetMutableClusters() { if (clusters_ == null) { - clusters_ = com.google.protobuf.MapField.newMapField( - ClustersDefaultEntryHolder.defaultEntry); + clusters_ = + com.google.protobuf.MapField.newMapField(ClustersDefaultEntryHolder.defaultEntry); } if (!clusters_.isMutable()) { clusters_ = clusters_.copy(); @@ -1145,10 +1304,13 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { onChanged(); return clusters_; } + public int getClustersCount() { return internalGetClusters().getMap().size(); } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1157,23 +1319,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,13 +1347,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
@@ -1197,20 +1366,25 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public /* nullable */ -com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ -com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1219,12 +1393,15 @@ 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)) { @@ -1232,13 +1409,15 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( } return map.get(key); } + public Builder clearClusters() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableClusters().getMutableMap() - .clear(); + internalGetMutableClusters().getMutableMap().clear(); return this; } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1247,18 +1426,18 @@ public Builder clearClusters() {
      * Currently, at most four clusters can be specified.
      * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder removeClusters( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableClusters().getMutableMap() - .remove(key); + public Builder removeClusters(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableClusters().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableClusters() { @@ -1266,6 +1445,8 @@ public Builder removeClusters( return internalGetMutableClusters().getMutableMap(); } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1274,19 +1455,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"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableClusters().getMutableMap() - .put(key, value); + public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cluster value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableClusters().getMutableMap().put(key, value); bitField0_ |= 0x00000008; return this; } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1295,18 +1481,19 @@ 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); bitField0_ |= 0x00000008; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1316,12 +1503,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(); } @@ -1330,27 +1517,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; @@ -1365,6 +1552,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 32a0f3c3b8..bb363f5f50 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,14 +189,18 @@ 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
@@ -152,8 +209,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 69% 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 8df5196895..36fdc7c87b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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.
  *
@@ -15,47 +32,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();
   }
 
-  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 @@ -63,19 +85,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.
@@ -84,18 +113,24 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
    * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
-    return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
+  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
+      getOriginalRequestOrBuilder() {
+    return originalRequest_ == null
+        ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
+        : originalRequest_;
   }
 
   public static final int REQUEST_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp requestTime_;
   /**
+   *
+   *
    * 
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -103,11 +138,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 @@ -115,6 +153,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.
    * 
@@ -129,11 +169,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 @@ -141,11 +184,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 @@ -153,6 +199,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.
    * 
@@ -165,6 +213,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +225,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()); } @@ -197,16 +245,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; @@ -216,27 +261,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; @@ -267,98 +310,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.
    *
@@ -370,33 +419,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();
@@ -420,13 +468,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();
     }
 
@@ -441,28 +490,28 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result =
+          new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
+    private void buildPartial0(
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ = originalRequestBuilder_ == null
-            ? originalRequest_
-            : originalRequestBuilder_.build();
+        result.originalRequest_ =
+            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ = requestTimeBuilder_ == null
-            ? requestTime_
-            : requestTimeBuilder_.build();
+        result.requestTime_ =
+            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null
-            ? finishTime_
-            : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
       }
     }
 
@@ -470,38 +519,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotM
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -509,7 +559,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());
       }
@@ -545,33 +597,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getOriginalRequestFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRequestTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getFinishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -581,40 +631,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> originalRequestBuilder_;
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
+        originalRequestBuilder_;
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -622,7 +686,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();
@@ -636,6 +701,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSn
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -655,6 +722,8 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -662,11 +731,14 @@ public Builder setOriginalRequest(
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder mergeOriginalRequest(
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          originalRequest_ != null &&
-          originalRequest_ != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && originalRequest_ != null
+            && originalRequest_
+                != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
+                    .getDefaultInstance()) {
           getOriginalRequestBuilder().mergeFrom(value);
         } else {
           originalRequest_ = value;
@@ -679,6 +751,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateTableFrom
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -697,6 +771,8 @@ public Builder clearOriginalRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -704,12 +780,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() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getOriginalRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -717,15 +796,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.
@@ -734,14 +817,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_;
@@ -749,34 +835,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -797,14 +896,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(); } else { @@ -815,6 +915,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -823,9 +925,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -838,6 +940,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -855,6 +959,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -867,6 +973,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -877,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.
      * 
@@ -889,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_; @@ -904,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -952,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(); } else { @@ -970,6 +1098,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -978,9 +1108,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -993,6 +1123,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1010,6 +1142,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1022,6 +1156,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1032,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.
      * 
@@ -1044,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); } @@ -1068,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(); } @@ -1082,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; @@ -1117,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..f9d8284fc5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 4cf58825f7..90eb8f86bf 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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]
@@ -16,15 +33,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_ = "";
@@ -33,34 +52,41 @@ private CreateTableFromSnapshotRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,30 +95,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 { @@ -101,15 +129,19 @@ public java.lang.String getParent() { } public static final int TABLE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** + * + * *
    * Required. The name by which the new table should be referred to within the parent
    * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tableId. */ @java.lang.Override @@ -118,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 { @@ -150,9 +182,12 @@ public java.lang.String getTableId() { } public static final int SOURCE_SNAPSHOT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object sourceSnapshot_ = ""; /** + * + * *
    * Required. The unique name of the snapshot from which to restore the table. The
    * snapshot and the table must be in the same instance.
@@ -160,7 +195,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 @@ -169,14 +207,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.
@@ -184,17 +223,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 { @@ -203,6 +243,7 @@ public java.lang.String getSourceSnapshot() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,8 +255,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_); } @@ -251,19 +291,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; } @@ -287,98 +325,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]
@@ -391,33 +435,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 +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_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,8 +493,11 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result =
+          new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -473,38 +519,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -512,7 +559,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_;
         bitField0_ |= 0x00000001;
@@ -554,27 +602,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tableId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              sourceSnapshot_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tableId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                sourceSnapshot_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -584,23 +636,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; @@ -609,21 +666,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 { @@ -631,30 +691,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -664,18 +735,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -685,19 +762,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; @@ -706,21 +785,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 { @@ -728,30 +808,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTableId() { @@ -761,18 +848,22 @@ public Builder clearTableId() { return this; } /** + * + * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -782,6 +873,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.
@@ -789,14 +882,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; @@ -805,6 +900,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.
@@ -812,16 +909,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 { @@ -829,6 +927,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.
@@ -836,19 +936,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceSnapshot(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -856,7 +962,10 @@ 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() { @@ -866,6 +975,8 @@ public Builder clearSourceSnapshot() { return this; } /** + * + * *
      * Required. The unique name of the snapshot from which to restore the table. The
      * snapshot and the table must be in the same instance.
@@ -873,22 +984,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -898,12 +1013,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(); } @@ -912,27 +1027,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; @@ -947,6 +1062,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..db4fc23d26 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 f3f83c209d..b09ecb44b2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,86 +46,98 @@ private CreateTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableRequest.class,
+            com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
   }
 
-  public interface SplitOrBuilder extends
+  public interface SplitOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableRequest.Split)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; + * * @return The key. */ com.google.protobuf.ByteString getKey(); } /** + * + * *
    * An initial split point for a newly created table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Split extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Split extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableRequest.Split) SplitOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Split.newBuilder() to construct. private Split(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Split() { key_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Split(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, + com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -116,6 +146,7 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,8 +158,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_); } @@ -142,8 +172,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; @@ -153,15 +182,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; } @@ -181,89 +210,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 @@ -273,39 +307,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(); @@ -315,9 +351,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 @@ -336,8 +372,11 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateTableRequest.Split buildPartial() { - com.google.bigtable.admin.v2.CreateTableRequest.Split result = new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.CreateTableRequest.Split result = + new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -353,38 +392,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest.Split public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split) { - return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split)other); + return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split) other); } else { super.mergeFrom(other); return this; @@ -392,7 +434,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()); } @@ -422,17 +465,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - key_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + key_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -442,15 +487,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -458,27 +507,35 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** + * + * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; + * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { @@ -487,6 +544,7 @@ public Builder clearKey() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -499,12 +557,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(); } @@ -513,27 +571,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; @@ -548,19 +607,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -569,30 +633,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 { @@ -601,9 +667,12 @@ public java.lang.String getParent() { } public static final int TABLE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** + * + * *
    * Required. The name by which the new table should be referred to within the parent
    * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -611,6 +680,7 @@ public java.lang.String getParent() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tableId. */ @java.lang.Override @@ -619,14 +689,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 +705,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 +724,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 +740,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 +756,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() { @@ -690,9 +771,12 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { } public static final int INITIAL_SPLITS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List initialSplits_; /** + * + * *
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -715,10 +799,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).
@@ -741,11 +828,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).
@@ -772,6 +861,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).
@@ -798,6 +889,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).
@@ -826,6 +919,7 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -837,8 +931,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_);
     }
@@ -867,12 +960,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;
@@ -882,24 +973,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;
   }
@@ -928,99 +1016,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]
@@ -1028,33 +1121,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();
@@ -1077,9 +1169,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
@@ -1098,14 +1190,18 @@ public com.google.bigtable.admin.v2.CreateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableRequest result = new com.google.bigtable.admin.v2.CreateTableRequest(this);
+      com.google.bigtable.admin.v2.CreateTableRequest result =
+          new com.google.bigtable.admin.v2.CreateTableRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.CreateTableRequest result) {
+    private void buildPartialRepeatedFields(
+        com.google.bigtable.admin.v2.CreateTableRequest result) {
       if (initialSplitsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           initialSplits_ = java.util.Collections.unmodifiableList(initialSplits_);
@@ -1126,9 +1222,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
         result.tableId_ = tableId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.table_ = tableBuilder_ == null
-            ? table_
-            : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
       }
     }
 
@@ -1136,38 +1230,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1175,7 +1270,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_;
         bitField0_ |= 0x00000001;
@@ -1207,9 +1303,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
             initialSplitsBuilder_ = null;
             initialSplits_ = other.initialSplits_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            initialSplitsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInitialSplitsFieldBuilder() : null;
+            initialSplitsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInitialSplitsFieldBuilder()
+                    : null;
           } else {
             initialSplitsBuilder_.addAllMessages(other.initialSplits_);
           }
@@ -1241,42 +1338,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tableId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              com.google.bigtable.admin.v2.CreateTableRequest.Split m =
-                  input.readMessage(
-                      com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
-                      extensionRegistry);
-              if (initialSplitsBuilder_ == null) {
-                ensureInitialSplitsIsMutable();
-                initialSplits_.add(m);
-              } else {
-                initialSplitsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tableId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.bigtable.admin.v2.CreateTableRequest.Split m =
+                    input.readMessage(
+                        com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
+                        extensionRegistry);
+                if (initialSplitsBuilder_ == null) {
+                  ensureInitialSplitsIsMutable();
+                  initialSplits_.add(m);
+                } else {
+                  initialSplitsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1286,23 +1386,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; @@ -1311,21 +1416,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 { @@ -1333,30 +1441,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1366,18 +1485,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1387,6 +1512,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`.
@@ -1394,13 +1521,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; @@ -1409,6 +1536,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`.
@@ -1416,15 +1545,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 { @@ -1432,6 +1560,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`.
@@ -1439,18 +1569,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1458,6 +1592,7 @@ public Builder setTableId(
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTableId() { @@ -1467,6 +1602,8 @@ public Builder clearTableId() { return this; } /** + * + * *
      * Required. The name by which the new table should be referred to within the parent
      * instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1474,12 +1611,14 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -1489,24 +1628,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -1517,11 +1667,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) { @@ -1537,14 +1690,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(); } else { @@ -1555,17 +1710,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 (((bitField0_ & 0x00000004) != 0) && - table_ != null && - table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && table_ != null + && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -1578,11 +1736,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1595,11 +1756,14 @@ public Builder clearTable() { return this; } /** + * + * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000004; @@ -1607,54 +1771,70 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? - com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** + * + * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, + com.google.bigtable.admin.v2.Table.Builder, + com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), - getParentForChildren(), - isClean()); + tableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, + com.google.bigtable.admin.v2.Table.Builder, + com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } private java.util.List initialSplits_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInitialSplitsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - initialSplits_ = new java.util.ArrayList(initialSplits_); + initialSplits_ = + new java.util.ArrayList( + initialSplits_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> initialSplitsBuilder_; + com.google.bigtable.admin.v2.CreateTableRequest.Split, + com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, + com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> + initialSplitsBuilder_; /** + * + * *
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1676,7 +1856,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 {
@@ -1684,6 +1865,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).
@@ -1713,6 +1896,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).
@@ -1742,6 +1927,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).
@@ -1778,6 +1965,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).
@@ -1811,6 +2000,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).
@@ -1846,6 +2037,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).
@@ -1882,6 +2075,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).
@@ -1915,6 +2110,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).
@@ -1948,6 +2145,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).
@@ -1970,11 +2169,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);
@@ -1982,6 +2181,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).
@@ -2014,6 +2215,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).
@@ -2046,6 +2249,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).
@@ -2072,6 +2277,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).
@@ -2096,11 +2303,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).
@@ -2122,8 +2332,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 {
@@ -2131,6 +2341,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).
@@ -2153,10 +2365,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).
@@ -2180,10 +2394,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).
@@ -2205,16 +2422,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_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -2223,9 +2446,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);
     }
 
@@ -2235,12 +2458,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();
   }
@@ -2249,27 +2472,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;
@@ -2284,6 +2507,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 d4d8e3f320..cdf535cdd7 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the 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).
@@ -102,9 +145,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).
@@ -128,6 +172,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).
@@ -151,6 +197,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).
@@ -172,9 +220,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 eb6ccd694e..99ca75309c 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,58 +1,83 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_instance_admin.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
+ *
+ *
  * 
  * Request message for BigtableInstanceAdmin.DeleteAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ -public final class DeleteAppProfileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) DeleteAppProfileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAppProfileRequest.newBuilder() to construct. private DeleteAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, + com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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 { @@ -95,11 +122,14 @@ public java.lang.String getName() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 2; private boolean ignoreWarnings_ = false; /** + * + * *
    * Required. If true, ignore safety checks when deleting the app profile.
    * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -108,6 +138,7 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +150,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,8 +170,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; @@ -151,17 +180,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; } @@ -176,139 +204,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(); @@ -319,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_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 @@ -340,8 +371,11 @@ public com.google.bigtable.admin.v2.DeleteAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteAppProfileRequest result = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.DeleteAppProfileRequest result = + new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -360,38 +394,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteAppProfileRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest) other); } else { super.mergeFrom(other); return this; @@ -399,7 +434,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_; bitField0_ |= 0x00000001; @@ -434,22 +470,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -459,23 +498,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -484,21 +528,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 { @@ -506,30 +553,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -539,18 +597,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -558,13 +622,16 @@ public Builder setNameBytes( 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 @@ -572,11 +639,14 @@ 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. */ @@ -588,11 +658,14 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** + * + * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -601,9 +674,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,12 +686,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(); } @@ -627,27 +700,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; @@ -662,6 +735,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..3a098ba3f5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 64% 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 12bb2f70d3..f33cf6b081 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteBackupRequest.class, com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteBackupRequest.class, + com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +134,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_); } @@ -131,15 +158,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; } @@ -158,132 +185,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(); @@ -293,9 +324,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 @@ -314,8 +345,11 @@ public com.google.bigtable.admin.v2.DeleteBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteBackupRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteBackupRequest result = new com.google.bigtable.admin.v2.DeleteBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.DeleteBackupRequest result = + new com.google.bigtable.admin.v2.DeleteBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +365,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteBackupRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -370,7 +405,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_; bitField0_ |= 0x00000001; @@ -402,17 +438,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,24 +460,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,22 +491,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 { @@ -471,32 +517,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -506,28 +563,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +600,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(); } @@ -551,27 +614,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; @@ -586,6 +649,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..50a22d0974 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 64% 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 d73d154db4..f537f96f47 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.DeleteCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteClusterRequest) DeleteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, + com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the cluster to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -157,131 +184,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(); @@ -291,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_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 @@ -312,8 +343,11 @@ public com.google.bigtable.admin.v2.DeleteClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteClusterRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteClusterRequest result = new com.google.bigtable.admin.v2.DeleteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.DeleteClusterRequest result = + new com.google.bigtable.admin.v2.DeleteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteClusterRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,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_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,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 { @@ -467,30 +513,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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..73b88667fa --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +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 64% 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 f506aed541..9da3c6d2f2 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.DeleteInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, + com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -157,131 +184,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(); @@ -291,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_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 @@ -312,8 +343,11 @@ public com.google.bigtable.admin.v2.DeleteInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteInstanceRequest result = new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.DeleteInstanceRequest result = + new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteInstanceRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,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_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,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 { @@ -467,30 +513,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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..5e243bfdb2 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +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 d61943d579..46b20514d0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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]
@@ -16,50 +33,58 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
  */
-public final class DeleteSnapshotRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
     DeleteSnapshotRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteSnapshotRequest.newBuilder() to construct.
   private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,31 +93,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 { @@ -101,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +140,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_); } @@ -137,15 +164,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; } @@ -165,98 +192,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 +301,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 +336,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,8 +357,11 @@ public com.google.bigtable.admin.v2.DeleteSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteSnapshotRequest result = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.DeleteSnapshotRequest result =
+          new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -343,38 +377,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -382,7 +417,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_;
         bitField0_ |= 0x00000001;
@@ -414,17 +450,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -434,24 +472,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -460,22 +503,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 { @@ -483,32 +529,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -518,28 +575,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -549,12 +612,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(); } @@ -563,27 +626,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; @@ -598,6 +661,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..fefaaac550 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 64% 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 659186f79f..d4af38ab3c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,50 +28,58 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
  */
-public final class DeleteTableRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteTableRequest)
     DeleteTableRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteTableRequest.newBuilder() to construct.
   private DeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteTableRequest.class,
+            com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,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 { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,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_); } @@ -132,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.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; } @@ -159,99 +186,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]
@@ -259,33 +291,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();
@@ -295,9 +326,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
@@ -316,8 +347,11 @@ public com.google.bigtable.admin.v2.DeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteTableRequest result = new com.google.bigtable.admin.v2.DeleteTableRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.DeleteTableRequest result =
+          new com.google.bigtable.admin.v2.DeleteTableRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +367,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteTableRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +407,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_;
         bitField0_ |= 0x00000001;
@@ -404,17 +440,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +462,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,22 +493,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 { @@ -473,32 +519,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -508,28 +565,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +602,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(); } @@ -553,27 +616,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; @@ -588,6 +651,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..7dd3d8ec74 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 92a0e29917..b92749e338 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,49 +28,55 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
  */
-public final class DropRowRangeRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DropRowRangeRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DropRowRangeRequest)
     DropRowRangeRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DropRowRangeRequest.newBuilder() to construct.
   private DropRowRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DropRowRangeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DropRowRangeRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+            com.google.bigtable.admin.v2.DropRowRangeRequest.class,
+            com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
   }
 
   private int targetCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object target_;
+
   public enum TargetCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ROW_KEY_PREFIX(2),
     DELETE_ALL_DATA_FROM_TABLE(3),
     TARGET_NOT_SET(0);
     private final int value;
+
     private TargetCase(int value) {
       this.value = value;
     }
@@ -69,34 +92,43 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 2: return ROW_KEY_PREFIX;
-        case 3: return DELETE_ALL_DATA_FROM_TABLE;
-        case 0: return TARGET_NOT_SET;
-        default: return null;
+        case 2:
+          return ROW_KEY_PREFIX;
+        case 3:
+          return DELETE_ALL_DATA_FROM_TABLE;
+        case 0:
+          return TARGET_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase
-  getTargetCase() {
-    return TargetCase.forNumber(
-        targetCase_);
+  public TargetCase getTargetCase() {
+    return TargetCase.forNumber(targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -105,31 +137,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 { @@ -139,12 +173,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 @@ -152,12 +189,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 @@ -170,11 +210,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 @@ -182,11 +225,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 @@ -198,6 +244,7 @@ public boolean getDeleteAllDataFromTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,18 +256,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); } @@ -235,14 +279,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; @@ -252,24 +296,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: @@ -294,8 +336,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: @@ -305,99 +346,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]
@@ -405,33 +451,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();
@@ -443,9 +488,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
@@ -464,8 +509,11 @@ public com.google.bigtable.admin.v2.DropRowRangeRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DropRowRangeRequest buildPartial() {
-      com.google.bigtable.admin.v2.DropRowRangeRequest result = new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.DropRowRangeRequest result =
+          new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -487,38 +535,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.DropRowRangeRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DropRowRangeRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -526,24 +575,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DropRowRangeRequest other) {
-      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()) return this;
+      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getTargetCase()) {
-        case ROW_KEY_PREFIX: {
-          setRowKeyPrefix(other.getRowKeyPrefix());
-          break;
-        }
-        case DELETE_ALL_DATA_FROM_TABLE: {
-          setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
-          break;
-        }
-        case TARGET_NOT_SET: {
-          break;
-        }
+        case ROW_KEY_PREFIX:
+          {
+            setRowKeyPrefix(other.getRowKeyPrefix());
+            break;
+          }
+        case DELETE_ALL_DATA_FROM_TABLE:
+          {
+            setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
+            break;
+          }
+        case TARGET_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -571,27 +624,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              target_ = input.readBytes();
-              targetCase_ = 2;
-              break;
-            } // case 18
-            case 24: {
-              target_ = input.readBool();
-              targetCase_ = 3;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                target_ = input.readBytes();
+                targetCase_ = 2;
+                break;
+              } // case 18
+            case 24:
+              {
+                target_ = input.readBool();
+                targetCase_ = 3;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -601,12 +658,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() {
@@ -620,20 +677,24 @@ public Builder clearTarget() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -642,22 +703,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 { @@ -665,32 +729,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -700,19 +775,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -721,24 +802,30 @@ public Builder setNameBytes( } /** + * + * *
      * 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() { @@ -748,29 +835,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(); } + if (value == null) { + throw new NullPointerException(); + } targetCase_ = 2; target_ = value; onChanged(); return this; } /** + * + * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; + * * @return This builder for chaining. */ public Builder clearRowKeyPrefix() { @@ -783,22 +878,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() { @@ -808,11 +909,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. */ @@ -824,11 +928,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() { @@ -839,9 +946,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); } @@ -851,12 +958,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(); } @@ -865,27 +972,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; @@ -900,6 +1007,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 6881cd4667..268f9bce23 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 66% 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 db5f1a2eeb..03f635c4a4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +47,38 @@ private EncryptionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EncryptionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto
+        .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto
+        .internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.EncryptionInfo.class, com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
+            com.google.bigtable.admin.v2.EncryptionInfo.class,
+            com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible encryption types for a resource.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.EncryptionInfo.EncryptionType} */ - public enum EncryptionType - implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -65,6 +87,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.
@@ -75,6 +99,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.
@@ -92,6 +118,8 @@ public enum EncryptionType
     ;
 
     /**
+     *
+     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -100,6 +128,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.
@@ -110,6 +140,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.
@@ -124,7 +156,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(
@@ -149,49 +180,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;
@@ -211,38 +242,57 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Output only. The type of encryption used to protect this resource.
    * 
* - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null + ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED + : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** + * + * *
    * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
    * Regardless of status, the existing data is always encrypted at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -250,41 +300,58 @@ public boolean hasEncryptionStatus() { return encryptionStatus_ != null; } /** + * + * *
    * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
    * Regardless of status, the existing data is always encrypted at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionStatus. */ @java.lang.Override public com.google.rpc.Status getEncryptionStatus() { - return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; + return encryptionStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : encryptionStatus_; } /** + * + * *
    * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
    * Regardless of status, the existing data is always encrypted at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { - return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; + return encryptionStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : encryptionStatus_; } public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyVersion_ = ""; /** + * + * *
    * Output only. The version of the Cloud KMS key specified in the parent cluster that is
    * in use for the data underlying this table.
    * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The kmsKeyVersion. */ @java.lang.Override @@ -293,30 +360,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 { @@ -325,6 +394,7 @@ public java.lang.String getKmsKeyVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,12 +406,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) { @@ -359,13 +430,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; @@ -375,21 +446,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; } @@ -414,99 +484,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
@@ -516,33 +591,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();
@@ -558,9 +632,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
@@ -579,8 +653,11 @@ public com.google.bigtable.admin.v2.EncryptionInfo build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.EncryptionInfo buildPartial() {
-      com.google.bigtable.admin.v2.EncryptionInfo result = new com.google.bigtable.admin.v2.EncryptionInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.EncryptionInfo result =
+          new com.google.bigtable.admin.v2.EncryptionInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -591,9 +668,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
         result.encryptionType_ = encryptionType_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.encryptionStatus_ = encryptionStatusBuilder_ == null
-            ? encryptionStatus_
-            : encryptionStatusBuilder_.build();
+        result.encryptionStatus_ =
+            encryptionStatusBuilder_ == null ? encryptionStatus_ : encryptionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.kmsKeyVersion_ = kmsKeyVersion_;
@@ -604,38 +680,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.EncryptionInfo) {
-        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo)other);
+        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -681,29 +758,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              kmsKeyVersion_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 24: {
-              encryptionType_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getEncryptionStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                kmsKeyVersion_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 24:
+              {
+                encryptionType_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -713,26 +793,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int encryptionType_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The type of encryption used to protect this resource.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override public int getEncryptionTypeValue() { + @java.lang.Override + public int getEncryptionTypeValue() { return encryptionType_; } /** + * + * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -743,28 +835,42 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null + ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType(com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { + public Builder setEncryptionType( + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -774,11 +880,16 @@ public Builder setEncryptionType(com.google.bigtable.admin.v2.EncryptionInfo.Enc 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() { @@ -790,42 +901,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionStatus. */ public com.google.rpc.Status getEncryptionStatus() { if (encryptionStatusBuilder_ == null) { - return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; + return encryptionStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : encryptionStatus_; } else { return encryptionStatusBuilder_.getMessage(); } } /** + * + * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -841,15 +966,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(); } else { @@ -860,18 +987,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 (((bitField0_ & 0x00000002) != 0) && - encryptionStatus_ != null && - encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && encryptionStatus_ != null + && encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { getEncryptionStatusBuilder().mergeFrom(value); } else { encryptionStatus_ = value; @@ -884,12 +1014,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -902,12 +1035,15 @@ public Builder clearEncryptionStatus() { return this; } /** + * + * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -915,38 +1051,46 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { if (encryptionStatusBuilder_ != null) { return encryptionStatusBuilder_.getMessageOrBuilder(); } else { - return encryptionStatus_ == null ? - com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; + return encryptionStatus_ == null + ? com.google.rpc.Status.getDefaultInstance() + : encryptionStatus_; } } /** + * + * *
      * Output only. The status of encrypt/decrypt calls on underlying data for this resource.
      * Regardless of status, the existing data is always encrypted at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getEncryptionStatusFieldBuilder() { if (encryptionStatusBuilder_ == null) { - encryptionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getEncryptionStatus(), - getParentForChildren(), - isClean()); + encryptionStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getEncryptionStatus(), getParentForChildren(), isClean()); encryptionStatus_ = null; } return encryptionStatusBuilder_; @@ -954,19 +1098,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; @@ -975,21 +1123,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 { @@ -997,30 +1148,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The version of the Cloud KMS key specified in the parent cluster that is
      * in use for the data underlying this table.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1030,27 +1192,33 @@ public Builder clearKmsKeyVersion() { return this; } /** + * + * *
      * Output only. The version of the Cloud KMS key specified in the parent cluster that is
      * in use for the data underlying this table.
      * 
* - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +1228,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(); } @@ -1074,27 +1242,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; @@ -1109,6 +1277,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..1b0ea589fd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 48d7d58d18..f1d91ba8b7 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,61 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Rule for determining which cells to delete during garbage collection.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ -public final class GcRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule) GcRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcRule.newBuilder() to construct. private GcRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcRule() { - } + + private GcRule() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcRule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, + com.google.bigtable.admin.v2.GcRule.Builder.class); } - public interface IntersectionOrBuilder extends + public interface IntersectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Intersection) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -64,6 +86,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`.
      * 
@@ -72,68 +96,77 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, + com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -145,6 +178,8 @@ public java.util.List getRulesList() { return rules_; } /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -152,11 +187,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`.
      * 
@@ -168,6 +205,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -179,6 +218,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`.
      * 
@@ -186,12 +227,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; @@ -203,8 +244,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)); } @@ -218,8 +258,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; @@ -229,15 +268,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; } @@ -259,89 +298,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 @@ -351,39 +394,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(); @@ -399,9 +444,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 @@ -420,14 +465,18 @@ public com.google.bigtable.admin.v2.GcRule.Intersection build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection buildPartial() { - com.google.bigtable.admin.v2.GcRule.Intersection result = new com.google.bigtable.admin.v2.GcRule.Intersection(this); + com.google.bigtable.admin.v2.GcRule.Intersection result = + new com.google.bigtable.admin.v2.GcRule.Intersection(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.GcRule.Intersection result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.GcRule.Intersection result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -447,38 +496,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Intersection resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Intersection) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection)other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection) other); } else { super.mergeFrom(other); return this; @@ -486,7 +538,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()) { @@ -505,9 +558,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_); } @@ -539,25 +593,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) { @@ -567,21 +622,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`.
        * 
@@ -596,6 +658,8 @@ public java.util.List getRulesList() { } } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -610,6 +674,8 @@ public int getRulesCount() { } } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -624,14 +690,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(); @@ -645,6 +712,8 @@ public Builder setRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -663,6 +732,8 @@ public Builder setRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -683,14 +754,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(); @@ -704,14 +776,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()); @@ -722,6 +795,8 @@ public Builder addRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -740,6 +815,8 @@ public Builder addRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -750,8 +827,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); @@ -759,6 +835,8 @@ public Builder addAllRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -776,6 +854,8 @@ public Builder clearRules() { return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -793,39 +873,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 { @@ -833,6 +918,8 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -840,46 +927,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) { @@ -892,12 +985,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(); } @@ -906,27 +999,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; @@ -941,23 +1035,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`.
      * 
@@ -966,6 +1063,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`.
      * 
@@ -974,68 +1073,77 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, + com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1047,6 +1155,8 @@ public java.util.List getRulesList() { return rules_; } /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1054,11 +1164,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`.
      * 
@@ -1070,6 +1182,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1081,6 +1195,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`.
      * 
@@ -1088,12 +1204,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; @@ -1105,8 +1221,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)); } @@ -1120,8 +1235,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; @@ -1131,15 +1245,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; } @@ -1160,90 +1274,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 +1371,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(); @@ -1301,9 +1421,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 @@ -1322,9 +1442,12 @@ public com.google.bigtable.admin.v2.GcRule.Union build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union buildPartial() { - com.google.bigtable.admin.v2.GcRule.Union result = new com.google.bigtable.admin.v2.GcRule.Union(this); + com.google.bigtable.admin.v2.GcRule.Union result = + new com.google.bigtable.admin.v2.GcRule.Union(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1349,38 +1472,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Union result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Union) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union)other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union) other); } else { super.mergeFrom(other); return this; @@ -1407,9 +1533,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_); } @@ -1441,25 +1568,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) { @@ -1469,21 +1597,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`.
        * 
@@ -1498,6 +1633,8 @@ public java.util.List getRulesList() { } } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1512,6 +1649,8 @@ public int getRulesCount() { } } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1526,14 +1665,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(); @@ -1547,6 +1687,8 @@ public Builder setRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1565,6 +1707,8 @@ public Builder setRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1585,14 +1729,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(); @@ -1606,14 +1751,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()); @@ -1624,6 +1770,8 @@ public Builder addRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1642,6 +1790,8 @@ public Builder addRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1652,8 +1802,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); @@ -1661,6 +1810,8 @@ public Builder addAllRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1678,6 +1829,8 @@ public Builder clearRules() { return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1695,39 +1848,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 { @@ -1735,6 +1893,8 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1742,46 +1902,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) { @@ -1794,12 +1960,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(); } @@ -1808,27 +1974,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; @@ -1843,14 +2010,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int ruleCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object rule_; + public enum RuleCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAX_NUM_VERSIONS(1), MAX_AGE(2), @@ -1858,6 +2027,7 @@ public enum RuleCase UNION(4), RULE_NOT_SET(0); private final int value; + private RuleCase(int value) { this.value = value; } @@ -1873,32 +2043,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 @@ -1906,11 +2084,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 @@ -1923,6 +2104,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
@@ -1930,6 +2113,7 @@ public int getMaxNumVersions() {
    * 
* * .google.protobuf.Duration max_age = 2; + * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -1937,6 +2121,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
@@ -1944,16 +2130,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
@@ -1965,18 +2154,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 @@ -1984,21 +2176,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.
    * 
@@ -2008,18 +2205,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 @@ -2027,21 +2227,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.
    * 
@@ -2051,12 +2256,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; @@ -2068,11 +2274,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_); @@ -2093,21 +2297,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; @@ -2117,7 +2324,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); @@ -2127,20 +2334,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: @@ -2181,132 +2384,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(); @@ -2326,9 +2532,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 @@ -2348,7 +2554,9 @@ public com.google.bigtable.admin.v2.GcRule build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule buildPartial() { com.google.bigtable.admin.v2.GcRule result = new com.google.bigtable.admin.v2.GcRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2361,16 +2569,13 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { result.ruleCase_ = ruleCase_; result.rule_ = this.rule_; - if (ruleCase_ == 2 && - maxAgeBuilder_ != null) { + if (ruleCase_ == 2 && maxAgeBuilder_ != null) { result.rule_ = maxAgeBuilder_.build(); } - if (ruleCase_ == 3 && - intersectionBuilder_ != null) { + if (ruleCase_ == 3 && intersectionBuilder_ != null) { result.rule_ = intersectionBuilder_.build(); } - if (ruleCase_ == 4 && - unionBuilder_ != null) { + if (ruleCase_ == 4 && unionBuilder_ != null) { result.rule_ = unionBuilder_.build(); } } @@ -2379,38 +2584,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule)other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule) other); } else { super.mergeFrom(other); return this; @@ -2420,25 +2626,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(); @@ -2466,38 +2677,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) { @@ -2507,12 +2717,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() { @@ -2525,22 +2735,28 @@ public Builder clearRule() { private int bitField0_; /** + * + * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; + * * @return Whether the maxNumVersions field is set. */ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** + * + * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; + * * @return The maxNumVersions. */ public int getMaxNumVersions() { @@ -2550,11 +2766,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. */ @@ -2566,11 +2785,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() { @@ -2583,8 +2805,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
@@ -2592,6 +2819,7 @@ public Builder clearMaxNumVersions() {
      * 
* * .google.protobuf.Duration max_age = 2; + * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2599,6 +2827,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
@@ -2606,6 +2836,7 @@ public boolean hasMaxAge() {
      * 
* * .google.protobuf.Duration max_age = 2; + * * @return The maxAge. */ @java.lang.Override @@ -2623,6 +2854,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
@@ -2645,6 +2878,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
@@ -2653,8 +2888,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();
@@ -2665,6 +2899,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
@@ -2675,10 +2911,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;
         }
@@ -2694,6 +2931,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
@@ -2719,6 +2958,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
@@ -2731,6 +2972,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
@@ -2751,6 +2994,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
@@ -2760,17 +3005,20 @@ 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;
@@ -2779,13 +3027,19 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> intersectionBuilder_;
+            com.google.bigtable.admin.v2.GcRule.Intersection,
+            com.google.bigtable.admin.v2.GcRule.Intersection.Builder,
+            com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>
+        intersectionBuilder_;
     /**
+     *
+     *
      * 
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; + * * @return Whether the intersection field is set. */ @java.lang.Override @@ -2793,11 +3047,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 @@ -2815,6 +3072,8 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { } } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2835,6 +3094,8 @@ public Builder setIntersection(com.google.bigtable.admin.v2.GcRule.Intersection return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2853,6 +3114,8 @@ public Builder setIntersection( return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2861,10 +3124,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; } @@ -2880,6 +3146,8 @@ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersectio return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2903,6 +3171,8 @@ public Builder clearIntersection() { return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2913,6 +3183,8 @@ public com.google.bigtable.admin.v2.GcRule.Intersection.Builder getIntersectionB return getIntersectionFieldBuilder().getBuilder(); } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2931,6 +3203,8 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2938,14 +3212,19 @@ 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()); @@ -2957,13 +3236,19 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> unionBuilder_; + com.google.bigtable.admin.v2.GcRule.Union, + com.google.bigtable.admin.v2.GcRule.Union.Builder, + com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> + unionBuilder_; /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; + * * @return Whether the union field is set. */ @java.lang.Override @@ -2971,11 +3256,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 @@ -2993,6 +3281,8 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { } } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3013,14 +3303,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(); @@ -3031,6 +3322,8 @@ public Builder setUnion( return this; } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3039,10 +3332,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; } @@ -3058,6 +3354,8 @@ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3081,6 +3379,8 @@ public Builder clearUnion() { return this; } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3091,6 +3391,8 @@ public com.google.bigtable.admin.v2.GcRule.Union.Builder getUnionBuilder() { return getUnionFieldBuilder().getBuilder(); } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3109,6 +3411,8 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { } } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3116,14 +3420,19 @@ 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()); @@ -3133,9 +3442,9 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { onChanged(); return unionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3145,12 +3454,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(); } @@ -3159,27 +3468,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; @@ -3194,6 +3503,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 3c5ae5c140..6739a21528 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 63ec797275..c11012523e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,50 +28,59 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
  */
-public final class GenerateConsistencyTokenRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateConsistencyTokenRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
     GenerateConsistencyTokenRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenRequest.newBuilder() to construct.
-  private GenerateConsistencyTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateConsistencyTokenRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the Table for which to create a consistency token.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +89,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 { @@ -96,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -132,15 +160,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; } @@ -160,98 +188,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]
@@ -259,33 +293,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();
@@ -295,13 +328,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();
     }
 
@@ -316,13 +350,17 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result =
+          new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
+    private void buildPartial0(
+        com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -333,38 +371,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyToken
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -372,7 +411,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_;
         bitField0_ |= 0x00000001;
@@ -404,17 +445,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +467,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,22 +498,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 { @@ -473,32 +524,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -508,28 +570,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the Table for which to create a consistency token.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +607,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(); } @@ -553,27 +622,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; @@ -588,6 +657,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..3636438b23 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 a16f237689..96bcd88bb2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,48 +28,55 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
  */
-public final class GenerateConsistencyTokenResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateConsistencyTokenResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
     GenerateConsistencyTokenResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenResponse.newBuilder() to construct.
-  private GenerateConsistencyTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateConsistencyTokenResponse() {
     consistencyToken_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
   }
 
   public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object consistencyToken_ = "";
   /**
+   *
+   *
    * 
    * The generated consistency token.
    * 
* * string consistency_token = 1; + * * @return The consistencyToken. */ @java.lang.Override @@ -61,29 +85,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 { @@ -92,6 +116,7 @@ public java.lang.String getConsistencyToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +128,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_); } @@ -128,15 +152,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; } @@ -156,98 +180,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]
@@ -255,33 +285,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();
@@ -291,13 +320,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();
     }
 
@@ -312,13 +342,17 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result =
+          new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
+    private void buildPartial0(
+        com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.consistencyToken_ = consistencyToken_;
@@ -329,38 +363,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyToken
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       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;
@@ -368,7 +403,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_;
         bitField0_ |= 0x00000001;
@@ -400,17 +437,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              consistencyToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                consistencyToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -420,22 +459,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object consistencyToken_ = "";
     /**
+     *
+     *
      * 
      * The generated consistency token.
      * 
* * string consistency_token = 1; + * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -444,20 +486,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 { @@ -465,28 +508,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setConsistencyToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; + * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -496,26 +546,30 @@ public Builder clearConsistencyToken() { return this; } /** + * + * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; + * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -525,12 +579,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(); } @@ -539,27 +594,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; @@ -574,6 +629,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..efe7e2fac8 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/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 3686734ee7..7e2d9e2c82 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.GetAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ -public final class GetAppProfileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetAppProfileRequest) GetAppProfileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAppProfileRequest.newBuilder() to construct. private GetAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, + com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the requested app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -157,131 +184,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(); @@ -291,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_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 @@ -312,8 +343,11 @@ public com.google.bigtable.admin.v2.GetAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.GetAppProfileRequest result = new com.google.bigtable.admin.v2.GetAppProfileRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.GetAppProfileRequest result = + new com.google.bigtable.admin.v2.GetAppProfileRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetAppProfileRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,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_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,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 { @@ -467,30 +513,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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..c625183c81 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +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 64% 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 4b72335065..402281630f 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetBackupRequest.class, com.google.bigtable.admin.v2.GetBackupRequest.Builder.class); + com.google.bigtable.admin.v2.GetBackupRequest.class, + com.google.bigtable.admin.v2.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +134,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_); } @@ -131,15 +158,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; } @@ -158,132 +185,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(); @@ -293,9 +324,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 @@ -314,8 +345,11 @@ public com.google.bigtable.admin.v2.GetBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetBackupRequest buildPartial() { - com.google.bigtable.admin.v2.GetBackupRequest result = new com.google.bigtable.admin.v2.GetBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.GetBackupRequest result = + new com.google.bigtable.admin.v2.GetBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +365,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetBackupRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -402,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,24 +459,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -448,22 +490,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 { @@ -471,32 +516,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -506,28 +562,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -537,12 +599,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(); } @@ -551,27 +613,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; @@ -586,6 +648,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..4e7d660d96 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 b4b468798a..87bd016968 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.GetCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ -public final class GetClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetClusterRequest) GetClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, + com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -156,132 +183,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(); @@ -291,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_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 @@ -312,8 +343,11 @@ public com.google.bigtable.admin.v2.GetClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetClusterRequest buildPartial() { - com.google.bigtable.admin.v2.GetClusterRequest result = new com.google.bigtable.admin.v2.GetClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.GetClusterRequest result = + new com.google.bigtable.admin.v2.GetClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetClusterRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,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 { @@ -467,30 +512,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,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(); } @@ -544,27 +606,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; @@ -579,6 +641,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..6c68b5f29f --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +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 64% 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 3649fb85e1..9206fe6aef 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.GetInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ -public final class GetInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetInstanceRequest) GetInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, + com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,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_); } @@ -129,15 +156,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; } @@ -156,132 +183,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(); @@ -291,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_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 @@ -312,8 +343,11 @@ public com.google.bigtable.admin.v2.GetInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.GetInstanceRequest result = new com.google.bigtable.admin.v2.GetInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.GetInstanceRequest result = + new com.google.bigtable.admin.v2.GetInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetInstanceRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,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_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,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 { @@ -467,30 +513,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,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(); } @@ -544,27 +607,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; @@ -579,6 +642,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..a0ccf2086d --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +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 d2ecc6d725..f5af0a39d3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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]
@@ -16,50 +33,58 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
  */
-public final class GetSnapshotRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetSnapshotRequest)
     GetSnapshotRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetSnapshotRequest.newBuilder() to construct.
   private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetSnapshotRequest.class,
+            com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -68,31 +93,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 { @@ -101,6 +128,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +140,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_); } @@ -137,15 +164,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; } @@ -164,99 +191,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 +301,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 +336,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,8 +357,11 @@ public com.google.bigtable.admin.v2.GetSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetSnapshotRequest result = new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.GetSnapshotRequest result =
+          new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -343,38 +377,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetSnapshotRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -382,7 +417,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_;
         bitField0_ |= 0x00000001;
@@ -414,17 +450,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -434,24 +472,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -460,22 +503,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 { @@ -483,32 +529,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -518,28 +575,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -549,12 +612,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(); } @@ -563,27 +626,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; @@ -598,6 +661,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..bf33c7e89a --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 67% 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 7301c1b83a..324b86085e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,35 +45,42 @@ private GetTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetTableRequest.class,
+            com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -64,31 +89,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 { @@ -99,32 +126,42 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; + * * @return The view. */ - @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override + public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,8 +173,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_); } @@ -157,8 +193,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; @@ -168,15 +203,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; @@ -198,99 +233,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]
@@ -298,33 +338,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();
@@ -335,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_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
@@ -356,8 +395,11 @@ public com.google.bigtable.admin.v2.GetTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetTableRequest result = new com.google.bigtable.admin.v2.GetTableRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.GetTableRequest result =
+          new com.google.bigtable.admin.v2.GetTableRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -376,38 +418,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetTableRequest result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -450,22 +493,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -475,24 +521,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -501,22 +552,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 { @@ -524,32 +578,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -559,19 +624,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -581,24 +652,31 @@ 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. */ @@ -609,26 +687,33 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; + * * @return The view. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** + * + * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -642,12 +727,15 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** + * + * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; + * * @return This builder for chaining. */ public Builder clearView() { @@ -656,9 +744,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -668,12 +756,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(); } @@ -682,27 +770,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; @@ -717,6 +805,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..3fb8ecacbe 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 b1a3ef3748..72cb91540b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +50,39 @@ private HotTablet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HotTablet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
+            com.google.bigtable.admin.v2.HotTablet.class,
+            com.google.bigtable.admin.v2.HotTablet.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -68,30 +91,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 { @@ -100,15 +123,19 @@ public java.lang.String getName() { } public static final int TABLE_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** + * + * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } + * * @return The tableName. */ @java.lang.Override @@ -117,30 +144,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 { @@ -151,11 +178,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 @@ -163,11 +194,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 @@ -175,11 +210,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() { @@ -189,11 +227,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 @@ -201,11 +243,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 @@ -213,11 +259,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() { @@ -225,14 +274,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int START_KEY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object startKey_ = ""; /** + * + * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; + * * @return The startKey. */ @java.lang.Override @@ -241,29 +294,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 { @@ -272,14 +325,18 @@ public java.lang.String getStartKey() { } public static final int END_KEY_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object endKey_ = ""; /** + * + * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; + * * @return The endKey. */ @java.lang.Override @@ -288,29 +345,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 { @@ -321,6 +378,8 @@ public java.lang.String getEndKey() { public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER = 7; private float nodeCpuUsagePercent_ = 0F; /** + * + * *
    * Output only. The average CPU usage spent by a node on this tablet over the start_time to
    * end_time time range. The percentage is the amount of CPU used by the node
@@ -329,6 +388,7 @@ public java.lang.String getEndKey() {
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -337,6 +397,7 @@ public float getNodeCpuUsagePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +409,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_); } @@ -387,12 +447,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_); @@ -401,8 +459,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; @@ -412,34 +469,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; } @@ -468,106 +518,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
@@ -578,33 +632,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();
@@ -628,9 +681,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
@@ -649,8 +702,11 @@ public com.google.bigtable.admin.v2.HotTablet build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.HotTablet buildPartial() {
-      com.google.bigtable.admin.v2.HotTablet result = new com.google.bigtable.admin.v2.HotTablet(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.HotTablet result =
+          new com.google.bigtable.admin.v2.HotTablet(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -664,14 +720,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
         result.tableName_ = tableName_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.startKey_ = startKey_;
@@ -688,38 +740,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.HotTablet) {
-        return mergeFrom((com.google.bigtable.admin.v2.HotTablet)other);
+        return mergeFrom((com.google.bigtable.admin.v2.HotTablet) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -783,51 +836,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tableName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              startKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              endKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 61: {
-              nodeCpuUsagePercent_ = input.readFloat();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 61
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tableName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                startKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                endKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 61:
+              {
+                nodeCpuUsagePercent_ = input.readFloat();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 61
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -837,23 +894,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -862,21 +922,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 { @@ -884,30 +945,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -917,18 +985,22 @@ public Builder clearName() { return this; } /** + * + * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -938,19 +1010,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; @@ -959,21 +1033,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 { @@ -981,30 +1056,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1014,18 +1096,22 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000002; @@ -1035,24 +1121,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1063,11 +1160,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) { @@ -1083,14 +1183,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(); } else { @@ -1101,17 +1203,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 (((bitField0_ & 0x00000004) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1124,11 +1229,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1141,11 +1249,14 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -1153,36 +1264,44 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1190,24 +1309,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1218,11 +1348,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) { @@ -1238,14 +1371,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(); } else { @@ -1256,17 +1391,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 (((bitField0_ & 0x00000008) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1279,11 +1417,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1296,11 +1437,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -1308,36 +1452,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1345,18 +1497,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; @@ -1365,20 +1519,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 { @@ -1386,28 +1541,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } startKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; + * * @return This builder for chaining. */ public Builder clearStartKey() { @@ -1417,17 +1579,21 @@ public Builder clearStartKey() { return this; } /** + * + * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; + * * @param value The bytes for startKey to set. * @return This builder for chaining. */ - public Builder setStartKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); startKey_ = value; bitField0_ |= 0x00000010; @@ -1437,18 +1603,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; @@ -1457,20 +1625,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 { @@ -1478,28 +1647,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } endKey_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; + * * @return This builder for chaining. */ public Builder clearEndKey() { @@ -1509,17 +1685,21 @@ public Builder clearEndKey() { return this; } /** + * + * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; + * * @param value The bytes for endKey to set. * @return This builder for chaining. */ - public Builder setEndKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); endKey_ = value; bitField0_ |= 0x00000020; @@ -1527,8 +1707,10 @@ public Builder setEndKeyBytes( 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
@@ -1537,6 +1719,7 @@ public Builder setEndKeyBytes(
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -1544,6 +1727,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
@@ -1552,6 +1737,7 @@ 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. */ @@ -1563,6 +1749,8 @@ public Builder setNodeCpuUsagePercent(float value) { return this; } /** + * + * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1571,6 +1759,7 @@ 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() { @@ -1579,9 +1768,9 @@ public Builder clearNodeCpuUsagePercent() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1591,12 +1780,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 +1794,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 +1829,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..54a2486d44 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 3db29a94ea..3d2c67a33a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,46 +49,49 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_Instance_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto
+        .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
+            com.google.bigtable.admin.v2.Instance.class,
+            com.google.bigtable.admin.v2.Instance.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of an instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the instance could not be determined.
      * 
@@ -79,6 +100,8 @@ public enum State */ STATE_NOT_KNOWN(0), /** + * + * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -88,6 +111,8 @@ public enum State
      */
     READY(1),
     /**
+     *
+     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -100,6 +125,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the instance could not be determined.
      * 
@@ -108,6 +135,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.
@@ -117,6 +146,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.
@@ -126,7 +157,6 @@ public enum State
      */
     public static final int CREATING_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -151,49 +181,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;
@@ -211,15 +241,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
@@ -230,6 +263,8 @@ public enum Type
      */
     TYPE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -239,6 +274,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.
@@ -251,6 +288,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
@@ -261,6 +300,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.
@@ -270,6 +311,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.
@@ -279,7 +322,6 @@ public enum Type
      */
     public static final int DEVELOPMENT_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -304,49 +346,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;
@@ -365,15 +407,19 @@ private Type(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -382,30 +428,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 { @@ -414,9 +460,12 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -424,6 +473,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -432,14 +482,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
@@ -447,16 +498,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 { @@ -467,84 +517,104 @@ public java.lang.String getDisplayName() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** + * + * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; + * * @return The state. */ - @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + @java.lang.Override + public com.google.bigtable.admin.v2.Instance.State getState() { + com.google.bigtable.admin.v2.Instance.State result = + com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** + * + * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; + * * @return The type. */ - @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + @java.lang.Override + public com.google.bigtable.admin.v2.Instance.Type getType() { + com.google.bigtable.admin.v2.Instance.Type result = + com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 5; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - 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, + ""); } + @SuppressWarnings("serial") - 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_; } + 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
@@ -562,20 +632,21 @@ 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,6 +668,8 @@ 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
@@ -614,17 +687,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -642,11 +717,11 @@ 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();
     }
@@ -656,13 +731,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 @@ -670,13 +749,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 @@ -684,13 +767,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() { @@ -700,11 +786,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SATISFIES_PZS_FIELD_NUMBER = 8; private boolean satisfiesPzs_ = false; /** + * + * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -712,11 +801,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 @@ -725,6 +817,7 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -736,8 +829,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_); } @@ -750,12 +842,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()); } @@ -778,30 +866,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; @@ -811,30 +895,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; @@ -865,107 +944,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.
@@ -975,55 +1057,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();
@@ -1043,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
@@ -1064,8 +1143,11 @@ public com.google.bigtable.admin.v2.Instance build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Instance buildPartial() {
-      com.google.bigtable.admin.v2.Instance result = new com.google.bigtable.admin.v2.Instance(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.Instance result =
+          new com.google.bigtable.admin.v2.Instance(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1089,9 +1171,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1105,38 +1185,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Instance) {
-        return mergeFrom((com.google.bigtable.admin.v2.Instance)other);
+        return mergeFrom((com.google.bigtable.admin.v2.Instance) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1161,8 +1242,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());
       bitField0_ |= 0x00000010;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -1196,53 +1276,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 58: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 58
-            case 64: {
-              satisfiesPzs_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 64
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 58:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 58
+            case 64:
+              {
+                satisfiesPzs_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 64
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1252,23 +1340,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; @@ -1277,21 +1368,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 { @@ -1299,30 +1391,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1332,18 +1431,22 @@ public Builder clearName() { return this; } /** + * + * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1353,6 +1456,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
@@ -1360,13 +1465,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; @@ -1375,6 +1480,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
@@ -1382,15 +1489,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 { @@ -1398,6 +1504,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
@@ -1405,18 +1513,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1424,6 +1536,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1433,6 +1546,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1440,12 +1555,14 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1455,24 +1572,31 @@ 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. */ @@ -1483,26 +1607,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; + * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + com.google.bigtable.admin.v2.Instance.State result = + com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } /** + * + * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1516,12 +1647,15 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) { return this; } /** + * + * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; + * * @return This builder for chaining. */ public Builder clearState() { @@ -1533,22 +1667,29 @@ 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. */ @@ -1559,24 +1700,31 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; + * * @return The type. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + com.google.bigtable.admin.v2.Instance.Type result = + com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } /** + * + * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; + * * @param value The type to set. * @return This builder for chaining. */ @@ -1590,11 +1738,14 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) { return this; } /** + * + * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; + * * @return This builder for chaining. */ public Builder clearType() { @@ -1604,21 +1755,19 @@ public Builder clearType() { 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() { 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(); @@ -1627,10 +1776,13 @@ public Builder clearType() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1648,20 +1800,21 @@ 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
@@ -1683,6 +1836,8 @@ 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
@@ -1700,17 +1855,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1728,23 +1885,25 @@ 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();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1761,23 +1920,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1794,17 +1952,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"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1821,55 +1982,72 @@ 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);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        createTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1885,16 +2063,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(); } else { @@ -1905,19 +2086,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 (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1930,13 +2115,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() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1949,13 +2138,17 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -1963,52 +2156,67 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; } } /** + * + * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), - getParentForChildren(), - isClean()); + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } - private boolean satisfiesPzs_ ; + private boolean satisfiesPzs_; /** + * + * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -2016,11 +2224,14 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -2028,11 +2239,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. */ @@ -2044,11 +2258,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() { @@ -2057,9 +2274,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); } @@ -2069,12 +2286,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(); } @@ -2083,27 +2300,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; @@ -2118,6 +2335,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 7348359ffc..6a3b2c8e5c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -112,6 +152,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
@@ -128,15 +170,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
@@ -153,9 +193,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
@@ -173,11 +214,13 @@ boolean containsLabels(
    * map<string, string> labels = 5;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -194,57 +237,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..67a601d639 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -0,0 +1,314 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/instance.proto + +package com.google.bigtable.admin.v2; + +public final class InstanceProto { + private InstanceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_HotTablet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\'google/bigtable/admin/v2/instance.prot" + + "o\022\030google.bigtable.admin.v2\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032%google/bigtable/admin/v2/common" + + ".proto\032\037google/protobuf/timestamp.proto\"" + + "\311\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" + + "me\030\002 \001(\tB\004\342A\001\002\0227\n\005state\030\003 \001(\0162(.google.b" + + "igtable.admin.v2.Instance.State\0225\n\004type\030" + + "\004 \001(\0162\'.google.bigtable.admin.v2.Instanc" + + "e.Type\022>\n\006labels\030\005 \003(\0132..google.bigtable" + + ".admin.v2.Instance.LabelsEntry\0225\n\013create" + + "_time\030\007 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022 \n\rsatisfies_pzs\030\010 \001(\010B\004\342A\001\003H\000\210\001\001\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" + + "READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UN" + + "SPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPME" + + "NT\020\002:S\352AP\n%bigtableadmin.googleapis.com/" + + "Instance\022\'projects/{project}/instances/{" + + "instance}B\020\n\016_satisfies_pzs\"_\n\022Autoscali" + + "ngTargets\022\037\n\027cpu_utilization_percent\030\002 \001" + + "(\005\022(\n storage_utilization_gib_per_node\030\003" + + " \001(\005\"Q\n\021AutoscalingLimits\022\035\n\017min_serve_n" + + "odes\030\001 \001(\005B\004\342A\001\002\022\035\n\017max_serve_nodes\030\002 \001(" + + "\005B\004\342A\001\002\"\327\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022<\n\010loc" + + "ation\030\002 \001(\tB*\342A\001\005\372A#\n!locations.googleap" + + "is.com/Location\022<\n\005state\030\003 \001(\0162\'.google." + + "bigtable.admin.v2.Cluster.StateB\004\342A\001\003\022\023\n" + + "\013serve_nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001" + + "(\0132/.google.bigtable.admin.v2.Cluster.Cl" + + "usterConfigH\000\022I\n\024default_storage_type\030\005 " + + "\001(\0162%.google.bigtable.admin.v2.StorageTy" + + "peB\004\342A\001\005\022S\n\021encryption_config\030\006 \001(\01322.go" + + "ogle.bigtable.admin.v2.Cluster.Encryptio" + + "nConfigB\004\342A\001\005\032\272\001\n\030ClusterAutoscalingConf" + + "ig\022M\n\022autoscaling_limits\030\001 \001(\0132+.google." + + "bigtable.admin.v2.AutoscalingLimitsB\004\342A\001" + + "\002\022O\n\023autoscaling_targets\030\002 \001(\0132,.google." + + "bigtable.admin.v2.AutoscalingTargetsB\004\342A" + + "\001\002\032o\n\rClusterConfig\022^\n\032cluster_autoscali" + + "ng_config\030\001 \001(\0132:.google.bigtable.admin." + + "v2.Cluster.ClusterAutoscalingConfig\032P\n\020E" + + "ncryptionConfig\022<\n\014kms_key_name\030\001 \001(\tB&\372" + + "A#\n!cloudkms.googleapis.com/CryptoKey\"Q\n" + + "\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014" + + "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" + + ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" + + "ter\022:projects/{project}/instances/{insta" + + "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" + + "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" + + "description\030\003 \001(\t\022g\n\035multi_cluster_routi" + + "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" + + ".v2.AppProfile.MultiClusterRoutingUseAny" + + "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" + + "gle.bigtable.admin.v2.AppProfile.SingleC" + + "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" + + "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" + + "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" + + "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" + + "admin.googleapis.com/AppProfile\022Aproject" + + "s/{project}/instances/{instance}/appProf" + + "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" + + "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" + + " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" + + "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" + + "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" + + "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" + + "admin.googleapis.com/HotTablet\022Rprojects" + + "/{project}/instances/{instance}/clusters" + + "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" + + "om.google.bigtable.admin.v2B\rInstancePro" + + "toP\001Z=google.golang.org/genproto/googlea" + + "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" + + "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" + + "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" + + ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" + + "ryptoKey\022Sprojects/{project}/locations/{" + + "location}/keyRings/{key_ring}/cryptoKeys" + + "/{crypto_key}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_Instance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "State", + "Type", + "Labels", + "CreateTime", + "SatisfiesPzs", + "SatisfiesPzs", + }); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = + internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, + new java.lang.String[] { + "CpuUtilizationPercent", "StorageUtilizationGibPerNode", + }); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, + new java.lang.String[] { + "MinServeNodes", "MaxServeNodes", + }); + internal_static_google_bigtable_admin_v2_Cluster_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_descriptor, + new java.lang.String[] { + "Name", + "Location", + "State", + "ServeNodes", + "ClusterConfig", + "DefaultStorageType", + "EncryptionConfig", + "Config", + }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, + new java.lang.String[] { + "AutoscalingLimits", "AutoscalingTargets", + }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, + new java.lang.String[] { + "ClusterAutoscalingConfig", + }); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_bigtable_admin_v2_AppProfile_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_descriptor, + new java.lang.String[] { + "Name", + "Etag", + "Description", + "MultiClusterRoutingUseAny", + "SingleClusterRouting", + "RoutingPolicy", + }); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, + new java.lang.String[] { + "ClusterIds", + }); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, + new java.lang.String[] { + "ClusterId", "AllowTransactionalWrites", + }); + internal_static_google_bigtable_admin_v2_HotTablet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_HotTablet_descriptor, + new java.lang.String[] { + "Name", + "TableName", + "StartTime", + "EndTime", + "StartKey", + "EndKey", + "NodeCpuUsagePercent", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 70% 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 727beaf610..16bb8acbb9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,28 +44,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, + com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -56,7 +78,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 @@ -65,14 +90,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
@@ -81,17 +107,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 { @@ -102,6 +129,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** + * + * *
    * Maximum number of results per page.
    *
@@ -115,6 +144,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -123,14 +153,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -139,29 +173,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 { @@ -170,6 +204,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -208,8 +242,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; @@ -219,19 +252,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; } @@ -255,131 +286,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(); @@ -391,9 +426,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 @@ -412,8 +447,11 @@ public com.google.bigtable.admin.v2.ListAppProfilesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesRequest buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesRequest result = new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ListAppProfilesRequest result = + new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -435,38 +473,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest) other); } else { super.mergeFrom(other); return this; @@ -474,7 +513,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_; bitField0_ |= 0x00000001; @@ -514,27 +554,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -544,10 +588,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -556,14 +603,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; @@ -572,6 +621,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
@@ -580,16 +631,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 { @@ -597,6 +649,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
@@ -605,19 +659,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -626,7 +686,10 @@ 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() { @@ -636,6 +699,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -644,13 +709,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -658,8 +727,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results per page.
      *
@@ -673,6 +744,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -680,6 +752,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results per page.
      *
@@ -693,6 +767,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -704,6 +779,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Maximum number of results per page.
      *
@@ -717,6 +794,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -728,18 +806,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; @@ -748,20 +828,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 { @@ -769,28 +850,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -800,26 +888,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +921,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(); } @@ -843,27 +935,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; @@ -878,6 +970,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 28398722c6..5391070f6f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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.
    *
@@ -49,27 +76,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 25d1b03c83..614f87b700 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Response message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ -public final class ListAppProfilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAppProfilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesResponse) ListAppProfilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAppProfilesResponse.newBuilder() to construct. private ListAppProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAppProfilesResponse() { appProfiles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAppProfilesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, + com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } public static final int APP_PROFILES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List appProfiles_; /** + * + * *
    * The list of requested app profiles.
    * 
@@ -61,6 +82,8 @@ public java.util.List getAppProfilesLis return appProfiles_; } /** + * + * *
    * The list of requested app profiles.
    * 
@@ -68,11 +91,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.
    * 
@@ -84,6 +109,8 @@ public int getAppProfilesCount() { return appProfiles_.size(); } /** + * + * *
    * The list of requested app profiles.
    * 
@@ -95,6 +122,8 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { return appProfiles_.get(index); } /** + * + * *
    * The list of requested app profiles.
    * 
@@ -102,15 +131,17 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( - int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { return appProfiles_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -118,6 +149,7 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -126,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; } } /** + * + * *
    * 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
@@ -141,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 { @@ -159,10 +191,13 @@ public java.lang.String getNextPageToken() { } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -171,13 +206,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 +223,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 +240,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 +248,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 +258,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 +279,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 +299,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 +320,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,131 +358,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(); @@ -455,15 +499,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override @@ -482,14 +525,18 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesResponse buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesResponse result = new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); + com.google.bigtable.admin.v2.ListAppProfilesResponse result = + new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListAppProfilesResponse result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.ListAppProfilesResponse result) { if (appProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { appProfiles_ = java.util.Collections.unmodifiableList(appProfiles_); @@ -516,38 +563,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse)other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse) other); } else { super.mergeFrom(other); return this; @@ -555,7 +603,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()) { @@ -574,9 +623,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_); } @@ -623,36 +673,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(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.admin.v2.AppProfile m = + input.readMessage( + com.google.bigtable.admin.v2.AppProfile.parser(), extensionRegistry); + if (appProfilesBuilder_ == null) { + ensureAppProfilesIsMutable(); + appProfiles_.add(m); + } else { + appProfilesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,21 +715,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.
      * 
@@ -691,6 +752,8 @@ public java.util.List getAppProfilesLis } } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -705,6 +768,8 @@ public int getAppProfilesCount() { } } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -719,14 +784,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(); @@ -740,6 +806,8 @@ public Builder setAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -758,6 +826,8 @@ public Builder setAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -778,14 +848,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(); @@ -799,14 +870,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()); @@ -817,6 +889,8 @@ public Builder addAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -835,6 +909,8 @@ public Builder addAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -845,8 +921,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); @@ -854,6 +929,8 @@ public Builder addAllAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -871,6 +948,8 @@ public Builder clearAppProfiles() { return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -888,39 +967,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 { @@ -928,6 +1012,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( } } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -935,42 +1021,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_; @@ -978,6 +1070,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
@@ -985,13 +1079,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; @@ -1000,6 +1094,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
@@ -1007,15 +1103,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 { @@ -1023,6 +1118,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
@@ -1030,18 +1127,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1049,6 +1150,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1058,6 +1160,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1065,12 +1169,14 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1080,6 +1186,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1087,6 +1194,8 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1095,14 +1204,16 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 3; + * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList - getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1111,12 +1222,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.
@@ -1125,6 +1239,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. */ @@ -1132,6 +1247,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.
@@ -1140,14 +1257,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.
@@ -1156,13 +1275,15 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailedLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1170,6 +1291,8 @@ public Builder setFailedLocations( return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1178,12 +1301,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFailedLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000004; @@ -1191,6 +1316,8 @@ public Builder addFailedLocations( return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1199,19 +1326,20 @@ 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_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1220,16 +1348,19 @@ public Builder addAllFailedLocations(
      * 
* * repeated string failed_locations = 3; + * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1238,12 +1369,14 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 3; + * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1251,9 +1384,9 @@ public Builder addFailedLocationsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1263,12 +1396,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(); } @@ -1277,27 +1410,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; @@ -1312,6 +1445,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..84a8261193 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 80% 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 616aff919d..7ed1e8efda 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,28 +46,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListBackupsRequest.class, com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class); + com.google.bigtable.admin.v2.ListBackupsRequest.class, + com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -57,7 +79,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 @@ -66,14 +91,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}`.
@@ -81,17 +107,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 { @@ -100,9 +127,12 @@ public java.lang.String getParent() { } public static final int FILTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -139,6 +169,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -147,14 +178,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,
@@ -191,16 +223,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 { @@ -209,9 +240,12 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -236,6 +270,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 3; + * * @return The orderBy. */ @java.lang.Override @@ -244,14 +279,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
@@ -276,16 +312,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 { @@ -296,12 +331,15 @@ public java.lang.String getOrderBy() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -310,9 +348,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -321,6 +362,7 @@ public int getPageSize() {
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -329,14 +371,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
@@ -345,16 +388,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 { @@ -363,6 +405,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -374,8 +417,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_); } @@ -410,8 +452,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_); @@ -424,23 +465,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; } @@ -467,132 +504,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(); @@ -606,9 +647,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 @@ -627,8 +668,11 @@ public com.google.bigtable.admin.v2.ListBackupsRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListBackupsRequest buildPartial() { - com.google.bigtable.admin.v2.ListBackupsRequest result = new com.google.bigtable.admin.v2.ListBackupsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ListBackupsRequest result = + new com.google.bigtable.admin.v2.ListBackupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -656,38 +700,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListBackupsRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest) other); } else { super.mergeFrom(other); return this; @@ -695,7 +740,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_; bitField0_ |= 0x00000001; @@ -745,37 +791,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -785,10 +837,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -796,14 +851,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; @@ -812,6 +869,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -819,16 +878,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 { @@ -836,6 +896,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -843,19 +905,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -863,7 +931,10 @@ 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() { @@ -873,6 +944,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -880,13 +953,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -896,6 +973,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,
@@ -932,13 +1011,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; @@ -947,6 +1026,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,
@@ -983,15 +1064,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 { @@ -999,6 +1079,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,
@@ -1035,18 +1117,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1083,6 +1169,7 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1092,6 +1179,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1128,12 +1217,14 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1143,6 +1234,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
@@ -1167,13 +1260,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; @@ -1182,6 +1275,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
@@ -1206,15 +1301,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 { @@ -1222,6 +1316,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
@@ -1246,18 +1342,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1282,6 +1382,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 3; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1291,6 +1392,8 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1315,12 +1418,14 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 3; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000004; @@ -1328,14 +1433,17 @@ public Builder setOrderByBytes( 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 @@ -1343,12 +1451,15 @@ 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. */ @@ -1360,12 +1471,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1377,6 +1491,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
@@ -1385,13 +1501,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; @@ -1400,6 +1516,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
@@ -1408,15 +1526,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 { @@ -1424,6 +1541,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
@@ -1432,18 +1551,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1452,6 +1575,7 @@ public Builder setPageToken(
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1461,6 +1585,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1469,21 +1595,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1493,12 +1621,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(); } @@ -1507,27 +1635,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; @@ -1542,6 +1670,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 2abdc36225..89a6907fac 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,
@@ -70,10 +97,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,
@@ -110,12 +140,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
@@ -140,10 +172,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
@@ -168,23 +203,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
@@ -193,10 +233,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
@@ -205,8 +248,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 18638e51d6..0d61d0f8ec 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,28 +44,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListBackupsResponse.class, com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class); + com.google.bigtable.admin.v2.ListBackupsResponse.class, + com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List backups_; /** + * + * *
    * The list of matching backups.
    * 
@@ -59,6 +81,8 @@ public java.util.List getBackupsList() { return backups_; } /** + * + * *
    * The list of matching backups.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getBackupsCount() { return backups_.size(); } /** + * + * *
    * The list of matching backups.
    * 
@@ -93,6 +121,8 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { return backups_.get(index); } /** + * + * *
    * The list of matching backups.
    * 
@@ -100,15 +130,17 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { * repeated .google.bigtable.admin.v2.Backup backups = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -116,6 +148,7 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,14 +157,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
@@ -139,16 +173,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 { @@ -157,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -186,8 +219,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_); @@ -200,17 +232,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; } @@ -233,132 +264,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(); @@ -375,9 +410,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 @@ -396,14 +431,18 @@ public com.google.bigtable.admin.v2.ListBackupsResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListBackupsResponse buildPartial() { - com.google.bigtable.admin.v2.ListBackupsResponse result = new com.google.bigtable.admin.v2.ListBackupsResponse(this); + com.google.bigtable.admin.v2.ListBackupsResponse result = + new com.google.bigtable.admin.v2.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListBackupsResponse result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -426,38 +465,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListBackupsResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse)other); + return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse) other); } else { super.mergeFrom(other); return this; @@ -465,7 +505,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()) { @@ -484,9 +525,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_); } @@ -523,30 +565,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(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.admin.v2.Backup m = + input.readMessage( + com.google.bigtable.admin.v2.Backup.parser(), extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,21 +600,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.
      * 
@@ -585,6 +636,8 @@ public java.util.List getBackupsList() { } } /** + * + * *
      * The list of matching backups.
      * 
@@ -599,6 +652,8 @@ public int getBackupsCount() { } } /** + * + * *
      * The list of matching backups.
      * 
@@ -613,14 +668,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(); @@ -634,6 +690,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -652,6 +710,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -672,14 +732,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(); @@ -693,14 +754,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()); @@ -711,6 +773,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -729,6 +793,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -739,8 +805,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); @@ -748,6 +813,8 @@ public Builder addAllBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -765,6 +832,8 @@ public Builder clearBackups() { return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -782,39 +851,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 { @@ -822,6 +896,8 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( } } /** + * + * *
      * The list of matching backups.
      * 
@@ -829,42 +905,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_; @@ -872,6 +953,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
@@ -879,13 +962,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; @@ -894,6 +977,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
@@ -901,15 +986,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 +1001,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
@@ -924,18 +1010,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -943,6 +1033,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -952,6 +1043,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -959,21 +1052,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,12 +1078,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(); } @@ -997,27 +1092,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; @@ -1032,6 +1127,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..8af4ffc11e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 c3f03a9c47..fd06a07389 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,28 +44,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, + com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -55,7 +77,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 @@ -64,14 +89,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}`.
@@ -79,17 +105,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 { @@ -98,14 +125,18 @@ public java.lang.String getParent() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -114,29 +145,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 { @@ -145,6 +176,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -187,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.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; } @@ -218,132 +248,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(); @@ -354,9 +388,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 @@ -375,8 +409,11 @@ public com.google.bigtable.admin.v2.ListClustersRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersRequest buildPartial() { - com.google.bigtable.admin.v2.ListClustersRequest result = new com.google.bigtable.admin.v2.ListClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ListClustersRequest result = + new com.google.bigtable.admin.v2.ListClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +432,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -434,7 +472,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_; bitField0_ |= 0x00000001; @@ -471,22 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +538,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -507,14 +552,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; @@ -523,6 +570,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}`.
@@ -530,16 +579,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 { @@ -547,6 +597,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}`.
@@ -554,19 +606,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -574,7 +632,10 @@ 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() { @@ -584,6 +645,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -591,13 +654,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -607,18 +674,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; @@ -627,20 +696,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 { @@ -648,28 +718,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -679,26 +756,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +789,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(); } @@ -722,27 +803,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; @@ -757,6 +838,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..1825a33c50 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 e03e8621e5..e59efa78f2 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Response message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ -public final class ListClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersResponse) ListClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, + com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List clusters_; /** + * + * *
    * The list of requested clusters.
    * 
@@ -61,6 +82,8 @@ public java.util.List getClustersList() { return clusters_; } /** + * + * *
    * The list of requested clusters.
    * 
@@ -68,11 +91,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.
    * 
@@ -84,6 +109,8 @@ public int getClustersCount() { return clusters_.size(); } /** + * + * *
    * The list of requested clusters.
    * 
@@ -95,6 +122,8 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** + * + * *
    * The list of requested clusters.
    * 
@@ -102,16 +131,18 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { return clusters_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -121,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.
@@ -137,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.
@@ -152,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. */ @@ -159,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.
@@ -168,23 +207,27 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 2; + * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString - getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -193,29 +236,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 +267,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +279,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 +299,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 +320,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,131 +358,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(); @@ -454,16 +498,15 @@ public Builder clear() { clustersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override @@ -482,14 +525,18 @@ public com.google.bigtable.admin.v2.ListClustersResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersResponse buildPartial() { - com.google.bigtable.admin.v2.ListClustersResponse result = new com.google.bigtable.admin.v2.ListClustersResponse(this); + com.google.bigtable.admin.v2.ListClustersResponse result = + new com.google.bigtable.admin.v2.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -516,38 +563,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse)other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -555,7 +603,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()) { @@ -574,9 +623,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_); } @@ -623,36 +673,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(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.admin.v2.Cluster m = + input.readMessage( + com.google.bigtable.admin.v2.Cluster.parser(), extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,21 +715,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.
      * 
@@ -691,6 +751,8 @@ public java.util.List getClustersList() { } } /** + * + * *
      * The list of requested clusters.
      * 
@@ -705,6 +767,8 @@ public int getClustersCount() { } } /** + * + * *
      * The list of requested clusters.
      * 
@@ -719,14 +783,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(); @@ -740,6 +805,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -758,6 +825,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -778,14 +847,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(); @@ -799,14 +869,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()); @@ -817,6 +888,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -835,6 +908,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -845,8 +920,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); @@ -854,6 +928,8 @@ public Builder addAllClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -871,6 +947,8 @@ public Builder clearClusters() { return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -888,39 +966,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 { @@ -928,6 +1011,8 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( } } /** + * + * *
      * The list of requested clusters.
      * 
@@ -935,42 +1020,47 @@ 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_; @@ -978,6 +1068,7 @@ public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder( private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -985,6 +1076,8 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -994,14 +1087,16 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; + * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList - getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1011,12 +1106,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.
@@ -1026,6 +1124,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. */ @@ -1033,6 +1132,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.
@@ -1042,14 +1143,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.
@@ -1059,13 +1162,15 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailedLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1073,6 +1178,8 @@ public Builder setFailedLocations( return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1082,12 +1189,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFailedLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1095,6 +1204,8 @@ public Builder addFailedLocations( return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1104,19 +1215,20 @@ 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1126,16 +1238,19 @@ public Builder addAllFailedLocations(
      * 
* * repeated string failed_locations = 2; + * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1145,12 +1260,14 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 2; + * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1161,18 +1278,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 +1300,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,28 +1322,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1233,26 +1360,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1393,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(); } @@ -1276,27 +1407,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; @@ -1311,6 +1442,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..39b9a31aa2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 74% 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 3362a992fa..b3afd6fa4b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,35 +44,42 @@ private ListHotTabletsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListHotTabletsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, + com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,31 +88,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 { @@ -98,6 +125,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
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -115,6 +145,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
@@ -125,6 +157,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -132,6 +165,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
@@ -151,11 +186,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 @@ -163,11 +201,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 @@ -175,6 +216,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The end time to list hot tablets.
    * 
@@ -189,6 +232,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Maximum number of results per page.
    *
@@ -202,6 +247,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -210,14 +256,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -226,29 +276,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 { @@ -257,6 +307,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,8 +319,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_); } @@ -298,16 +348,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_); @@ -320,29 +367,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; } @@ -374,131 +417,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(); @@ -520,9 +567,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 @@ -541,8 +588,11 @@ public com.google.bigtable.admin.v2.ListHotTabletsRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsRequest buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsRequest result = new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ListHotTabletsRequest result = + new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -553,14 +603,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.pageSize_ = pageSize_; @@ -574,38 +620,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +660,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_; bitField0_ |= 0x00000001; @@ -659,41 +707,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,24 +753,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,22 +784,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 { @@ -752,32 +810,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -787,19 +856,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -809,8 +884,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
@@ -821,12 +901,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -837,6 +920,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -847,6 +931,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
@@ -872,6 +958,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
@@ -883,8 +971,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();
       } else {
@@ -895,6 +982,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
@@ -908,9 +997,9 @@ public Builder setStartTime(
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          startTime_ != null &&
-          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && startTime_ != null
+            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -923,6 +1012,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
@@ -945,6 +1036,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
@@ -962,6 +1055,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -977,11 +1072,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
@@ -994,14 +1090,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_;
@@ -1009,24 +1108,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1037,6 +1145,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1057,14 +1167,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(); } else { @@ -1075,6 +1186,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1083,9 +1196,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1098,6 +1211,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1115,6 +1230,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1127,6 +1244,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1137,11 +1256,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.
      * 
@@ -1149,21 +1269,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.
      *
@@ -1177,6 +1302,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1184,6 +1310,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results per page.
      *
@@ -1197,6 +1325,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1208,6 +1337,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Maximum number of results per page.
      *
@@ -1221,6 +1352,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1232,18 +1364,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; @@ -1252,20 +1386,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 { @@ -1273,28 +1408,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1304,26 +1446,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1333,12 +1479,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(); } @@ -1347,27 +1493,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; @@ -1382,6 +1528,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 85c700dd2f..3f9205fba1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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.
    *
@@ -114,27 +157,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 758edb0a86..6fe345eae1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,28 +44,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, + com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } public static final int HOT_TABLETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List hotTablets_; /** + * + * *
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -63,6 +85,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
@@ -74,11 +98,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
@@ -94,6 +120,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
@@ -109,6 +137,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
@@ -120,15 +150,17 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
-      int index) {
+  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
     return hotTablets_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
+   *
+   *
    * 
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -136,6 +168,7 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -144,14 +177,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
@@ -159,16 +193,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 { @@ -177,6 +210,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,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 { for (int i = 0; i < hotTablets_.size(); i++) { output.writeMessage(1, hotTablets_.get(i)); } @@ -206,8 +239,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_); @@ -220,17 +252,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; } @@ -254,131 +285,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(); @@ -395,9 +430,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 @@ -416,14 +451,18 @@ public com.google.bigtable.admin.v2.ListHotTabletsResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsResponse buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsResponse result = new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); + com.google.bigtable.admin.v2.ListHotTabletsResponse result = + new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListHotTabletsResponse result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.ListHotTabletsResponse result) { if (hotTabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { hotTablets_ = java.util.Collections.unmodifiableList(hotTablets_); @@ -446,38 +485,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse)other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse) other); } else { super.mergeFrom(other); return this; @@ -485,7 +525,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()) { @@ -504,9 +545,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_); } @@ -543,30 +585,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(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.admin.v2.HotTablet m = + input.readMessage( + com.google.bigtable.admin.v2.HotTablet.parser(), extensionRegistry); + if (hotTabletsBuilder_ == null) { + ensureHotTabletsIsMutable(); + hotTablets_.add(m); + } else { + hotTabletsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -576,21 +620,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
@@ -609,6 +660,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
@@ -627,6 +680,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
@@ -645,6 +700,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
@@ -655,8 +712,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();
@@ -670,6 +726,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
@@ -692,6 +750,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
@@ -716,6 +776,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
@@ -726,8 +788,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();
@@ -741,6 +802,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
@@ -751,8 +814,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());
@@ -763,6 +825,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
@@ -785,6 +849,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
@@ -799,8 +865,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);
@@ -808,6 +873,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
@@ -829,6 +896,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
@@ -850,6 +919,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
@@ -860,11 +931,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
@@ -875,14 +947,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
@@ -893,8 +967,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 {
@@ -902,6 +976,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
@@ -913,10 +989,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
@@ -927,12 +1005,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
@@ -943,20 +1022,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_;
@@ -964,6 +1046,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
@@ -971,13 +1055,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; @@ -986,6 +1070,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
@@ -993,15 +1079,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 { @@ -1009,6 +1094,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
@@ -1016,18 +1103,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1035,6 +1126,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1044,6 +1136,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1051,21 +1145,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +1171,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(); } @@ -1089,27 +1185,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; @@ -1124,6 +1220,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..579db9d4d4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 66% 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 07f21bb006..f0d296bf1f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,34 +44,41 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, + com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,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 { @@ -94,14 +121,18 @@ public java.lang.String getParent() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -110,29 +141,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 { @@ -141,6 +172,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -183,17 +214,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; } @@ -215,131 +245,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(); @@ -350,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_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 @@ -371,8 +405,11 @@ public com.google.bigtable.admin.v2.ListInstancesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesRequest buildPartial() { - com.google.bigtable.admin.v2.ListInstancesRequest result = new com.google.bigtable.admin.v2.ListInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ListInstancesRequest result = + new com.google.bigtable.admin.v2.ListInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -391,38 +428,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -430,7 +468,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_; bitField0_ |= 0x00000001; @@ -467,22 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -492,23 +534,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -517,21 +564,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 { @@ -539,30 +589,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -572,18 +633,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -593,18 +660,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; @@ -613,20 +682,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 { @@ -634,28 +704,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -665,26 +742,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,12 +775,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(); } @@ -708,27 +789,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; @@ -743,6 +824,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..b53d806b65 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 75% 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 89df7a91c0..43dfbe061b 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Response message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ -public final class ListInstancesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesResponse) ListInstancesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, + com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * The list of requested instances.
    * 
@@ -61,6 +82,8 @@ public java.util.List getInstancesList() return instances_; } /** + * + * *
    * The list of requested instances.
    * 
@@ -68,11 +91,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.
    * 
@@ -84,6 +109,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of requested instances.
    * 
@@ -95,6 +122,8 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of requested instances.
    * 
@@ -102,16 +131,18 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -122,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.
@@ -139,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.
@@ -155,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. */ @@ -162,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.
@@ -172,23 +211,27 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 2; + * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString - getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,29 +240,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 +271,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,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 { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -260,8 +303,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 +324,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,131 +362,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(); @@ -458,16 +502,15 @@ public Builder clear() { instancesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override @@ -486,14 +529,18 @@ public com.google.bigtable.admin.v2.ListInstancesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesResponse buildPartial() { - com.google.bigtable.admin.v2.ListInstancesResponse result = new com.google.bigtable.admin.v2.ListInstancesResponse(this); + com.google.bigtable.admin.v2.ListInstancesResponse result = + new com.google.bigtable.admin.v2.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -520,38 +567,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesResponse re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse)other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -559,7 +607,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()) { @@ -578,9 +627,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_); } @@ -627,36 +677,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(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.admin.v2.Instance m = + input.readMessage( + com.google.bigtable.admin.v2.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,21 +719,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.
      * 
@@ -695,6 +755,8 @@ public java.util.List getInstancesList() } } /** + * + * *
      * The list of requested instances.
      * 
@@ -709,6 +771,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of requested instances.
      * 
@@ -723,14 +787,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(); @@ -744,6 +809,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -762,6 +829,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -782,14 +851,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(); @@ -803,14 +873,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()); @@ -821,6 +892,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -839,6 +912,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -849,8 +924,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); @@ -858,6 +932,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -875,6 +951,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -892,39 +970,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 { @@ -932,6 +1015,8 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * The list of requested instances.
      * 
@@ -939,42 +1024,47 @@ 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_; @@ -982,6 +1072,7 @@ public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder( private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -989,6 +1080,8 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -999,14 +1092,16 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; + * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList - getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1017,12 +1112,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.
@@ -1033,6 +1131,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. */ @@ -1040,6 +1139,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.
@@ -1050,14 +1151,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.
@@ -1068,13 +1171,15 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFailedLocations(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1082,6 +1187,8 @@ public Builder setFailedLocations( return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1092,12 +1199,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addFailedLocations(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1105,6 +1214,8 @@ public Builder addFailedLocations( return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1115,19 +1226,20 @@ 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1138,16 +1250,19 @@ public Builder addAllFailedLocations(
      * 
* * repeated string failed_locations = 2; + * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1158,12 +1273,14 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 2; + * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1174,18 +1291,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; @@ -1194,20 +1313,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 { @@ -1215,28 +1335,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1246,26 +1373,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1275,12 +1406,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(); } @@ -1289,27 +1420,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; @@ -1324,6 +1455,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..fdf0e30105 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 91eae1111e..212a07878d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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]
@@ -16,15 +33,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_ = "";
@@ -32,28 +50,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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
+            com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
@@ -62,7 +84,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 @@ -71,14 +96,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
@@ -87,17 +113,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 { @@ -108,12 +135,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of snapshots to return per page.
    * CURRENTLY UNIMPLEMENTED AND IGNORED.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -122,14 +152,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -138,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 { @@ -169,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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_); } @@ -204,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_); @@ -218,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; } @@ -254,98 +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]
@@ -358,33 +394,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();
@@ -396,9 +431,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
@@ -417,8 +452,11 @@ public com.google.bigtable.admin.v2.ListSnapshotsRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsRequest result = new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.ListSnapshotsRequest result =
+          new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -440,38 +478,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsRequest res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -479,7 +518,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_;
         bitField0_ |= 0x00000001;
@@ -519,27 +559,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -549,10 +593,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -561,14 +608,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; @@ -577,6 +626,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -585,16 +636,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 { @@ -602,6 +654,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -610,19 +664,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -631,7 +691,10 @@ 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() { @@ -641,6 +704,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -649,13 +714,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -663,14 +732,17 @@ public Builder setParentBytes( 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 @@ -678,12 +750,15 @@ 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. */ @@ -695,12 +770,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -712,18 +790,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; @@ -732,20 +812,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 { @@ -753,28 +834,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -784,26 +872,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -813,12 +905,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(); } @@ -827,27 +919,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; @@ -862,6 +954,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..a51bc368e1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 5e81831d52..d3741491f3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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]
@@ -16,15 +33,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_ = "";
@@ -32,28 +50,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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
+            com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
   }
 
   public static final int SNAPSHOTS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List snapshots_;
   /**
+   *
+   *
    * 
    * The snapshots present in the requested cluster.
    * 
@@ -65,6 +87,8 @@ public java.util.List getSnapshotsList() return snapshots_; } /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -72,11 +96,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.
    * 
@@ -88,6 +114,8 @@ public int getSnapshotsCount() { return snapshots_.size(); } /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -99,6 +127,8 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -106,15 +136,17 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( - int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { return snapshots_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -122,6 +154,7 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -130,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
@@ -145,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 { @@ -163,6 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,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)); } @@ -192,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_); @@ -206,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; } @@ -240,98 +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]
@@ -344,33 +380,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();
@@ -387,9 +422,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
@@ -408,14 +443,18 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsResponse result = new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
+      com.google.bigtable.admin.v2.ListSnapshotsResponse result =
+          new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
       if (snapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
@@ -438,38 +477,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsResponse re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse)other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,7 +517,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()) {
@@ -496,9 +537,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_);
           }
@@ -535,30 +577,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();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.bigtable.admin.v2.Snapshot m =
+                    input.readMessage(
+                        com.google.bigtable.admin.v2.Snapshot.parser(), extensionRegistry);
+                if (snapshotsBuilder_ == null) {
+                  ensureSnapshotsIsMutable();
+                  snapshots_.add(m);
+                } else {
+                  snapshotsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -568,21 +612,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.
      * 
@@ -597,6 +648,8 @@ public java.util.List getSnapshotsList() } } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -611,6 +664,8 @@ public int getSnapshotsCount() { } } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -625,14 +680,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(); @@ -646,6 +702,8 @@ public Builder setSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -664,6 +722,8 @@ public Builder setSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -684,14 +744,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(); @@ -705,14 +766,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()); @@ -723,6 +785,8 @@ public Builder addSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -741,6 +805,8 @@ public Builder addSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -751,8 +817,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); @@ -760,6 +825,8 @@ public Builder addAllSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -777,6 +844,8 @@ public Builder clearSnapshots() { return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -794,39 +863,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 { @@ -834,6 +908,8 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( } } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -841,42 +917,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_; @@ -884,6 +965,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
@@ -891,13 +974,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; @@ -906,6 +989,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
@@ -913,15 +998,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 { @@ -929,6 +1013,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
@@ -936,18 +1022,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -955,6 +1045,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -964,6 +1055,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -971,21 +1064,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -995,12 +1090,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(); } @@ -1009,27 +1104,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; @@ -1044,6 +1139,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..4dc6df54a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 71% 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 5d5f5287ff..f18a4ca3d5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,34 +46,41 @@ private ListTablesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTablesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesRequest.class,
+            com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the instance for which tables should be listed.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,30 +89,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 { @@ -98,34 +125,45 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; 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; + * * @return The view. */ - @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override + public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * Maximum number of results per page.
    *
@@ -139,6 +177,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -147,14 +186,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -163,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 { @@ -194,6 +237,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,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_); } @@ -232,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; @@ -250,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; } @@ -288,99 +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();
@@ -427,9 +470,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
@@ -448,8 +491,11 @@ public com.google.bigtable.admin.v2.ListTablesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesRequest result = new com.google.bigtable.admin.v2.ListTablesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.ListTablesRequest result =
+          new com.google.bigtable.admin.v2.ListTablesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -474,38 +520,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesRequest result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,32 +603,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 26
-            case 32: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 26
+            case 32:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -591,23 +643,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -616,21 +673,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 { @@ -638,30 +698,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -671,18 +742,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The unique name of the instance for which tables should be listed.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -692,24 +769,31 @@ 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. */ @@ -720,26 +804,33 @@ public Builder setViewValue(int value) { 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() { - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** + * + * *
      * The view to be applied to the returned tables' fields.
      * 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. */ @@ -753,12 +844,15 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { 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() { @@ -768,8 +862,10 @@ public Builder clearView() { return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results per page.
      *
@@ -783,6 +879,7 @@ public Builder clearView() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -790,6 +887,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results per page.
      *
@@ -803,6 +902,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -814,6 +914,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Maximum number of results per page.
      *
@@ -827,6 +929,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -838,18 +941,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; @@ -858,20 +963,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 { @@ -879,28 +985,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -910,26 +1023,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -939,12 +1056,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(); } @@ -953,27 +1070,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; @@ -988,6 +1105,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 68% 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 a12c4d750f..1316348a61 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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.
    *
@@ -64,27 +97,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 17ff0fda1c..ed33c18bc8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,28 +45,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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesResponse.class,
+            com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
   }
 
   public static final int TABLES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List tables_;
   /**
+   *
+   *
    * 
    * The tables present in the requested instance.
    * 
@@ -60,6 +82,8 @@ public java.util.List getTablesList() { return tables_; } /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -67,11 +91,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.
    * 
@@ -83,6 +109,8 @@ public int getTablesCount() { return tables_.size(); } /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -94,6 +122,8 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { return tables_.get(index); } /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -101,15 +131,17 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( - int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { return tables_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -117,6 +149,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,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; } } /** + * + * *
    * 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
@@ -140,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 { @@ -158,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,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 < tables_.size(); i++) { output.writeMessage(1, tables_.get(i)); } @@ -187,8 +220,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_); @@ -201,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.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; } @@ -234,99 +265,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]
@@ -334,33 +370,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();
@@ -377,9 +412,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
@@ -398,14 +433,18 @@ public com.google.bigtable.admin.v2.ListTablesResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesResponse result = new com.google.bigtable.admin.v2.ListTablesResponse(this);
+      com.google.bigtable.admin.v2.ListTablesResponse result =
+          new com.google.bigtable.admin.v2.ListTablesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListTablesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.bigtable.admin.v2.ListTablesResponse result) {
       if (tablesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tables_ = java.util.Collections.unmodifiableList(tables_);
@@ -428,38 +467,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesResponse resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse)other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -467,7 +507,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()) {
@@ -486,9 +527,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_);
           }
@@ -525,30 +567,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();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.bigtable.admin.v2.Table m =
+                    input.readMessage(
+                        com.google.bigtable.admin.v2.Table.parser(), extensionRegistry);
+                if (tablesBuilder_ == null) {
+                  ensureTablesIsMutable();
+                  tables_.add(m);
+                } else {
+                  tablesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -558,21 +602,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.
      * 
@@ -587,6 +638,8 @@ public java.util.List getTablesList() { } } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -601,6 +654,8 @@ public int getTablesCount() { } } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -615,14 +670,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(); @@ -636,6 +692,8 @@ public Builder setTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -654,6 +712,8 @@ public Builder setTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -674,14 +734,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(); @@ -695,14 +756,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()); @@ -713,6 +775,8 @@ public Builder addTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -731,6 +795,8 @@ public Builder addTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -741,8 +807,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); @@ -750,6 +815,8 @@ public Builder addAllTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -767,6 +834,8 @@ public Builder clearTables() { return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -784,39 +853,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 { @@ -824,6 +898,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( } } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -831,42 +907,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_; @@ -874,6 +955,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
@@ -881,13 +964,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; @@ -896,6 +979,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
@@ -903,15 +988,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 { @@ -919,6 +1003,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
@@ -926,18 +1012,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -945,6 +1035,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -954,6 +1045,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -961,21 +1054,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -985,12 +1080,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(); } @@ -999,27 +1094,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; @@ -1034,6 +1129,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..7b5cde43c0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 4cadaa3b63..255e6e3140 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,69 +45,84 @@ private ModifyColumnFamiliesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ModifyColumnFamiliesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
   }
 
-  public interface ModificationOrBuilder extends
+  public interface ModificationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The ID of the column family to be modified.
      * 
* * string id = 1; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; + * * @return Whether the create field is set. */ boolean hasCreate(); /** + * + * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; + * * @return The create. */ com.google.bigtable.admin.v2.ColumnFamily getCreate(); /** + * + * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -100,26 +133,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.
@@ -130,22 +171,28 @@ 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(); @@ -153,56 +200,64 @@ public interface ModificationOrBuilder extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.ModCase getModCase(); } /** + * + * *
    * A create, update, or delete of a particular column family.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Modification extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Modification extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) ModificationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Modification.newBuilder() to construct. private Modification(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Modification() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Modification(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto + .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } private int modCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object mod_; + public enum ModCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE(2), UPDATE(3), DROP(4), MOD_NOT_SET(0); private final int value; + private ModCase(int value) { this.value = value; } @@ -218,33 +273,41 @@ public static ModCase valueOf(int value) { public static ModCase forNumber(int value) { switch (value) { - case 2: return CREATE; - case 3: return UPDATE; - case 4: return DROP; - case 0: return MOD_NOT_SET; - default: return null; + case 2: + return CREATE; + case 3: + return UPDATE; + case 4: + return DROP; + case 0: + return MOD_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ModCase - getModCase() { - return ModCase.forNumber( - modCase_); + public ModCase getModCase() { + return ModCase.forNumber(modCase_); } public static final int ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -253,29 +316,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 { @@ -285,12 +348,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 @@ -298,22 +364,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.
@@ -324,19 +395,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 @@ -344,22 +418,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.
@@ -370,19 +449,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 @@ -390,12 +472,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 @@ -407,6 +492,7 @@ public boolean getDrop() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,8 +504,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_); } @@ -430,8 +515,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); } @@ -446,17 +530,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; @@ -466,28 +552,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: @@ -516,8 +599,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: @@ -528,89 +610,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 @@ -620,39 +708,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(); @@ -670,19 +762,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); } @@ -691,29 +786,32 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification bui @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification buildPartial() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = + new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartial0( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } } - private void buildPartialOneofs(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartialOneofs( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { result.modCase_ = modCase_; result.mod_ = this.mod_; - if (modCase_ == 2 && - createBuilder_ != null) { + if (modCase_ == 2 && createBuilder_ != null) { result.mod_ = createBuilder_.build(); } - if (modCase_ == 3 && - updateBuilder_ != null) { + if (modCase_ == 3 && updateBuilder_ != null) { result.mod_ = updateBuilder_.build(); } } @@ -722,67 +820,79 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.ModifyColumnFamilie public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { - return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)other); + if (other + instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { + return mergeFrom( + (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { - if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { + if (other + == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification + .getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getModCase()) { - case CREATE: { - mergeCreate(other.getCreate()); - break; - } - case UPDATE: { - mergeUpdate(other.getUpdate()); - break; - } - case DROP: { - setDrop(other.getDrop()); - break; - } - case MOD_NOT_SET: { - break; - } + case CREATE: + { + mergeCreate(other.getCreate()); + break; + } + case UPDATE: + { + mergeUpdate(other.getUpdate()); + break; + } + case DROP: + { + setDrop(other.getDrop()); + break; + } + case MOD_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -810,36 +920,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getCreateFieldBuilder().getBuilder(), - extensionRegistry); - modCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); - modCase_ = 3; - break; - } // case 26 - case 32: { - mod_ = input.readBool(); - modCase_ = 4; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getCreateFieldBuilder().getBuilder(), extensionRegistry); + modCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + modCase_ = 3; + break; + } // case 26 + case 32: + { + mod_ = input.readBool(); + modCase_ = 4; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -849,12 +960,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() { @@ -868,18 +979,20 @@ public Builder clearMod() { private java.lang.Object id_ = ""; /** + * + * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -888,20 +1001,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 { @@ -909,28 +1023,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { @@ -940,17 +1061,21 @@ public Builder clearId() { return this; } /** + * + * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -959,14 +1084,20 @@ public Builder setIdBytes( } 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 @@ -974,12 +1105,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 @@ -997,6 +1131,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.
@@ -1018,6 +1154,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.
@@ -1025,8 +1163,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();
@@ -1037,6 +1174,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.
@@ -1046,10 +1185,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;
           }
@@ -1065,6 +1207,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.
@@ -1089,6 +1233,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.
@@ -1100,6 +1246,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.
@@ -1119,6 +1267,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.
@@ -1127,14 +1277,19 @@ 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());
@@ -1146,14 +1301,20 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> updateBuilder_;
+              com.google.bigtable.admin.v2.ColumnFamily,
+              com.google.bigtable.admin.v2.ColumnFamily.Builder,
+              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          updateBuilder_;
       /**
+       *
+       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; + * * @return Whether the update field is set. */ @java.lang.Override @@ -1161,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 @@ -1184,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.
@@ -1205,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.
@@ -1212,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();
@@ -1224,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.
@@ -1233,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;
           }
@@ -1252,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.
@@ -1276,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.
@@ -1287,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.
@@ -1306,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.
@@ -1314,14 +1494,19 @@ 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());
@@ -1333,24 +1518,30 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       }
 
       /**
+       *
+       *
        * 
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; + * * @return Whether the drop field is set. */ public boolean hasDrop() { return modCase_ == 4; } /** + * + * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; + * * @return The drop. */ public boolean getDrop() { @@ -1360,12 +1551,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. */ @@ -1377,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() { @@ -1393,6 +1590,7 @@ public Builder clearDrop() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1405,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; @@ -1451,23 +1653,29 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -1476,31 +1684,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 { @@ -1509,9 +1719,13 @@ public java.lang.String getName() { } public static final int MODIFICATIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List modifications_; + private java.util.List + modifications_; /** + * + * *
    * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
@@ -1519,13 +1733,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
@@ -1533,14 +1752,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
@@ -1548,13 +1772,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
@@ -1562,13 +1790,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
@@ -1576,15 +1809,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; @@ -1596,8 +1832,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_); } @@ -1617,8 +1852,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; @@ -1628,17 +1862,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; } @@ -1662,98 +1895,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 +2000,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 +2042,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,14 +2063,18 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
+      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result =
+          new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
+    private void buildPartialRepeatedFields(
+        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
       if (modificationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           modifications_ = java.util.Collections.unmodifiableList(modifications_);
@@ -1855,38 +2097,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequ
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1894,7 +2137,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_;
         bitField0_ |= 0x00000001;
@@ -1918,9 +2162,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
             modificationsBuilder_ = null;
             modifications_ = other.modifications_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            modificationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getModificationsFieldBuilder() : null;
+            modificationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getModificationsFieldBuilder()
+                    : null;
           } else {
             modificationsBuilder_.addAllMessages(other.modifications_);
           }
@@ -1952,30 +2197,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
-                  input.readMessage(
-                      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.parser(),
-                      extensionRegistry);
-              if (modificationsBuilder_ == null) {
-                ensureModificationsIsMutable();
-                modifications_.add(m);
-              } else {
-                modificationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
+                    input.readMessage(
+                        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification
+                            .parser(),
+                        extensionRegistry);
+                if (modificationsBuilder_ == null) {
+                  ensureModificationsIsMutable();
+                  modifications_.add(m);
+                } else {
+                  modificationsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1985,24 +2234,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; @@ -2011,22 +2265,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 { @@ -2034,32 +2291,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -2069,19 +2337,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2089,19 +2363,28 @@ public Builder setNameBytes( return this; } - private java.util.List modifications_ = - java.util.Collections.emptyList(); + private java.util.List + modifications_ = java.util.Collections.emptyList(); + private void ensureModificationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - modifications_ = new java.util.ArrayList(modifications_); + modifications_ = + new java.util.ArrayList< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>( + modifications_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> modificationsBuilder_; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + modificationsBuilder_; /** + * + * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2109,9 +2392,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 { @@ -2119,6 +2405,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 @@ -2126,7 +2414,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) { @@ -2136,6 +2426,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
@@ -2143,9 +2435,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 { @@ -2153,6 +2448,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
@@ -2160,7 +2457,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) { @@ -2177,6 +2476,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
@@ -2184,10 +2485,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()); @@ -2198,6 +2503,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
@@ -2205,9 +2512,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(); @@ -2221,6 +2531,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
@@ -2228,7 +2540,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) { @@ -2245,6 +2559,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
@@ -2252,10 +2568,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()); @@ -2266,6 +2585,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
@@ -2273,10 +2594,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()); @@ -2287,6 +2612,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
@@ -2294,14 +2621,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); @@ -2309,6 +2639,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
@@ -2316,7 +2648,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) { @@ -2329,6 +2663,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
@@ -2336,7 +2672,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) { @@ -2349,6 +2687,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
@@ -2356,13 +2696,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
@@ -2370,16 +2714,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
@@ -2387,10 +2736,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 { @@ -2398,6 +2751,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
@@ -2405,13 +2760,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
@@ -2419,14 +2781,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
@@ -2434,18 +2803,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_ & 0x00000002) != 0), getParentForChildren(), @@ -2454,9 +2832,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); } @@ -2466,12 +2844,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(); } @@ -2480,27 +2858,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; @@ -2515,6 +2893,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..2a5a201628 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 37a23ce1aa..b09394555d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +28,51 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
  */
-public final class OperationProgress extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OperationProgress)
     OperationProgressOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private OperationProgress() {
-  }
+
+  private OperationProgress() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.CommonProto
+        .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+    return com.google.bigtable.admin.v2.CommonProto
+        .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+            com.google.bigtable.admin.v2.OperationProgress.class,
+            com.google.bigtable.admin.v2.OperationProgress.Builder.class);
   }
 
   public static final int PROGRESS_PERCENT_FIELD_NUMBER = 1;
   private int progressPercent_ = 0;
   /**
+   *
+   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; + * * @return The progressPercent. */ @java.lang.Override @@ -62,11 +83,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 @@ -74,11 +98,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -86,6 +113,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time the request was received.
    * 
@@ -100,12 +129,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 @@ -113,12 +145,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 @@ -126,6 +161,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.
@@ -139,6 +176,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -150,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 (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -171,16 +208,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;
@@ -190,24 +224,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;
@@ -235,99 +267,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.
@@ -335,33 +372,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();
@@ -381,9 +417,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
@@ -402,8 +438,11 @@ public com.google.bigtable.admin.v2.OperationProgress build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OperationProgress buildPartial() {
-      com.google.bigtable.admin.v2.OperationProgress result = new com.google.bigtable.admin.v2.OperationProgress(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.OperationProgress result =
+          new com.google.bigtable.admin.v2.OperationProgress(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -414,14 +453,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
         result.progressPercent_ = progressPercent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
     }
 
@@ -429,38 +464,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OperationProgress) {
-        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress)other);
+        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,31 +540,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              progressPercent_ = input.readInt32();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                progressPercent_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,16 +574,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private int progressPercent_ ;
+    private int progressPercent_;
     /**
+     *
+     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return The progressPercent. */ @java.lang.Override @@ -555,12 +595,15 @@ 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. */ @@ -572,12 +615,15 @@ public Builder setProgressPercent(int value) { return this; } /** + * + * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; + * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -589,24 +635,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -617,6 +672,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time the request was received.
      * 
@@ -637,14 +694,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(); } else { @@ -655,6 +713,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -663,9 +723,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -678,6 +738,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -695,6 +757,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -707,6 +771,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the request was received.
      * 
@@ -717,11 +783,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.
      * 
@@ -729,14 +796,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_; @@ -744,26 +814,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -774,6 +853,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -795,6 +876,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -802,8 +885,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();
       } else {
@@ -814,6 +896,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -823,9 +907,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -838,6 +922,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -856,6 +942,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -869,6 +957,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -880,11 +970,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.
@@ -893,21 +984,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);
     }
 
@@ -917,12 +1011,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();
   }
@@ -931,27 +1025,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;
@@ -966,6 +1060,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..4510512113 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 0cf3764e16..4fabbe956c 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the 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,48 +30,54 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
  */
-public final class OptimizeRestoredTableMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OptimizeRestoredTableMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
     OptimizeRestoredTableMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredTableMetadata.newBuilder() to construct.
   private OptimizeRestoredTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OptimizeRestoredTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OptimizeRestoredTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
+            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Name of the restored table being optimized.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -63,29 +86,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 { @@ -96,11 +119,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 @@ -108,18 +134,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.
    * 
@@ -128,10 +161,13 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() { */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() + : progress_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,8 +199,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; @@ -175,19 +209,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; @@ -212,98 +245,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
@@ -313,33 +352,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();
@@ -354,9 +392,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
@@ -375,8 +413,11 @@ public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result =
+          new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -387,9 +428,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
     }
 
@@ -397,38 +436,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)other);
+        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -436,7 +476,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_;
         bitField0_ |= 0x00000001;
@@ -471,24 +512,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -498,22 +540,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the restored table being optimized.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -522,20 +567,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 { @@ -543,28 +589,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -574,17 +627,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -594,34 +651,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; + * * @return The progress. */ public com.google.bigtable.admin.v2.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -642,6 +712,8 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -660,6 +732,8 @@ public Builder setProgress( return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -668,9 +742,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - progress_ != null && - progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && progress_ != null + && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -683,6 +757,8 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -700,6 +776,8 @@ public Builder clearProgress() { return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -712,6 +790,8 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -722,11 +802,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.
      * 
@@ -734,21 +817,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); } @@ -758,12 +844,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(); } @@ -772,27 +858,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; @@ -807,6 +893,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..29d12f22ff 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 70% 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 71de819294..5238746326 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ -public final class PartialUpdateClusterMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartialUpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) PartialUpdateClusterMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartialUpdateClusterMetadata.newBuilder() to construct. private PartialUpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartialUpdateClusterMetadata() { - } + + private PartialUpdateClusterMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartialUpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } public static final int REQUEST_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -57,11 +78,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 @@ -69,6 +93,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.
    * 
@@ -83,11 +109,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 @@ -95,11 +124,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 @@ -107,6 +139,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.
    * 
@@ -121,11 +155,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 @@ -133,18 +170,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.
    * 
@@ -152,11 +196,15 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalReque * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder + getOriginalRequestOrBuilder() { + return originalRequest_ == null + ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() + : originalRequest_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 (requestTime_ != null) { output.writeMessage(1, getRequestTime()); } @@ -189,16 +236,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; @@ -208,27 +252,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; @@ -259,131 +301,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(); @@ -407,9 +454,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 @@ -428,8 +475,11 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = + new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -437,19 +487,15 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.requestTime_ = requestTimeBuilder_ == null - ? requestTime_ - : requestTimeBuilder_.build(); + result.requestTime_ = + requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null - ? finishTime_ - : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.originalRequest_ = originalRequestBuilder_ == null - ? originalRequest_ - : originalRequestBuilder_.build(); + result.originalRequest_ = + originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); } } @@ -457,38 +503,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMeta public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) other); } else { super.mergeFrom(other); return this; @@ -496,7 +543,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 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,38 +614,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + requestTimeBuilder_; /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; + * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -620,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(); } else { @@ -638,6 +699,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -646,9 +709,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -661,6 +724,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -678,6 +743,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -690,6 +757,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -700,11 +769,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.
      * 
@@ -712,14 +784,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_; @@ -727,34 +802,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -775,14 +863,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(); } else { @@ -793,6 +882,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -801,9 +892,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -816,6 +907,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -833,6 +926,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -845,6 +940,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -855,11 +952,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.
      * 
@@ -867,14 +967,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_; @@ -882,41 +985,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder setOriginalRequest( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -930,6 +1047,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClus return this; } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
@@ -948,17 +1067,21 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder mergeOriginalRequest( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - originalRequest_ != null && - originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && originalRequest_ != null + && originalRequest_ + != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -971,6 +1094,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateCl return this; } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
@@ -988,33 +1113,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() { bitField0_ |= 0x00000004; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder + getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null ? - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() + : originalRequest_; } } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1022,21 +1156,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); } @@ -1046,12 +1183,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(); } @@ -1060,27 +1197,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; @@ -1095,6 +1232,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..9202770d38 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 65% 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 b08f877ab4..d80378d946 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ -public final class PartialUpdateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartialUpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) PartialUpdateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartialUpdateClusterRequest.newBuilder() to construct. private PartialUpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartialUpdateClusterRequest() { - } + + private PartialUpdateClusterRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartialUpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster cluster_; /** + * + * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -58,12 +80,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 @@ -71,12 +97,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() { @@ -86,11 +115,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 @@ -98,11 +131,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 @@ -110,11 +147,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() { @@ -122,6 +162,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,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 (cluster_ != null) { output.writeMessage(1, getCluster()); } @@ -151,12 +191,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; @@ -166,22 +204,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; @@ -208,131 +245,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(); @@ -351,9 +393,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 @@ -372,8 +414,11 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = + new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,14 +426,10 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,38 +437,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +477,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()); } @@ -468,26 +511,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,46 +539,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, + com.google.bigtable.admin.v2.Cluster.Builder, + com.google.bigtable.admin.v2.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -552,15 +614,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(); } else { @@ -571,18 +636,22 @@ 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 (((bitField0_ & 0x00000001) != 0) && - cluster_ != null && - cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && cluster_ != null + && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -595,12 +664,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -613,12 +686,16 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000001; @@ -626,38 +703,50 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, + com.google.bigtable.admin.v2.Cluster.Builder, + com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, + com.google.bigtable.admin.v2.Cluster.Builder, + com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -665,39 +754,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -713,14 +818,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(); } else { @@ -731,17 +838,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -754,11 +864,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -771,11 +884,14 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -783,43 +899,53 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +955,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(); } @@ -843,27 +969,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; @@ -878,6 +1004,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..24a9eb0a86 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 46457cc30d..8fb9c86665 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,55 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ -public final class PartialUpdateInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PartialUpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) PartialUpdateInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PartialUpdateInstanceRequest.newBuilder() to construct. private PartialUpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PartialUpdateInstanceRequest() { - } + + private PartialUpdateInstanceRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PartialUpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } public static final int INSTANCE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Instance instance_; /** + * + * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -57,38 +80,55 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -96,12 +136,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 @@ -109,12 +153,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() { @@ -122,6 +169,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +181,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()); } @@ -151,12 +198,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; @@ -166,22 +211,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; @@ -208,131 +252,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(); @@ -351,9 +400,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 @@ -372,8 +421,11 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = + new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,14 +433,10 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,38 +444,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -435,7 +484,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()); } @@ -468,26 +518,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -497,43 +546,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance.Builder, + com.google.bigtable.admin.v2.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -549,14 +618,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(); } else { @@ -567,17 +639,21 @@ 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 (((bitField0_ & 0x00000001) != 0) && - instance_ != null && - instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && instance_ != null + && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -590,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,11 +687,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -619,36 +703,48 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance.Builder, + com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance.Builder, + com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -656,42 +752,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -707,15 +819,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(); } else { @@ -726,18 +840,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -750,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -768,12 +888,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -781,45 +904,55 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +962,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(); } @@ -843,27 +976,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; @@ -878,6 +1011,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..9f94dbf0a4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 7a82127259..683400e45a 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,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/table.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Information about a table restore.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ -public final class RestoreInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RestoreInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreInfo) RestoreInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestoreInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, + com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object sourceInfo_; + public enum SourceInfoCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; + private SourceInfoCase(int value) { this.value = value; } @@ -67,56 +90,70 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: return BACKUP_INFO; - case 0: return SOURCEINFO_NOT_SET; - default: return null; + case 2: + return BACKUP_INFO; + case 0: + return SOURCEINFO_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceInfoCase - getSourceInfoCase() { - return SourceInfoCase.forNumber( - sourceInfoCase_); + public SourceInfoCase getSourceInfoCase() { + return SourceInfoCase.forNumber(sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_ = 0; /** + * + * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @return The sourceType. */ - @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override + public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** + * + * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -124,22 +161,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.
@@ -150,12 +192,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;
@@ -167,9 +210,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) {
@@ -184,13 +228,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;
@@ -200,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.admin.v2.RestoreInfo)) {
       return super.equals(obj);
@@ -211,8 +257,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:
@@ -243,132 +288,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(); @@ -383,9 +432,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 @@ -404,8 +453,11 @@ public com.google.bigtable.admin.v2.RestoreInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo buildPartial() { - com.google.bigtable.admin.v2.RestoreInfo result = new com.google.bigtable.admin.v2.RestoreInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.RestoreInfo result = + new com.google.bigtable.admin.v2.RestoreInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -421,8 +473,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreInfo result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && - backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -431,38 +482,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.RestoreInfo) { - return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo)other); + return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo) other); } else { super.mergeFrom(other); return this; @@ -475,13 +527,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(); @@ -509,24 +563,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getBackupInfoFieldBuilder().getBuilder(), - extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); + sourceInfoCase_ = 2; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,12 +591,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() { @@ -555,22 +610,29 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -581,24 +643,31 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -612,11 +681,14 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -627,14 +699,20 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, + com.google.bigtable.admin.v2.BackupInfo.Builder, + com.google.bigtable.admin.v2.BackupInfoOrBuilder> + backupInfoBuilder_; /** + * + * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -642,12 +720,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 @@ -665,6 +746,8 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { } } /** + * + * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -686,6 +769,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.
@@ -693,8 +778,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();
@@ -705,6 +789,8 @@ public Builder setBackupInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -714,10 +800,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;
         }
@@ -733,6 +822,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.
@@ -757,6 +848,8 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -768,6 +861,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.
@@ -787,6 +882,8 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -795,14 +892,19 @@ 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());
@@ -812,9 +914,9 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       onChanged();
       return backupInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -824,12 +926,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();
   }
@@ -838,27 +940,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;
@@ -873,6 +975,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 a875e62056..cac3f319ef 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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..fd6b54c544 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 5e0a556180..3cf76cc5a9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,33 +46,38 @@ private RestoreTableMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableMetadata.class, com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableMetadata.class,
+            com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
   }
 
   private int sourceInfoCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object sourceInfo_;
+
   public enum SourceInfoCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
+
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -70,31 +93,37 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3: return BACKUP_INFO;
-        case 0: return SOURCEINFO_NOT_SET;
-        default: return null;
+        case 3:
+          return BACKUP_INFO;
+        case 0:
+          return SOURCEINFO_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase
-  getSourceInfoCase() {
-    return SourceInfoCase.forNumber(
-        sourceInfoCase_);
+  public SourceInfoCase getSourceInfoCase() {
+    return SourceInfoCase.forNumber(sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -103,29 +132,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 { @@ -136,32 +165,42 @@ public java.lang.String getName() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_ = 0; /** + * + * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; + * * @return The sourceType. */ - @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override + public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -170,30 +209,32 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - /** - * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - */ + /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object optimizeTableOperationName_ = ""; /** + * + * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -207,6 +248,7 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
    * 
* * string optimize_table_operation_name = 4; + * * @return The optimizeTableOperationName. */ @java.lang.Override @@ -215,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
@@ -236,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 { @@ -256,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 @@ -269,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.
@@ -291,10 +343,13 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
+    return progress_ == null
+        ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
+        : progress_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -306,12 +361,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) {
@@ -335,20 +391,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;
@@ -358,28 +416,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:
@@ -419,98 +475,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].
@@ -518,33 +579,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();
@@ -566,9 +626,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
@@ -587,8 +647,11 @@ public com.google.bigtable.admin.v2.RestoreTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableMetadata result = new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.RestoreTableMetadata result =
+          new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -606,17 +669,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreTableMetadata res
         result.optimizeTableOperationName_ = optimizeTableOperationName_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progress_ = progressBuilder_ == null
-            ? progress_
-            : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 &&
-          backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -625,38 +685,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadat
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata)other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -664,7 +725,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_;
         bitField0_ |= 0x00000001;
@@ -682,13 +744,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();
@@ -716,41 +780,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              sourceType_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getBackupInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceInfoCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              optimizeTableOperationName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                sourceType_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                sourceInfoCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                optimizeTableOperationName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -760,12 +826,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() {
@@ -779,18 +845,20 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Name of the table being created and restored to.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -799,20 +867,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 { @@ -820,28 +889,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -851,17 +927,21 @@ public Builder clearName() { return this; } /** + * + * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -871,22 +951,29 @@ 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. */ @@ -897,24 +984,31 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; + * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; + * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -928,11 +1022,14 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -943,9 +1040,13 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, + com.google.bigtable.admin.v2.BackupInfo.Builder, + com.google.bigtable.admin.v2.BackupInfoOrBuilder> + backupInfoBuilder_; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -954,6 +1055,7 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + * * @return The backupInfo. */ @java.lang.Override @@ -970,9 +1072,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) { @@ -986,11 +1086,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(); @@ -1000,15 +1097,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; } @@ -1023,9 +1121,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) { @@ -1042,15 +1138,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)) { @@ -1062,18 +1154,21 @@ 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()); @@ -1086,6 +1181,8 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() private java.lang.Object optimizeTableOperationName_ = ""; /** + * + * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1099,13 +1196,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; @@ -1114,6 +1211,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
@@ -1127,15 +1226,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 { @@ -1143,6 +1241,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
@@ -1156,18 +1256,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizeTableOperationName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1181,6 +1285,7 @@ public Builder setOptimizeTableOperationName(
      * 
* * string optimize_table_operation_name = 4; + * * @return This builder for chaining. */ public Builder clearOptimizeTableOperationName() { @@ -1190,6 +1295,8 @@ public Builder clearOptimizeTableOperationName() { return this; } /** + * + * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1203,12 +1310,14 @@ public Builder clearOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; + * * @param value The bytes for optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; @@ -1218,36 +1327,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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.
@@ -1269,6 +1391,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.
@@ -1288,6 +1412,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1297,9 +1423,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          progress_ != null &&
-          progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && progress_ != null
+            && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1312,6 +1438,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.
@@ -1330,6 +1458,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1343,6 +1473,8 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1354,11 +1486,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.
@@ -1367,21 +1502,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);
     }
 
@@ -1391,12 +1529,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();
   }
@@ -1405,27 +1543,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;
@@ -1440,6 +1578,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 2f3447f0a6..55436a916e 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the 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 71%
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 fa2748554a..052f6ed624 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the 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,33 +45,38 @@ private RestoreTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableRequest.class, com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableRequest.class,
+            com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -69,33 +92,41 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3: return BACKUP;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 3:
+          return BACKUP;
+        case 0:
+          return SOURCE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase
-  getSourceCase() {
-    return SourceCase.forNumber(
-        sourceCase_);
+  public SourceCase getSourceCase() {
+    return SourceCase.forNumber(sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the instance in which to create the restored
    * table. 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 @@ -104,31 +135,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 { @@ -137,9 +170,12 @@ public java.lang.String getParent() { } public static final int TABLE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** + * + * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -148,6 +184,7 @@ public java.lang.String getParent() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tableId. */ @java.lang.Override @@ -156,14 +193,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
@@ -172,16 +210,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 { @@ -191,24 +228,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() { @@ -219,8 +262,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; @@ -229,24 +271,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; } @@ -257,6 +300,7 @@ public java.lang.String getBackup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,8 +312,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_); } @@ -305,22 +348,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: @@ -353,99 +394,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 +499,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();
@@ -492,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
@@ -513,8 +558,11 @@ public com.google.bigtable.admin.v2.RestoreTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableRequest result = new com.google.bigtable.admin.v2.RestoreTableRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.RestoreTableRequest result =
+          new com.google.bigtable.admin.v2.RestoreTableRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -539,38 +587,39 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableRequest
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -578,7 +627,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_;
         bitField0_ |= 0x00000001;
@@ -590,15 +640,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();
@@ -626,28 +678,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              tableId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              sourceCase_ = 3;
-              source_ = s;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                tableId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                sourceCase_ = 3;
+                source_ = s;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -657,12 +713,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() {
@@ -676,20 +732,24 @@ public Builder clearSource() {
 
     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; @@ -698,22 +758,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 { @@ -721,32 +784,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance in which to create the restored
      * table. 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() { @@ -756,19 +830,25 @@ public Builder clearParent() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -778,6 +858,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
@@ -786,13 +868,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; @@ -801,6 +883,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
@@ -809,15 +893,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 { @@ -825,6 +908,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
@@ -833,18 +918,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -853,6 +942,7 @@ public Builder setTableId(
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTableId() { @@ -862,6 +952,8 @@ public Builder clearTableId() { return this; } /** + * + * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -870,12 +962,14 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -884,12 +978,15 @@ public Builder setTableIdBytes( } /** + * + * *
      * 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 @@ -897,12 +994,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 @@ -912,8 +1012,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; @@ -924,25 +1023,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; } @@ -952,30 +1052,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackup(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceCase_ = 3; source_ = value; onChanged(); return this; } /** + * + * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearBackup() { @@ -987,27 +1094,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1017,12 +1128,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(); } @@ -1031,27 +1142,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; @@ -1066,6 +1177,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 98d09bc1e1..aeba6fe81b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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(); 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 74% 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 0cfb69c5f0..e21e957a72 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -16,15 +33,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;
@@ -33,34 +51,38 @@ private Snapshot() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Snapshot();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto
+        .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto
+        .internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Snapshot.class, com.google.bigtable.admin.v2.Snapshot.Builder.class);
+            com.google.bigtable.admin.v2.Snapshot.class,
+            com.google.bigtable.admin.v2.Snapshot.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible states of a snapshot.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Snapshot.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the snapshot could not be determined.
      * 
@@ -69,6 +91,8 @@ public enum State */ STATE_NOT_KNOWN(0), /** + * + * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -77,6 +101,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
@@ -90,6 +116,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the snapshot could not be determined.
      * 
@@ -98,6 +126,8 @@ public enum State */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** + * + * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -106,6 +136,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
@@ -116,7 +148,6 @@ public enum State
      */
     public static final int CREATING_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,49 +172,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;
@@ -201,9 +232,12 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -211,6 +245,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -219,14 +254,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
@@ -234,16 +270,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 { @@ -254,11 +289,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 @@ -266,18 +304,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.
    * 
@@ -286,12 +331,16 @@ public com.google.bigtable.admin.v2.Table getSourceTable() { */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { - return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; + return sourceTable_ == null + ? com.google.bigtable.admin.v2.Table.getDefaultInstance() + : sourceTable_; } public static final int DATA_SIZE_BYTES_FIELD_NUMBER = 3; private long dataSizeBytes_ = 0L; /** + * + * *
    * Output only. The size of the data in the source table at the time the
    * snapshot was taken. In some cases, this value may be computed
@@ -300,6 +349,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
    * 
* * int64 data_size_bytes = 3; + * * @return The dataSizeBytes. */ @java.lang.Override @@ -310,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 @@ -322,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 @@ -334,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.
    * 
@@ -348,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,
@@ -355,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 @@ -362,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,
@@ -369,6 +432,7 @@ public boolean hasDeleteTime() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return The deleteTime. */ @java.lang.Override @@ -376,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,
@@ -392,38 +458,51 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @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() { - com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + @java.lang.Override + public com.google.bigtable.admin.v2.Snapshot.State getState() { + com.google.bigtable.admin.v2.Snapshot.State result = + com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Output only. Description of the snapshot.
    * 
* * string description = 7; + * * @return The description. */ @java.lang.Override @@ -432,29 +511,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 { @@ -463,6 +542,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -474,8 +554,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_); } @@ -510,24 +589,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_); @@ -540,35 +614,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; } @@ -587,8 +655,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(); @@ -606,99 +673,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 +782,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();
@@ -765,9 +835,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
@@ -786,8 +856,11 @@ public com.google.bigtable.admin.v2.Snapshot build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Snapshot buildPartial() {
-      com.google.bigtable.admin.v2.Snapshot result = new com.google.bigtable.admin.v2.Snapshot(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.Snapshot result =
+          new com.google.bigtable.admin.v2.Snapshot(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -798,22 +871,17 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sourceTable_ = sourceTableBuilder_ == null
-            ? sourceTable_
-            : sourceTableBuilder_.build();
+        result.sourceTable_ =
+            sourceTableBuilder_ == null ? sourceTable_ : sourceTableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.dataSizeBytes_ = dataSizeBytes_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.state_ = state_;
@@ -827,38 +895,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Snapshot) {
-        return mergeFrom((com.google.bigtable.admin.v2.Snapshot)other);
+        return mergeFrom((com.google.bigtable.admin.v2.Snapshot) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -918,53 +987,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getSourceTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              dataSizeBytes_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            case 58: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getSourceTableFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                dataSizeBytes_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            case 58:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -974,10 +1045,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -985,13 +1059,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; @@ -1000,6 +1074,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1007,15 +1083,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 { @@ -1023,6 +1098,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1030,18 +1107,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1049,6 +1130,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1058,6 +1140,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1065,12 +1149,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1080,34 +1166,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * 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.
      * 
@@ -1128,14 +1227,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(); } else { @@ -1146,6 +1246,8 @@ public Builder setSourceTable( return this; } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1154,9 +1256,9 @@ public Builder setSourceTable( */ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sourceTable_ != null && - sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sourceTable_ != null + && sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getSourceTableBuilder().mergeFrom(value); } else { sourceTable_ = value; @@ -1169,6 +1271,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.
      * 
@@ -1186,6 +1290,8 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1198,6 +1304,8 @@ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { return getSourceTableFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1208,11 +1316,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.
      * 
@@ -1220,21 +1331,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
@@ -1243,6 +1359,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
      * 
* * int64 data_size_bytes = 3; + * * @return The dataSizeBytes. */ @java.lang.Override @@ -1250,6 +1367,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
@@ -1258,6 +1377,7 @@ public long getDataSizeBytes() {
      * 
* * int64 data_size_bytes = 3; + * * @param value The dataSizeBytes to set. * @return This builder for chaining. */ @@ -1269,6 +1389,8 @@ public Builder setDataSizeBytes(long value) { return this; } /** + * + * *
      * Output only. The size of the data in the source table at the time the
      * snapshot was taken. In some cases, this value may be computed
@@ -1277,6 +1399,7 @@ public Builder setDataSizeBytes(long value) {
      * 
* * int64 data_size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearDataSizeBytes() { @@ -1288,34 +1411,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * 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.
      * 
@@ -1336,14 +1472,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(); } else { @@ -1354,6 +1491,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1362,9 +1501,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1377,6 +1516,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1394,6 +1535,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1406,6 +1549,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1416,11 +1561,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.
      * 
@@ -1428,14 +1576,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_; @@ -1443,8 +1594,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,
@@ -1452,12 +1608,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * 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,
@@ -1465,16 +1624,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,
@@ -1497,6 +1661,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,
@@ -1505,8 +1671,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();
       } else {
@@ -1517,6 +1682,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,
@@ -1527,9 +1694,9 @@ public Builder setDeleteTime(
      */
     public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       if (deleteTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          deleteTime_ != null &&
-          deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && deleteTime_ != null
+            && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getDeleteTimeBuilder().mergeFrom(value);
         } else {
           deleteTime_ = value;
@@ -1542,6 +1709,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,
@@ -1561,6 +1730,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,
@@ -1575,6 +1746,8 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() {
       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,
@@ -1587,11 +1760,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,
@@ -1601,14 +1777,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_;
@@ -1616,22 +1795,29 @@ 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. */ @@ -1642,24 +1828,31 @@ public Builder setStateValue(int value) { 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() { - com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + com.google.bigtable.admin.v2.Snapshot.State result = + com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1673,11 +1866,14 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { return this; } /** + * + * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @return This builder for chaining. */ public Builder clearState() { @@ -1689,18 +1885,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; @@ -1709,20 +1907,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 { @@ -1730,28 +1929,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. Description of the snapshot.
      * 
* * string description = 7; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1761,26 +1967,30 @@ public Builder clearDescription() { 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1790,12 +2000,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(); } @@ -1804,27 +2014,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; @@ -1839,6 +2049,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..9e109a836a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 70% 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 4b72609e4e..2040dcce70 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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.
  *
@@ -15,46 +32,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
  */
-public final class SnapshotTableMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SnapshotTableMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
     SnapshotTableMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SnapshotTableMetadata.newBuilder() to construct.
   private SnapshotTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private SnapshotTableMetadata() {
-  }
+
+  private SnapshotTableMetadata() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SnapshotTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
+            com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
   }
 
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
   /**
+   *
+   *
    * 
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -62,18 +83,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.
    * 
@@ -82,17 +110,22 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() + : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -100,11 +133,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 +148,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 +164,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 +179,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 +194,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 +208,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +220,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 +240,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 +256,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; @@ -264,98 +305,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.
    *
@@ -367,33 +413,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();
@@ -417,9 +462,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
@@ -438,8 +483,11 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableMetadata result = new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.SnapshotTableMetadata result =
+          new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -447,19 +495,15 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ = originalRequestBuilder_ == null
-            ? originalRequest_
-            : originalRequestBuilder_.build();
+        result.originalRequest_ =
+            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ = requestTimeBuilder_ == null
-            ? requestTime_
-            : requestTimeBuilder_.build();
+        result.requestTime_ =
+            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null
-            ? finishTime_
-            : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
       }
     }
 
@@ -467,38 +511,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata)other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -506,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());
       }
@@ -542,33 +588,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getOriginalRequestFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRequestTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getFinishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -578,38 +622,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> originalRequestBuilder_;
+            com.google.bigtable.admin.v2.SnapshotTableRequest,
+            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder,
+            com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>
+        originalRequestBuilder_;
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -630,6 +688,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequ return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -648,6 +708,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -656,9 +718,10 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - originalRequest_ != null && - originalRequest_ != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && originalRequest_ != null + && originalRequest_ + != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -671,6 +734,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -688,6 +753,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -700,21 +767,27 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ - public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder + getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null ? - com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() + : originalRequest_; } } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -722,14 +795,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_; @@ -737,34 +813,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -785,14 +874,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(); } else { @@ -803,6 +893,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -811,9 +903,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -826,6 +918,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -843,6 +937,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -855,6 +951,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -865,11 +963,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.
      * 
@@ -877,14 +978,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_; @@ -892,34 +996,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -940,14 +1057,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(); } else { @@ -958,6 +1076,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -966,9 +1086,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -981,6 +1101,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -998,6 +1120,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1010,6 +1134,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1020,11 +1146,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.
      * 
@@ -1032,21 +1161,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); } @@ -1056,12 +1188,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(); } @@ -1070,27 +1202,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; @@ -1105,6 +1237,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..dcc6370afc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 6882981b6a..673000864c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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]
@@ -16,15 +33,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_ = "";
@@ -34,35 +52,42 @@ private SnapshotTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SnapshotTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableRequest.class,
+            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -71,31 +96,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 { @@ -104,16 +131,22 @@ public java.lang.String getName() { } public static final int CLUSTER_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** + * + * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The cluster. */ @java.lang.Override @@ -122,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 { @@ -155,9 +190,12 @@ public java.lang.String getCluster() { } public static final int SNAPSHOT_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object snapshotId_ = ""; /** + * + * *
    * Required. The ID by which the new snapshot should be referred to within the parent
    * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -166,6 +204,7 @@ public java.lang.String getCluster() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The snapshotId. */ @java.lang.Override @@ -174,14 +213,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]*`
@@ -190,16 +230,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 { @@ -210,6 +249,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
@@ -218,6 +259,7 @@ public java.lang.String getSnapshotId() {
    * 
* * .google.protobuf.Duration ttl = 4; + * * @return Whether the ttl field is set. */ @java.lang.Override @@ -225,6 +267,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
@@ -233,6 +277,7 @@ public boolean hasTtl() {
    * 
* * .google.protobuf.Duration ttl = 4; + * * @return The ttl. */ @java.lang.Override @@ -240,6 +285,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
@@ -255,14 +302,18 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
+   *
+   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -271,29 +322,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 +353,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +365,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 +400,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 +413,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,98 +458,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]
@@ -516,33 +567,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();
@@ -560,9 +610,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
@@ -581,8 +631,11 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableRequest result = new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.SnapshotTableRequest result =
+          new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -599,9 +652,7 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
         result.snapshotId_ = snapshotId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.ttl_ = ttlBuilder_ == null
-            ? ttl_
-            : ttlBuilder_.build();
+        result.ttl_ = ttlBuilder_ == null ? ttl_ : ttlBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -612,38 +663,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -651,7 +703,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_;
         bitField0_ |= 0x00000001;
@@ -701,39 +754,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              cluster_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              snapshotId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getTtlFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                cluster_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                snapshotId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -743,24 +800,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -769,22 +831,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 { @@ -792,32 +857,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -827,19 +903,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -849,20 +931,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; @@ -871,22 +957,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 { @@ -894,32 +983,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cluster_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCluster() { @@ -929,19 +1029,25 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000002; @@ -951,6 +1057,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]*`
@@ -959,13 +1067,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; @@ -974,6 +1082,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]*`
@@ -982,15 +1092,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 { @@ -998,6 +1107,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]*`
@@ -1006,18 +1117,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setSnapshotId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } snapshotId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1026,6 +1141,7 @@ public Builder setSnapshotId(
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSnapshotId() { @@ -1035,6 +1151,8 @@ public Builder clearSnapshotId() { return this; } /** + * + * *
      * Required. The ID by which the new snapshot should be referred to within the parent
      * cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1043,12 +1161,14 @@ public Builder clearSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); snapshotId_ = value; bitField0_ |= 0x00000004; @@ -1058,8 +1178,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
@@ -1068,12 +1193,15 @@ public Builder setSnapshotIdBytes(
      * 
* * .google.protobuf.Duration ttl = 4; + * * @return Whether the ttl field is set. */ public boolean hasTtl() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1082,6 +1210,7 @@ public boolean hasTtl() {
      * 
* * .google.protobuf.Duration ttl = 4; + * * @return The ttl. */ public com.google.protobuf.Duration getTtl() { @@ -1092,6 +1221,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
@@ -1115,6 +1246,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
@@ -1124,8 +1257,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();
       } else {
@@ -1136,6 +1268,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
@@ -1147,9 +1281,9 @@ public Builder setTtl(
      */
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          ttl_ != null &&
-          ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && ttl_ != null
+            && ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getTtlBuilder().mergeFrom(value);
         } else {
           ttl_ = value;
@@ -1162,6 +1296,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
@@ -1182,6 +1318,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
@@ -1197,6 +1335,8 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() {
       return getTtlFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1210,11 +1350,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
@@ -1225,14 +1366,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_;
@@ -1240,18 +1383,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; @@ -1260,20 +1405,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 { @@ -1281,28 +1427,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Description of the snapshot.
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1312,26 +1465,30 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Description of the snapshot.
      * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1498,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(); } @@ -1355,27 +1512,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; @@ -1390,6 +1547,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..a693ed634d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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..8e2c4971a1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 820977dedf..ca03579836 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,39 +45,41 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Table();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto
+        .internal_static_google_bigtable_admin_v2_Table_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 2:
         return internalGetClusterStates();
       case 3:
         return internalGetColumnFamilies();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto
+        .internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Table.class, com.google.bigtable.admin.v2.Table.Builder.class);
+            com.google.bigtable.admin.v2.Table.class,
+            com.google.bigtable.admin.v2.Table.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible timestamp granularities to use when keeping multiple versions
    * of data in a table.
@@ -67,9 +87,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.
@@ -79,6 +100,8 @@ public enum TimestampGranularity
      */
     TIMESTAMP_GRANULARITY_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -90,6 +113,8 @@ public enum TimestampGranularity ; /** + * + * *
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -99,6 +124,8 @@ public enum TimestampGranularity
      */
     public static final int TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -107,7 +134,6 @@ public enum TimestampGranularity */ public static final int MILLIS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -132,9 +158,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; } } @@ -142,28 +171,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); } @@ -172,8 +201,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; @@ -191,15 +219,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.
      * 
@@ -208,6 +239,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * Only populates `name`.
      * 
@@ -216,6 +249,8 @@ public enum View */ NAME_ONLY(1), /** + * + * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -224,6 +259,8 @@ public enum View */ SCHEMA_VIEW(2), /** + * + * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -233,6 +270,8 @@ public enum View
      */
     REPLICATION_VIEW(3),
     /**
+     *
+     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -241,6 +280,8 @@ public enum View */ ENCRYPTION_VIEW(5), /** + * + * *
      * Populates all fields.
      * 
@@ -252,6 +293,8 @@ public enum View ; /** + * + * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -260,6 +303,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Only populates `name`.
      * 
@@ -268,6 +313,8 @@ public enum View */ public static final int NAME_ONLY_VALUE = 1; /** + * + * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -276,6 +323,8 @@ public enum View */ public static final int SCHEMA_VIEW_VALUE = 2; /** + * + * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -285,6 +334,8 @@ public enum View
      */
     public static final int REPLICATION_VIEW_VALUE = 3;
     /**
+     *
+     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -293,6 +344,8 @@ public enum View */ public static final int ENCRYPTION_VIEW_VALUE = 5; /** + * + * *
      * Populates all fields.
      * 
@@ -301,7 +354,6 @@ public enum View */ public static final int FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -326,52 +378,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; @@ -388,30 +443,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
@@ -420,11 +488,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
@@ -433,10 +504,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
@@ -445,10 +520,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
@@ -457,11 +536,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
@@ -470,27 +553,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(); @@ -498,34 +585,38 @@ private ClusterState() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClusterState(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, + com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } /** + * + * *
      * Table replication states.
      * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.ClusterState.ReplicationState} */ - public enum ReplicationState - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The replication state of the table is unknown in this cluster.
        * 
@@ -534,6 +625,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
@@ -544,6 +637,8 @@ public enum ReplicationState
        */
       INITIALIZING(1),
       /**
+       *
+       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -553,6 +648,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.
@@ -562,6 +659,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
@@ -572,6 +671,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
@@ -585,6 +686,8 @@ public enum ReplicationState
       ;
 
       /**
+       *
+       *
        * 
        * The replication state of the table is unknown in this cluster.
        * 
@@ -593,6 +696,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
@@ -603,6 +708,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.
@@ -612,6 +719,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.
@@ -621,6 +730,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
@@ -631,6 +742,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
@@ -641,7 +754,6 @@ public enum ReplicationState
        */
       public static final int READY_OPTIMIZING_VALUE = 5;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -666,13 +778,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;
         }
       }
 
@@ -680,29 +799,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();
@@ -710,8 +831,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;
@@ -731,33 +851,52 @@ private ReplicationState(int value) {
     public static final int REPLICATION_STATE_FIELD_NUMBER = 1;
     private int replicationState_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The state of replication for the table in this cluster.
      * 
* - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override public int getReplicationStateValue() { + @java.lang.Override + public int getReplicationStateValue() { return replicationState_; } /** + * + * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The replicationState. */ - @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); - return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; + @java.lang.Override + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( + replicationState_); + return result == null + ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED + : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** + * + * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -766,13 +905,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
@@ -781,14 +924,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
@@ -797,13 +944,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
@@ -812,13 +963,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
@@ -827,7 +982,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( @@ -836,6 +993,7 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -847,9 +1005,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++) { @@ -864,13 +1023,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; @@ -880,16 +1039,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; } @@ -913,89 +1072,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 @@ -1005,39 +1168,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(); @@ -1054,9 +1219,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 @@ -1075,14 +1240,18 @@ public com.google.bigtable.admin.v2.Table.ClusterState build() { @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState buildPartial() { - com.google.bigtable.admin.v2.Table.ClusterState result = new com.google.bigtable.admin.v2.Table.ClusterState(this); + com.google.bigtable.admin.v2.Table.ClusterState result = + new com.google.bigtable.admin.v2.Table.ClusterState(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.Table.ClusterState result) { + private void buildPartialRepeatedFields( + com.google.bigtable.admin.v2.Table.ClusterState result) { if (encryptionInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { encryptionInfo_ = java.util.Collections.unmodifiableList(encryptionInfo_); @@ -1105,38 +1274,41 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table.ClusterState resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Table.ClusterState) { - return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState)other); + return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState) other); } else { super.mergeFrom(other); return this; @@ -1144,7 +1316,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()); } @@ -1166,9 +1339,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000002); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEncryptionInfoFieldBuilder() : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEncryptionInfoFieldBuilder() + : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1200,30 +1374,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - replicationState_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - com.google.bigtable.admin.v2.EncryptionInfo m = - input.readMessage( - com.google.bigtable.admin.v2.EncryptionInfo.parser(), - extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + replicationState_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + com.google.bigtable.admin.v2.EncryptionInfo m = + input.readMessage( + com.google.bigtable.admin.v2.EncryptionInfo.parser(), extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1233,26 +1409,38 @@ 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. */ @@ -1263,28 +1451,44 @@ public Builder setReplicationStateValue(int value) { return this; } /** + * + * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The replicationState. */ @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); - return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState + getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( + replicationState_); + return result == null + ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED + : result; } /** + * + * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The replicationState to set. * @return This builder for chaining. */ - public Builder setReplicationState(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { + public Builder setReplicationState( + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { if (value == null) { throw new NullPointerException(); } @@ -1294,11 +1498,16 @@ public Builder setReplicationState(com.google.bigtable.admin.v2.Table.ClusterSta 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() { @@ -1309,18 +1518,25 @@ public Builder clearReplicationState() { } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = + new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, + com.google.bigtable.admin.v2.EncryptionInfo.Builder, + com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1329,7 +1545,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) { @@ -1339,6 +1557,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
@@ -1347,7 +1567,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) { @@ -1357,6 +1579,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
@@ -1365,7 +1589,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) { @@ -1375,6 +1601,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
@@ -1383,7 +1611,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) { @@ -1400,6 +1630,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
@@ -1408,7 +1640,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) { @@ -1422,6 +1656,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
@@ -1430,7 +1666,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) { @@ -1446,6 +1684,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
@@ -1454,7 +1694,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) { @@ -1471,6 +1713,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
@@ -1479,7 +1723,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) { @@ -1493,6 +1739,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
@@ -1501,7 +1749,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) { @@ -1515,6 +1765,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
@@ -1523,14 +1775,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); @@ -1538,6 +1791,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
@@ -1546,7 +1801,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) { @@ -1559,6 +1816,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
@@ -1567,7 +1826,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) { @@ -1580,6 +1841,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
@@ -1588,13 +1851,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
@@ -1603,16 +1870,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
@@ -1621,10 +1893,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 { @@ -1632,6 +1906,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
@@ -1640,13 +1916,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
@@ -1655,14 +1935,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
@@ -1671,18 +1955,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_ & 0x00000002) != 0), getParentForChildren(), @@ -1691,6 +1983,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) { @@ -1703,12 +1996,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(); } @@ -1717,27 +2010,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; @@ -1752,13 +2046,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -1766,6 +2062,7 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1774,14 +2071,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]*`.
@@ -1789,16 +2087,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 { @@ -1807,32 +2104,43 @@ 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()); } + @SuppressWarnings("serial") 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_; } + 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
@@ -1841,23 +2149,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
@@ -1866,13 +2178,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,20 +2198,25 @@ 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 /* nullable */
-com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
+  public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.bigtable.admin.v2.Table.ClusterState defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.bigtable.admin.v2.Table.ClusterState defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetClusterStates().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -1903,12 +2225,16 @@ 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,32 +2244,40 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 3; + private static final class ColumnFamiliesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto + .internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; private com.google.protobuf.MapField - internalGetColumnFamilies() { + columnFamilies_; + + private com.google.protobuf.MapField + internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); } return columnFamilies_; } + public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** + * + * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -1952,20 +2286,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`
@@ -1974,10 +2310,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`
@@ -1986,17 +2325,20 @@ public java.util.Mapmap<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+  public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -2005,9 +2347,10 @@ 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)) {
@@ -2019,6 +2362,8 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
   public static final int GRANULARITY_FIELD_NUMBER = 4;
   private int granularity_ = 0;
   /**
+   *
+   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
    * table. Timestamps not matching the granularity will be rejected.
@@ -2026,13 +2371,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.
@@ -2040,23 +2391,35 @@ 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() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; + @java.lang.Override + public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { + com.google.bigtable.admin.v2.Table.TimestampGranularity result = + com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null + ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED + : result; } public static final int RESTORE_INFO_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; /** + * + * *
    * Output only. If this table was restored from another data source (e.g. a backup), this
    * field will be populated with information about the restore.
    * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -2064,34 +2427,49 @@ public boolean hasRestoreInfo() { return restoreInfo_ != null; } /** + * + * *
    * Output only. If this table was restored from another data source (e.g. a backup), this
    * field will be populated with information about the restore.
    * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The restoreInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() + : restoreInfo_; } /** + * + * *
    * Output only. If this table was restored from another data source (e.g. a backup), this
    * field will be populated with information about the restore.
    * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() + : restoreInfo_; } public static final int CHANGE_STREAM_CONFIG_FIELD_NUMBER = 8; private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; /** + * + * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2099,6 +2477,7 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; + * * @return Whether the changeStreamConfig field is set. */ @java.lang.Override @@ -2106,6 +2485,8 @@ public boolean hasChangeStreamConfig() { return changeStreamConfig_ != null; } /** + * + * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2113,13 +2494,18 @@ public boolean hasChangeStreamConfig() {
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; + * * @return The changeStreamConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { - return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; + return changeStreamConfig_ == null + ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() + : changeStreamConfig_; } /** + * + * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2130,12 +2516,16 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
-    return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
+    return changeStreamConfig_ == null
+        ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
+        : changeStreamConfig_;
   }
 
   public static final int DELETION_PROTECTION_FIELD_NUMBER = 9;
   private boolean deletionProtection_ = false;
   /**
+   *
+   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -2146,6 +2536,7 @@ public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamC
    * 
* * bool deletion_protection = 9; + * * @return The deletionProtection. */ @java.lang.Override @@ -2154,6 +2545,7 @@ public boolean getDeletionProtection() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2165,24 +2557,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) { @@ -2206,41 +2591,42 @@ 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 (changeStreamConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getChangeStreamConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getChangeStreamConfig()); } if (deletionProtection_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, deletionProtection_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, deletionProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2250,32 +2636,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.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; - if (!getName() - .equals(other.getName())) return false; - if (!internalGetClusterStates().equals( - other.internalGetClusterStates())) return false; - if (!internalGetColumnFamilies().equals( - other.internalGetColumnFamilies())) return false; + if (!getName().equals(other.getName())) return false; + if (!internalGetClusterStates().equals(other.internalGetClusterStates())) return false; + if (!internalGetColumnFamilies().equals(other.internalGetColumnFamilies())) return false; if (granularity_ != other.granularity_) return false; if (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo() - .equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo().equals(other.getRestoreInfo())) return false; } if (hasChangeStreamConfig() != other.hasChangeStreamConfig()) return false; if (hasChangeStreamConfig()) { - if (!getChangeStreamConfig() - .equals(other.getChangeStreamConfig())) return false; + if (!getChangeStreamConfig().equals(other.getChangeStreamConfig())) return false; } - if (getDeletionProtection() - != other.getDeletionProtection()) return false; + if (getDeletionProtection() != other.getDeletionProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2308,106 +2688,109 @@ public int hashCode() { hash = (53 * hash) + getChangeStreamConfig().hashCode(); } hash = (37 * hash) + DELETION_PROTECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDeletionProtection()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletionProtection()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Table parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.admin.v2.Table parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.bigtable.admin.v2.Table parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.admin.v2.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.admin.v2.Table parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.admin.v2.Table parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.admin.v2.Table parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.admin.v2.Table parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.admin.v2.Table prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A collection of user data indexed by row, column, and timestamp.
    * Each table is served using the resources of its parent cluster.
@@ -2415,59 +2798,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();
@@ -2491,9 +2871,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
@@ -2513,7 +2893,9 @@ public com.google.bigtable.admin.v2.Table build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Table buildPartial() {
       com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -2535,14 +2917,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
         result.granularity_ = granularity_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.restoreInfo_ = restoreInfoBuilder_ == null
-            ? restoreInfo_
-            : restoreInfoBuilder_.build();
+        result.restoreInfo_ =
+            restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.changeStreamConfig_ = changeStreamConfigBuilder_ == null
-            ? changeStreamConfig_
-            : changeStreamConfigBuilder_.build();
+        result.changeStreamConfig_ =
+            changeStreamConfigBuilder_ == null
+                ? changeStreamConfig_
+                : changeStreamConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.deletionProtection_ = deletionProtection_;
@@ -2553,38 +2935,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Table) {
-        return mergeFrom((com.google.bigtable.admin.v2.Table)other);
+        return mergeFrom((com.google.bigtable.admin.v2.Table) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2598,11 +2981,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableClusterStates().mergeFrom(
-          other.internalGetClusterStates());
+      internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates());
       bitField0_ |= 0x00000002;
-      internalGetMutableColumnFamilies().mergeFrom(
-          other.internalGetColumnFamilies());
+      internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies());
       bitField0_ |= 0x00000004;
       if (other.granularity_ != 0) {
         setGranularityValue(other.getGranularityValue());
@@ -2642,59 +3023,72 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              clusterStates__ = input.readMessage(
-                  ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableClusterStates().getMutableMap().put(
-                  clusterStates__.getKey(), clusterStates__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              columnFamilies__ = input.readMessage(
-                  ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableColumnFamilies().getMutableMap().put(
-                  columnFamilies__.getKey(), columnFamilies__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              granularity_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 50: {
-              input.readMessage(
-                  getRestoreInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 50
-            case 66: {
-              input.readMessage(
-                  getChangeStreamConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 66
-            case 72: {
-              deletionProtection_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 72
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState>
+                    clusterStates__ =
+                        input.readMessage(
+                            ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableClusterStates()
+                    .getMutableMap()
+                    .put(clusterStates__.getKey(), clusterStates__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.bigtable.admin.v2.ColumnFamily>
+                    columnFamilies__ =
+                        input.readMessage(
+                            ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableColumnFamilies()
+                    .getMutableMap()
+                    .put(columnFamilies__.getKey(), columnFamilies__.getValue());
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                granularity_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 50:
+              {
+                input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 50
+            case 66:
+              {
+                input.readMessage(
+                    getChangeStreamConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 66
+            case 72:
+              {
+                deletionProtection_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 72
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2704,10 +3098,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]*`.
@@ -2715,13 +3112,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; @@ -2730,6 +3127,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]*`.
@@ -2737,15 +3136,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 { @@ -2753,6 +3151,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]*`.
@@ -2760,18 +3160,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2779,6 +3183,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2788,6 +3193,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2795,12 +3202,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2809,8 +3218,11 @@ public Builder setNameBytes( } 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< + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2818,11 +3230,13 @@ public Builder setNameBytes( } return clusterStates_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> internalGetMutableClusterStates() { if (clusterStates_ == null) { - clusterStates_ = com.google.protobuf.MapField.newMapField( - ClusterStatesDefaultEntryHolder.defaultEntry); + clusterStates_ = + com.google.protobuf.MapField.newMapField(ClusterStatesDefaultEntryHolder.defaultEntry); } if (!clusterStates_.isMutable()) { clusterStates_ = clusterStates_.copy(); @@ -2831,10 +3245,13 @@ public Builder setNameBytes( onChanged(); return clusterStates_; } + public int getClusterStatesCount() { return internalGetClusterStates().getMap().size(); } /** + * + * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -2843,23 +3260,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
@@ -2868,13 +3289,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
@@ -2883,20 +3309,25 @@ 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 /* nullable */
-com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
+    public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.bigtable.admin.v2.Table.ClusterState defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.bigtable.admin.v2.Table.ClusterState defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetClusterStates().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -2905,12 +3336,16 @@ 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)) { @@ -2918,13 +3353,15 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } return map.get(key); } + public Builder clearClusterStates() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableClusterStates().getMutableMap() - .clear(); + internalGetMutableClusterStates().getMutableMap().clear(); return this; } /** + * + * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -2933,18 +3370,18 @@ public Builder clearClusterStates() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder removeClusterStates( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableClusterStates().getMutableMap() - .remove(key); + public Builder removeClusterStates(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableClusterStates().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableClusterStates() { @@ -2952,6 +3389,8 @@ public Builder removeClusterStates( 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
@@ -2960,19 +3399,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"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableClusterStates().getMutableMap() - .put(key, value); + java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableClusterStates().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -2981,19 +3426,23 @@ public Builder putClusterStates(
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder putAllClusterStates( java.util.Map values) { - internalGetMutableClusterStates().getMutableMap() - .putAll(values); + internalGetMutableClusterStates().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; - private com.google.protobuf.MapField + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + 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( @@ -3001,11 +3450,13 @@ public Builder putAllClusterStates( } return columnFamilies_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> internalGetMutableColumnFamilies() { if (columnFamilies_ == null) { - columnFamilies_ = com.google.protobuf.MapField.newMapField( - ColumnFamiliesDefaultEntryHolder.defaultEntry); + columnFamilies_ = + com.google.protobuf.MapField.newMapField(ColumnFamiliesDefaultEntryHolder.defaultEntry); } if (!columnFamilies_.isMutable()) { columnFamilies_ = columnFamilies_.copy(); @@ -3014,10 +3465,13 @@ public Builder putAllClusterStates( onChanged(); return columnFamilies_; } + public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** + * + * *
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3026,20 +3480,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`
@@ -3048,10 +3504,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`
@@ -3060,17 +3519,20 @@ public java.util.Mapmap<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+    public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3081,7 +3543,9 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
     @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)) {
@@ -3089,13 +3553,15 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
       }
       return map.get(key);
     }
+
     public Builder clearColumnFamilies() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableColumnFamilies().getMutableMap()
-          .clear();
+      internalGetMutableColumnFamilies().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3103,16 +3569,14 @@ 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() {
@@ -3120,6 +3584,8 @@ public Builder removeColumnFamilies(
       return internalGetMutableColumnFamilies().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3128,16 +3594,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"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableColumnFamilies().getMutableMap()
-          .put(key, value);
+        java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableColumnFamilies().getMutableMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3147,14 +3617,15 @@ public Builder putColumnFamilies(
      */
     public Builder putAllColumnFamilies(
         java.util.Map values) {
-      internalGetMutableColumnFamilies().getMutableMap()
-          .putAll(values);
+      internalGetMutableColumnFamilies().getMutableMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private int granularity_ = 0;
     /**
+     *
+     *
      * 
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3162,13 +3633,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.
@@ -3176,7 +3653,10 @@ 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. */ @@ -3187,6 +3667,8 @@ public Builder setGranularityValue(int value) { return this; } /** + * + * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3194,15 +3676,23 @@ 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() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; + com.google.bigtable.admin.v2.Table.TimestampGranularity result = + com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null + ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3210,7 +3700,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. */ @@ -3224,6 +3717,8 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul return this; } /** + * + * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3231,7 +3726,10 @@ 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() { @@ -3243,42 +3741,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 ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The restoreInfo. */ public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() + : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -3294,12 +3811,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) { @@ -3313,18 +3834,22 @@ public Builder setRestoreInfo( return this; } /** + * + * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - restoreInfo_ != null && - restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && restoreInfo_ != null + && restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -3337,12 +3862,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3355,12 +3884,16 @@ public Builder clearRestoreInfo() { return this; } /** + * + * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000010; @@ -3368,38 +3901,50 @@ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() return getRestoreInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null ? - com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; + return restoreInfo_ == null + ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() + : restoreInfo_; } } /** + * + * *
      * Output only. If this table was restored from another data source (e.g. a backup), this
      * field will be populated with information about the restore.
      * 
* - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> + com.google.bigtable.admin.v2.RestoreInfo, + com.google.bigtable.admin.v2.RestoreInfo.Builder, + com.google.bigtable.admin.v2.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( - getRestoreInfo(), - getParentForChildren(), - isClean()); + restoreInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.RestoreInfo, + com.google.bigtable.admin.v2.RestoreInfo.Builder, + com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( + getRestoreInfo(), getParentForChildren(), isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -3407,8 +3952,13 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> changeStreamConfigBuilder_; + com.google.bigtable.admin.v2.ChangeStreamConfig, + com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, + com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> + changeStreamConfigBuilder_; /** + * + * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3416,12 +3966,15 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; + * * @return Whether the changeStreamConfig field is set. */ public boolean hasChangeStreamConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3429,16 +3982,21 @@ public boolean hasChangeStreamConfig() {
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; + * * @return The changeStreamConfig. */ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { if (changeStreamConfigBuilder_ == null) { - return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; + return changeStreamConfig_ == null + ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() + : changeStreamConfig_; } else { return changeStreamConfigBuilder_.getMessage(); } } /** + * + * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3461,6 +4019,8 @@ public Builder setChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamCo
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3481,6 +4041,8 @@ public Builder setChangeStreamConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3491,9 +4053,10 @@ public Builder setChangeStreamConfig(
      */
     public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamConfig value) {
       if (changeStreamConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          changeStreamConfig_ != null &&
-          changeStreamConfig_ != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && changeStreamConfig_ != null
+            && changeStreamConfig_
+                != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
           getChangeStreamConfigBuilder().mergeFrom(value);
         } else {
           changeStreamConfig_ = value;
@@ -3506,6 +4069,8 @@ public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStream
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3525,6 +4090,8 @@ public Builder clearChangeStreamConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3539,6 +4106,8 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
       return getChangeStreamConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3547,15 +4116,19 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      *
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
-    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
+    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder
+        getChangeStreamConfigOrBuilder() {
       if (changeStreamConfigBuilder_ != null) {
         return changeStreamConfigBuilder_.getMessageOrBuilder();
       } else {
-        return changeStreamConfig_ == null ?
-            com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
+        return changeStreamConfig_ == null
+            ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
+            : changeStreamConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3565,21 +4138,26 @@ public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamC
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> 
+            com.google.bigtable.admin.v2.ChangeStreamConfig,
+            com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
+            com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>
         getChangeStreamConfigFieldBuilder() {
       if (changeStreamConfigBuilder_ == null) {
-        changeStreamConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
-                getChangeStreamConfig(),
-                getParentForChildren(),
-                isClean());
+        changeStreamConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.bigtable.admin.v2.ChangeStreamConfig,
+                com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
+                com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
+                getChangeStreamConfig(), getParentForChildren(), isClean());
         changeStreamConfig_ = null;
       }
       return changeStreamConfigBuilder_;
     }
 
-    private boolean deletionProtection_ ;
+    private boolean deletionProtection_;
     /**
+     *
+     *
      * 
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -3590,6 +4168,7 @@ public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamC
      * 
* * bool deletion_protection = 9; + * * @return The deletionProtection. */ @java.lang.Override @@ -3597,6 +4176,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:
@@ -3607,6 +4188,7 @@ public boolean getDeletionProtection() {
      * 
* * bool deletion_protection = 9; + * * @param value The deletionProtection to set. * @return This builder for chaining. */ @@ -3618,6 +4200,8 @@ public Builder setDeletionProtection(boolean value) { return this; } /** + * + * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -3628,6 +4212,7 @@ public Builder setDeletionProtection(boolean value) {
      * 
* * bool deletion_protection = 9; + * * @return This builder for chaining. */ public Builder clearDeletionProtection() { @@ -3636,9 +4221,9 @@ public Builder clearDeletionProtection() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3648,12 +4233,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(); } @@ -3662,27 +4247,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; @@ -3697,6 +4282,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 72% 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 3c944146ea..02432acce6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,14 +116,18 @@ 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
@@ -100,12 +136,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`
@@ -115,6 +154,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`
@@ -122,15 +163,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`
@@ -138,9 +177,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`
@@ -149,11 +189,13 @@ boolean containsColumnFamilies(
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   /* nullable */
-com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.bigtable.admin.v2.ColumnFamily defaultValue);
+      com.google.bigtable.admin.v2.ColumnFamily defaultValue);
   /**
+   *
+   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -161,10 +203,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.
@@ -172,11 +215,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.
@@ -184,42 +232,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(); /** + * + * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -227,10 +294,13 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; + * * @return Whether the changeStreamConfig field is set. */ boolean hasChangeStreamConfig(); /** + * + * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -238,10 +308,13 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; + * * @return The changeStreamConfig. */ com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig(); /** + * + * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -253,6 +326,8 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
   com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -263,6 +338,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..e6afd3c3e8 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java @@ -0,0 +1,356 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/table.proto + +package com.google.bigtable.admin.v2; + +public final class TableProto { + private TableProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Snapshot_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Backup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n$google/bigtable/admin/v2/table.proto\022\030" + + "google.bigtable.admin.v2\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032\036google/protobuf/duration.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\027google/rp" + + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" + + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" + + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." + + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" + + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" + + "tention_period\030\001 \001(\0132\031.google.protobuf.D" + + "uration\"\337\t\n\005Table\022\014\n\004name\030\001 \001(\t\022P\n\016clust" + + "er_states\030\002 \003(\01322.google.bigtable.admin." + + "v2.Table.ClusterStatesEntryB\004\342A\001\003\022L\n\017col" + + "umn_families\030\003 \003(\01323.google.bigtable.adm" + + "in.v2.Table.ColumnFamiliesEntry\022O\n\013granu" + + "larity\030\004 \001(\01624.google.bigtable.admin.v2." + + "Table.TimestampGranularityB\004\342A\001\005\022A\n\014rest" + + "ore_info\030\006 \001(\0132%.google.bigtable.admin.v" + + "2.RestoreInfoB\004\342A\001\003\022J\n\024change_stream_con" + + "fig\030\010 \001(\0132,.google.bigtable.admin.v2.Cha" + + "ngeStreamConfig\022\033\n\023deletion_protection\030\t" + + " \001(\010\032\310\002\n\014ClusterState\022^\n\021replication_sta" + + "te\030\001 \001(\0162=.google.bigtable.admin.v2.Tabl" + + "e.ClusterState.ReplicationStateB\004\342A\001\003\022G\n" + + "\017encryption_info\030\002 \003(\0132(.google.bigtable" + + ".admin.v2.EncryptionInfoB\004\342A\001\003\"\216\001\n\020Repli" + + "cationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INIT" + + "IALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025U" + + "NPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020REA" + + "DY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n" + + "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigta" + + "ble.admin.v2.Table.ClusterState:\0028\001\032]\n\023C" + + "olumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value" + + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + + "Family:\0028\001\"I\n\024TimestampGranularity\022%\n!TI" + + "MESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MIL" + + "LIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tN" + + "AME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATI" + + "ON_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004" + + ":_\352A\\\n\"bigtableadmin.googleapis.com/Tabl" + + "e\0226projects/{project}/instances/{instanc" + + "e}/tables/{table}\"A\n\014ColumnFamily\0221\n\007gc_" + + "rule\030\001 \001(\0132 .google.bigtable.admin.v2.Gc" + + "Rule\"\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(" + + "\005H\000\022,\n\007max_age\030\002 \001(\0132\031.google.protobuf.D" + + "urationH\000\022E\n\014intersection\030\003 \001(\0132-.google" + + ".bigtable.admin.v2.GcRule.IntersectionH\000" + + "\0227\n\005union\030\004 \001(\0132&.google.bigtable.admin." + + "v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n\005rul" + + "es\030\001 \003(\0132 .google.bigtable.admin.v2.GcRu" + + "le\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigt" + + "able.admin.v2.GcRuleB\006\n\004rule\"\334\002\n\016Encrypt" + + "ionInfo\022V\n\017encryption_type\030\003 \001(\01627.googl" + + "e.bigtable.admin.v2.EncryptionInfo.Encry" + + "ptionTypeB\004\342A\001\003\0223\n\021encryption_status\030\004 \001" + + "(\0132\022.google.rpc.StatusB\004\342A\001\003\022J\n\017kms_key_" + + "version\030\002 \001(\tB1\342A\001\003\372A*\n(cloudkms.googlea" + + "pis.com/CryptoKeyVersion\"q\n\016EncryptionTy" + + "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031G" + + "OOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_M" + + "ANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004name" + + "\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.bi" + + "gtable.admin.v2.Table\022\027\n\017data_size_bytes" + + "\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\0227\n\005state\030\006 \001(\0162" + + "(.google.bigtable.admin.v2.Snapshot.Stat" + + "e\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STATE" + + "_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{\352" + + "Ax\n%bigtableadmin.googleapis.com/Snapsho" + + "t\022Oprojects/{project}/instances/{instanc" + + "e}/clusters/{cluster}/snapshots/{snapsho" + + "t}\"\244\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\033\n\014source_ta" + + "ble\030\002 \001(\tB\005\342A\002\005\002\0225\n\013expire_time\030\003 \001(\0132\032." + + "google.protobuf.TimestampB\004\342A\001\002\0224\n\nstart" + + "_time\030\004 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022\030\n\nsize_bytes\030\006 \001(\003B\004\342" + + "A\001\003\022;\n\005state\030\007 \001(\0162&.google.bigtable.adm" + + "in.v2.Backup.StateB\004\342A\001\003\022G\n\017encryption_i" + + "nfo\030\t \001(\0132(.google.bigtable.admin.v2.Enc" + + "ryptionInfoB\004\342A\001\003\"7\n\005State\022\025\n\021STATE_UNSP" + + "ECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n" + + "#bigtableadmin.googleapis.com/Backup\022Kpr" + + "ojects/{project}/instances/{instance}/cl" + + "usters/{cluster}/backups/{backup}\"\250\001\n\nBa" + + "ckupInfo\022\024\n\006backup\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_" + + "time\030\002 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf" + + ".TimestampB\004\342A\001\003\022\032\n\014source_table\030\004 \001(\tB\004" + + "\342A\001\003*D\n\021RestoreSourceType\022#\n\037RESTORE_SOU" + + "RCE_TYPE_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034c" + + "om.google.bigtable.admin.v2B\nTableProtoP" + + "\001Z=google.golang.org/genproto/googleapis" + + "/bigtable/admin/v2;admin\252\002\036Google.Cloud." + + "Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigtabl" + + "e\\Admin\\V2\352\002\"Google::Cloud::Bigtable::Ad" + + "min::V2\352A\246\001\n(cloudkms.googleapis.com/Cry" + + "ptoKeyVersion\022zprojects/{project}/locati" + + "ons/{location}/keyRings/{key_ring}/crypt" + + "oKeys/{crypto_key}/cryptoKeyVersions/{cr" + + "ypto_key_version}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, + new java.lang.String[] { + "SourceType", "BackupInfo", "SourceInfo", + }); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, + new java.lang.String[] { + "RetentionPeriod", + }); + internal_static_google_bigtable_admin_v2_Table_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_descriptor, + new java.lang.String[] { + "Name", + "ClusterStates", + "ColumnFamilies", + "Granularity", + "RestoreInfo", + "ChangeStreamConfig", + "DeletionProtection", + }); + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, + new java.lang.String[] { + "ReplicationState", "EncryptionInfo", + }); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, + new java.lang.String[] { + "GcRule", + }); + internal_static_google_bigtable_admin_v2_GcRule_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_descriptor, + new java.lang.String[] { + "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", + }); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, + new java.lang.String[] { + "Rules", + }); + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, + new java.lang.String[] { + "Rules", + }); + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, + new java.lang.String[] { + "EncryptionType", "EncryptionStatus", "KmsKeyVersion", + }); + internal_static_google_bigtable_admin_v2_Snapshot_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Snapshot_descriptor, + new java.lang.String[] { + "Name", + "SourceTable", + "DataSizeBytes", + "CreateTime", + "DeleteTime", + "State", + "Description", + }); + internal_static_google_bigtable_admin_v2_Backup_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Backup_descriptor, + new java.lang.String[] { + "Name", + "SourceTable", + "ExpireTime", + "StartTime", + "EndTime", + "SizeBytes", + "State", + "EncryptionInfo", + }); + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, + new java.lang.String[] { + "Backup", "StartTime", "EndTime", "SourceTable", + }); + 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 70% 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 b89f2a8591..e6d3833181 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,48 +28,54 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
  */
-public final class UndeleteTableMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UndeleteTableMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
     UndeleteTableMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UndeleteTableMetadata.newBuilder() to construct.
   private UndeleteTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UndeleteTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UndeleteTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
+            com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the table being restored.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -61,29 +84,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 { @@ -94,11 +117,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 @@ -106,11 +132,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 @@ -118,6 +147,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which this operation started.
    * 
@@ -132,11 +163,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 @@ -144,11 +178,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 @@ -156,6 +193,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.
    * 
@@ -168,6 +207,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,12 +242,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; @@ -218,24 +255,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; @@ -264,98 +299,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].
@@ -363,33 +403,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();
@@ -409,9 +448,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
@@ -430,8 +469,11 @@ public com.google.bigtable.admin.v2.UndeleteTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableMetadata result = new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.UndeleteTableMetadata result =
+          new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -442,14 +484,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
     }
 
@@ -457,38 +495,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata)other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,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_;
         bitField0_ |= 0x00000001;
@@ -534,31 +574,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -568,22 +608,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the table being restored.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -592,20 +635,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 { @@ -613,28 +657,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the table being restored.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -644,17 +695,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the table being restored.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -664,24 +719,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -692,6 +756,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which this operation started.
      * 
@@ -712,14 +778,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(); } else { @@ -730,6 +797,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -738,9 +807,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -753,6 +822,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -770,6 +841,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -782,6 +855,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation started.
      * 
@@ -792,11 +867,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.
      * 
@@ -804,14 +880,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_; @@ -819,24 +898,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -847,6 +935,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -867,14 +957,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(); } else { @@ -885,6 +976,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -893,9 +986,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -908,6 +1001,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -925,6 +1020,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -937,6 +1034,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -947,11 +1046,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.
      * 
@@ -959,21 +1059,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); } @@ -983,12 +1086,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(); } @@ -997,27 +1100,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; @@ -1032,6 +1135,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..09dbb2a7fc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 64% 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 7b5a197882..d12f04e9b0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,50 +28,58 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
  */
-public final class UndeleteTableRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UndeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableRequest)
     UndeleteTableRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UndeleteTableRequest.newBuilder() to construct.
   private UndeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UndeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UndeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableRequest.class,
+            com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,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 { @@ -96,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,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_); } @@ -132,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.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; } @@ -160,98 +187,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]
@@ -259,33 +291,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();
@@ -295,9 +326,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
@@ -316,8 +347,11 @@ public com.google.bigtable.admin.v2.UndeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableRequest result = new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.UndeleteTableRequest result =
+          new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +367,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableRequest res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +407,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_;
         bitField0_ |= 0x00000001;
@@ -404,17 +440,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,24 +462,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -450,22 +493,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 { @@ -473,32 +519,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -508,28 +565,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +602,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(); } @@ -553,27 +616,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; @@ -588,6 +651,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..579e65586e --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_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 d1b7f52540..14334318c9 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,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ -public final class UpdateAppProfileMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAppProfileMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) UpdateAppProfileMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAppProfileMetadata.newBuilder() to construct. private UpdateAppProfileMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAppProfileMetadata() { - } + + private UpdateAppProfileMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAppProfileMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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); } @@ -73,12 +91,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; @@ -97,131 +116,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(); @@ -229,9 +253,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 @@ -250,7 +274,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; } @@ -259,38 +284,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; @@ -298,7 +324,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; @@ -325,12 +352,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) { @@ -340,9 +368,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); } @@ -352,12 +380,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(); } @@ -366,27 +394,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; @@ -401,6 +429,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..97a0c38b7e --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +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 65% 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 e86d4c0715..0dcc0dca8d 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,55 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Request message for BigtableInstanceAdmin.UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ -public final class UpdateAppProfileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) UpdateAppProfileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAppProfileRequest.newBuilder() to construct. private UpdateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAppProfileRequest() { - } + + private UpdateAppProfileRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, + com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } public static final int APP_PROFILE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** + * + * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the appProfile field is set. */ @java.lang.Override @@ -57,38 +80,55 @@ public boolean hasAppProfile() { return appProfile_ != null; } /** + * + * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } /** + * + * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -96,12 +136,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 @@ -109,12 +153,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() { @@ -124,11 +171,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_ = false; /** + * + * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -137,6 +187,7 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,8 +199,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()); } @@ -169,16 +219,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; @@ -188,25 +235,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; } @@ -227,139 +272,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(); @@ -379,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_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 @@ -400,8 +448,11 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileRequest result = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.UpdateAppProfileRequest result = + new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -409,14 +460,10 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.appProfile_ = appProfileBuilder_ == null - ? appProfile_ - : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.ignoreWarnings_ = ignoreWarnings_; @@ -427,38 +474,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest) other); } else { super.mergeFrom(other); return this; @@ -466,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()); } @@ -502,31 +551,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAppProfileFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,43 +585,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, + com.google.bigtable.admin.v2.AppProfile.Builder, + com.google.bigtable.admin.v2.AppProfileOrBuilder> + appProfileBuilder_; /** + * + * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** + * + * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -588,14 +657,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(); } else { @@ -606,17 +678,21 @@ 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 (((bitField0_ & 0x00000001) != 0) && - appProfile_ != null && - appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && appProfile_ != null + && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -629,11 +705,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -646,11 +726,15 @@ public Builder clearAppProfile() { return this; } /** + * + * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000001; @@ -658,36 +742,48 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null ? - com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; + return appProfile_ == null + ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() + : appProfile_; } } /** + * + * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, + com.google.bigtable.admin.v2.AppProfile.Builder, + com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), - getParentForChildren(), - isClean()); + appProfileBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, + com.google.bigtable.admin.v2.AppProfile.Builder, + com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), getParentForChildren(), isClean()); appProfile_ = null; } return appProfileBuilder_; @@ -695,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,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(); } else { @@ -765,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -789,12 +906,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -807,12 +927,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -820,50 +943,63 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean ignoreWarnings_ ; + private boolean ignoreWarnings_; /** + * + * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -871,11 +1007,14 @@ 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. */ @@ -887,11 +1026,14 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** + * + * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; + * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -900,9 +1042,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,12 +1054,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(); } @@ -926,27 +1068,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; @@ -961,6 +1103,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..33ac1d9e05 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 b9b19cd353..5d7e064d19 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,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/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(); } - 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.
@@ -52,7 +72,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 @@ -60,6 +82,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.
@@ -67,7 +91,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 @@ -75,6 +101,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.
@@ -82,7 +110,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() { @@ -92,6 +121,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
@@ -100,7 +131,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 @@ -108,6 +141,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
@@ -116,7 +151,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 @@ -124,6 +161,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
@@ -132,7 +171,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() { @@ -140,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +192,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()); } @@ -169,12 +209,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; @@ -184,22 +222,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; @@ -225,132 +262,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(); @@ -369,9 +410,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 @@ -390,8 +431,11 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() { - com.google.bigtable.admin.v2.UpdateBackupRequest result = new com.google.bigtable.admin.v2.UpdateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.UpdateBackupRequest result = + new com.google.bigtable.admin.v2.UpdateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -399,14 +443,10 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -414,38 +454,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateBackupRequest) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest)other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -453,7 +494,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()); } @@ -486,26 +528,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,12 +556,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_; + com.google.bigtable.admin.v2.Backup, + com.google.bigtable.admin.v2.Backup.Builder, + com.google.bigtable.admin.v2.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -528,13 +575,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 ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -542,7 +593,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() { @@ -553,6 +606,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.
@@ -560,7 +615,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) { @@ -576,6 +632,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.
@@ -583,10 +641,10 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -597,6 +655,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.
@@ -604,13 +664,14 @@ 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 (((bitField0_ & 0x00000001) != 0) && - backup_ != null && - backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && backup_ != null + && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -623,6 +684,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.
@@ -630,7 +693,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -643,6 +707,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.
@@ -650,7 +716,8 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -658,6 +725,8 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -665,17 +734,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.
@@ -683,17 +754,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_; @@ -701,8 +776,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
@@ -711,13 +791,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -726,17 +810,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
@@ -745,7 +835,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) { @@ -761,6 +852,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
@@ -769,10 +862,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -783,6 +876,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
@@ -791,13 +886,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -810,6 +906,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
@@ -818,7 +916,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -831,6 +930,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
@@ -839,7 +940,8 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -847,6 +949,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -855,17 +959,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
@@ -874,24 +982,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); } @@ -901,12 +1013,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(); } @@ -915,27 +1027,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; @@ -950,6 +1062,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..0ccb1ab036 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 70% 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 39b078378f..8bfa1817e9 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by UpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ -public final class UpdateClusterMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateClusterMetadata) UpdateClusterMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateClusterMetadata.newBuilder() to construct. private UpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateClusterMetadata() { - } + + private UpdateClusterMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, + com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster originalRequest_; /** + * + * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; + * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -57,18 +78,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.
    * 
@@ -77,17 +105,22 @@ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() + : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -95,11 +128,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 @@ -107,6 +143,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.
    * 
@@ -121,11 +159,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 @@ -133,11 +174,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 @@ -145,6 +189,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.
    * 
@@ -157,6 +203,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -189,16 +235,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; @@ -208,27 +251,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; @@ -259,131 +300,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(); @@ -407,9 +452,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 @@ -428,8 +473,11 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateClusterMetadata result = new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.UpdateClusterMetadata result = + new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -437,19 +485,15 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = originalRequestBuilder_ == null - ? originalRequest_ - : originalRequestBuilder_.build(); + result.originalRequest_ = + originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = requestTimeBuilder_ == null - ? requestTime_ - : requestTimeBuilder_.build(); + result.requestTime_ = + requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null - ? finishTime_ - : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); } } @@ -457,38 +501,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata)other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata) other); } else { super.mergeFrom(other); return this; @@ -496,7 +541,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 +578,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,38 +612,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.Cluster originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> originalRequestBuilder_; + com.google.bigtable.admin.v2.Cluster, + com.google.bigtable.admin.v2.Cluster.Builder, + com.google.bigtable.admin.v2.ClusterOrBuilder> + originalRequestBuilder_; /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; + * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -620,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.
      * 
@@ -638,6 +698,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -646,9 +708,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - originalRequest_ != null && - originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && originalRequest_ != null + && originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -661,6 +723,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -678,6 +742,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -690,6 +756,8 @@ public com.google.bigtable.admin.v2.Cluster.Builder getOriginalRequestBuilder() return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -700,11 +768,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.
      * 
@@ -712,14 +783,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_; @@ -727,34 +801,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -775,14 +862,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(); } else { @@ -793,6 +881,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -801,9 +891,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -816,6 +906,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -833,6 +925,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -845,6 +939,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -855,11 +951,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.
      * 
@@ -867,14 +966,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_; @@ -882,34 +984,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -930,14 +1045,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(); } else { @@ -948,6 +1064,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -956,9 +1074,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -971,6 +1089,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -988,6 +1108,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1000,6 +1122,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1010,11 +1134,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.
      * 
@@ -1022,21 +1149,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); } @@ -1046,12 +1176,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(); } @@ -1060,27 +1190,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; @@ -1095,6 +1225,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..c1fd538f5e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 70% 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 c253d3060d..cc61dfc4f6 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_instance_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by UpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ -public final class UpdateInstanceMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) UpdateInstanceMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateInstanceMetadata.newBuilder() to construct. private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateInstanceMetadata() { - } + + private UpdateInstanceMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto + .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, + com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; /** + * + * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -57,18 +78,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.
    * 
@@ -76,18 +104,24 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequ * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder + getOriginalRequestOrBuilder() { + return originalRequest_ == null + ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() + : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** + * + * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -95,11 +129,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 @@ -107,6 +144,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.
    * 
@@ -121,11 +160,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 @@ -133,11 +175,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 @@ -145,6 +190,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.
    * 
@@ -157,6 +204,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -189,16 +236,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; @@ -208,27 +252,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; @@ -259,131 +301,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(); @@ -407,9 +453,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 @@ -428,8 +474,11 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateInstanceMetadata result = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.admin.v2.UpdateInstanceMetadata result = + new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -437,19 +486,15 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = originalRequestBuilder_ == null - ? originalRequest_ - : originalRequestBuilder_.build(); + result.originalRequest_ = + originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = requestTimeBuilder_ == null - ? requestTime_ - : requestTimeBuilder_.build(); + result.requestTime_ = + requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null - ? finishTime_ - : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); } } @@ -457,38 +502,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata)other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata) other); } else { super.mergeFrom(other); return this; @@ -496,7 +542,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 +579,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,45 +613,60 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, + com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> + originalRequestBuilder_; /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; + * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; + * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() + : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder setOriginalRequest( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -620,6 +680,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInst return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -638,17 +700,21 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder mergeOriginalRequest( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - originalRequest_ != null && - originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && originalRequest_ != null + && originalRequest_ + != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -661,6 +727,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateIn return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -678,33 +746,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() { bitField0_ |= 0x00000001; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder + getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null ? - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; + return originalRequest_ == null + ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() + : originalRequest_; } } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -712,14 +789,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_; @@ -727,34 +807,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; + * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; + return requestTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -775,14 +868,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(); } else { @@ -793,6 +887,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -801,9 +897,9 @@ public Builder setRequestTime( */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requestTime_ != null && - requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requestTime_ != null + && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -816,6 +912,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -833,6 +931,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -845,6 +945,8 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -855,11 +957,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.
      * 
@@ -867,14 +972,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_; @@ -882,34 +990,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; + * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; + return finishTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -930,14 +1051,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(); } else { @@ -948,6 +1070,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -956,9 +1080,9 @@ public Builder setFinishTime( */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - finishTime_ != null && - finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && finishTime_ != null + && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -971,6 +1095,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -988,6 +1114,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1000,6 +1128,8 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1010,11 +1140,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.
      * 
@@ -1022,21 +1155,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); } @@ -1046,12 +1182,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(); } @@ -1060,27 +1196,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; @@ -1095,6 +1231,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..fd8944b420 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 70% 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 a2d46208c9..0a7313afbe 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,48 +28,54 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
  */
-public final class UpdateTableMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpdateTableMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableMetadata)
     UpdateTableMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpdateTableMetadata.newBuilder() to construct.
   private UpdateTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpdateTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpdateTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto
+        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableMetadata.class,
+            com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the table being updated.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -61,29 +84,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 { @@ -94,11 +117,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 @@ -106,11 +132,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 @@ -118,6 +147,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which this operation started.
    * 
@@ -132,11 +163,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 @@ -144,11 +178,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 @@ -156,6 +193,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.
    * 
@@ -168,6 +207,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,12 +242,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; @@ -218,24 +255,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; @@ -263,99 +298,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].
@@ -363,33 +403,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();
@@ -409,9 +448,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
@@ -430,8 +469,11 @@ public com.google.bigtable.admin.v2.UpdateTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableMetadata result = new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.UpdateTableMetadata result =
+          new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -442,14 +484,10 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
     }
 
@@ -457,38 +495,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata)other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,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_;
         bitField0_ |= 0x00000001;
@@ -534,31 +574,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -568,22 +608,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the table being updated.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -592,20 +635,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 { @@ -613,28 +657,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the table being updated.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -644,17 +695,21 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the table being updated.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -664,24 +719,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -692,6 +756,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which this operation started.
      * 
@@ -712,14 +778,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(); } else { @@ -730,6 +797,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -738,9 +807,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -753,6 +822,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -770,6 +841,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -782,6 +855,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation started.
      * 
@@ -792,11 +867,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.
      * 
@@ -804,14 +880,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_; @@ -819,24 +898,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -847,6 +935,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -867,14 +957,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(); } else { @@ -885,6 +976,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -893,9 +986,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -908,6 +1001,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -925,6 +1020,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -937,6 +1034,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -947,11 +1046,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.
      * 
@@ -959,21 +1059,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); } @@ -983,12 +1086,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(); } @@ -997,27 +1100,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; @@ -1032,6 +1135,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..c258b82a92 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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 6364cde752..2b7e423d49 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the 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,47 +28,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();
   }
 
-  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 @@ -59,12 +81,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 @@ -72,12 +98,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() { @@ -87,6 +116,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. `change_stream_config`) in the `table`
@@ -102,7 +133,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 @@ -110,6 +143,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -125,7 +160,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 @@ -133,6 +170,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. `change_stream_config`) in the `table`
@@ -148,7 +187,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() { @@ -156,6 +196,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,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 (table_ != null) { output.writeMessage(1, getTable()); } @@ -185,12 +225,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; @@ -200,22 +238,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -241,99 +278,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].
@@ -341,33 +383,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();
@@ -386,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_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
@@ -407,8 +448,11 @@ public com.google.bigtable.admin.v2.UpdateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableRequest result = new com.google.bigtable.admin.v2.UpdateTableRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.admin.v2.UpdateTableRequest result =
+          new com.google.bigtable.admin.v2.UpdateTableRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -416,14 +460,10 @@ public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.table_ = tableBuilder_ == null
-            ? table_
-            : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null
-            ? updateMask_
-            : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
       }
     }
 
@@ -431,38 +471,39 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest)other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -470,7 +511,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());
       }
@@ -503,26 +545,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -532,30 +573,42 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.Table table_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_;
+            com.google.bigtable.admin.v2.Table,
+            com.google.bigtable.admin.v2.Table.Builder,
+            com.google.bigtable.admin.v2.TableOrBuilder>
+        tableBuilder_;
     /**
+     *
+     *
      * 
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -566,12 +619,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) { @@ -587,15 +643,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(); } else { @@ -606,18 +664,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 (((bitField0_ & 0x00000001) != 0) && - table_ != null && - table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && table_ != null + && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -630,12 +691,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -648,12 +712,15 @@ public Builder clearTable() { return this; } /** + * + * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000001; @@ -661,38 +728,46 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? - com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** + * + * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, + com.google.bigtable.admin.v2.Table.Builder, + com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), - getParentForChildren(), - isClean()); + tableBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, + com.google.bigtable.admin.v2.Table.Builder, + com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; @@ -700,8 +775,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. `change_stream_config`) in the `table`
@@ -717,13 +797,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -739,17 +823,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. `change_stream_config`) in the `table`
@@ -765,7 +855,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) { @@ -781,6 +872,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. `change_stream_config`) in the `table`
@@ -796,10 +889,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -810,6 +903,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -825,13 +920,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 (((bitField0_ & 0x00000002) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -844,6 +940,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. `change_stream_config`) in the `table`
@@ -859,7 +957,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -872,6 +971,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -887,7 +988,8 @@ public Builder clearUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -895,6 +997,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -910,17 +1014,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. `change_stream_config`) in the `table`
@@ -936,24 +1044,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); } @@ -963,12 +1075,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(); } @@ -977,27 +1089,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; @@ -1012,6 +1124,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 77% 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 a8ea344413..825c02f333 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; -public interface UpdateTableRequestOrBuilder extends +public interface UpdateTableRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateTableRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the table field is set. */ boolean hasTable(); /** + * + * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The table. */ com.google.bigtable.admin.v2.Table getTable(); /** + * + * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); /** + * + * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -53,11 +82,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. `change_stream_config`) in the `table`
@@ -73,11 +106,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. `change_stream_config`) in the `table`
@@ -93,7 +130,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..eb00bb822d --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -0,0 +1,660 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public final class BigtableProto { + private BigtableProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n!google/bigtable/v2/bigtable.proto\022\022goo" + + "gle.bigtable.v2\032\034google/api/annotations." + + "proto\032\027google/api/client.proto\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\032\030google/api/routing.proto\032\035go" + + "ogle/bigtable/v2/data.proto\032&google/bigt" + + "able/v2/request_stats.proto\032\036google/prot" + + "obuf/duration.proto\032\037google/protobuf/tim" + + "estamp.proto\032\036google/protobuf/wrappers.p" + + "roto\032\027google/rpc/status.proto\"\243\003\n\017ReadRo" + + "wsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" + + "p_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.googl" + + "e.bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.g" + + "oogle.bigtable.v2.RowFilter\022\022\n\nrows_limi" + + "t\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.go" + + "ogle.bigtable.v2.ReadRowsRequest.Request" + + "StatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSt" + + "atsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIE" + + "D\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_S" + + "TATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chun" + + "ks\030\001 \003(\0132..google.bigtable.v2.ReadRowsRe" + + "sponse.CellChunk\022\034\n\024last_scanned_row_key" + + "\030\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.b" + + "igtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n" + + "\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.go" + + "ogle.protobuf.StringValue\022.\n\tqualifier\030\003" + + " \001(\0132\033.google.protobuf.BytesValue\022\030\n\020tim" + + "estamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005v" + + "alue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_" + + "row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow" + + "_status\"o\n\024SampleRowKeysRequest\022?\n\ntable" + + "_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goog" + + "leapis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t" + + "\">\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001" + + "(\014\022\024\n\014offset_bytes\030\002 \001(\003\"\271\001\n\020MutateRowRe" + + "quest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigt" + + "ableadmin.googleapis.com/Table\022\026\n\016app_pr" + + "ofile_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\0225\n" + + "\tmutations\030\003 \003(\0132\034.google.bigtable.v2.Mu" + + "tationB\004\342A\001\002\"\023\n\021MutateRowResponse\"\201\002\n\021Mu" + + "tateRowsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + + "\022\026\n\016app_profile_id\030\003 \001(\t\022B\n\007entries\030\002 \003(" + + "\0132+.google.bigtable.v2.MutateRowsRequest" + + ".EntryB\004\342A\001\002\032O\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0225" + + "\n\tmutations\030\002 \003(\0132\034.google.bigtable.v2.M" + + "utationB\004\342A\001\002\"\344\001\n\022MutateRowsResponse\022=\n\007" + + "entries\030\001 \003(\0132,.google.bigtable.v2.Mutat" + + "eRowsResponse.Entry\022?\n\017rate_limit_info\030\003" + + " \001(\0132!.google.bigtable.v2.RateLimitInfoH" + + "\000\210\001\001\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002" + + " \001(\0132\022.google.rpc.StatusB\022\n\020_rate_limit_" + + "info\"J\n\rRateLimitInfo\022)\n\006period\030\001 \001(\0132\031." + + "google.protobuf.Duration\022\016\n\006factor\030\002 \001(\001" + + "\"\260\002\n\030CheckAndMutateRowRequest\022?\n\ntable_n" + + "ame\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.google" + + "apis.com/Table\022\026\n\016app_profile_id\030\007 \001(\t\022\025" + + "\n\007row_key\030\002 \001(\014B\004\342A\001\002\0227\n\020predicate_filte" + + "r\030\006 \001(\0132\035.google.bigtable.v2.RowFilter\0224" + + "\n\016true_mutations\030\004 \003(\0132\034.google.bigtable" + + ".v2.Mutation\0225\n\017false_mutations\030\005 \003(\0132\034." + + "google.bigtable.v2.Mutation\"6\n\031CheckAndM" + + "utateRowResponse\022\031\n\021predicate_matched\030\001 " + + "\001(\010\"j\n\022PingAndWarmRequest\022<\n\004name\030\001 \001(\tB" + + ".\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/I" + + "nstance\022\026\n\016app_profile_id\030\002 \001(\t\"\025\n\023PingA" + + "ndWarmResponse\"\311\001\n\031ReadModifyWriteRowReq" + + "uest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigta" + + "bleadmin.googleapis.com/Table\022\026\n\016app_pro" + + "file_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\022<\n\005" + + "rules\030\003 \003(\0132\'.google.bigtable.v2.ReadMod" + + "ifyWriteRuleB\004\342A\001\002\"B\n\032ReadModifyWriteRow" + + "Response\022$\n\003row\030\001 \001(\0132\027.google.bigtable." + + "v2.Row\"\207\001\n,GenerateInitialChangeStreamPa" + + "rtitionsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + + "\022\026\n\016app_profile_id\030\002 \001(\t\"g\n-GenerateInit" + + "ialChangeStreamPartitionsResponse\0226\n\tpar" + + "tition\030\001 \001(\0132#.google.bigtable.v2.Stream" + + "Partition\"\234\003\n\027ReadChangeStreamRequest\022?\n" + + "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\022\026\n\016app_profile_id" + + "\030\002 \001(\t\0226\n\tpartition\030\003 \001(\0132#.google.bigta" + + "ble.v2.StreamPartition\0220\n\nstart_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampH\000\022K\n\023cont" + + "inuation_tokens\030\006 \001(\0132,.google.bigtable." + + "v2.StreamContinuationTokensH\000\022,\n\010end_tim" + + "e\030\005 \001(\0132\032.google.protobuf.Timestamp\0225\n\022h" + + "eartbeat_duration\030\007 \001(\0132\031.google.protobu" + + "f.DurationB\014\n\nstart_from\"\251\n\n\030ReadChangeS" + + "treamResponse\022N\n\013data_change\030\001 \001(\01327.goo" + + "gle.bigtable.v2.ReadChangeStreamResponse" + + ".DataChangeH\000\022K\n\theartbeat\030\002 \001(\01326.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.H" + + "eartbeatH\000\022P\n\014close_stream\030\003 \001(\01328.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.C" + + "loseStreamH\000\032\364\001\n\rMutationChunk\022X\n\nchunk_" + + "info\030\001 \001(\0132D.google.bigtable.v2.ReadChan" + + "geStreamResponse.MutationChunk.ChunkInfo" + + "\022.\n\010mutation\030\002 \001(\0132\034.google.bigtable.v2." + + "Mutation\032Y\n\tChunkInfo\022\032\n\022chunked_value_s" + + "ize\030\001 \001(\005\022\034\n\024chunked_value_offset\030\002 \001(\005\022" + + "\022\n\nlast_chunk\030\003 \001(\010\032\306\003\n\nDataChange\022J\n\004ty" + + "pe\030\001 \001(\0162<.google.bigtable.v2.ReadChange" + + "StreamResponse.DataChange.Type\022\031\n\021source" + + "_cluster_id\030\002 \001(\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020co" + + "mmit_timestamp\030\004 \001(\0132\032.google.protobuf.T" + + "imestamp\022\022\n\ntiebreaker\030\005 \001(\005\022J\n\006chunks\030\006" + + " \003(\0132:.google.bigtable.v2.ReadChangeStre" + + "amResponse.MutationChunk\022\014\n\004done\030\010 \001(\010\022\r" + + "\n\005token\030\t \001(\t\022;\n\027estimated_low_watermark" + + "\030\n \001(\0132\032.google.protobuf.Timestamp\"P\n\004Ty" + + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GA" + + "RBAGE_COLLECTION\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n" + + "\tHeartbeat\022G\n\022continuation_token\030\001 \001(\0132+" + + ".google.bigtable.v2.StreamContinuationTo" + + "ken\022;\n\027estimated_low_watermark\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\032\270\001\n\013CloseStream" + + "\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Status\022H\n\023" + + "continuation_tokens\030\002 \003(\0132+.google.bigta" + + "ble.v2.StreamContinuationToken\022;\n\016new_pa" + + "rtitions\030\003 \003(\0132#.google.bigtable.v2.Stre" + + "amPartitionB\017\n\rstream_record2\327\030\n\010Bigtabl" + + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + + "RowsRequest\032$.google.bigtable.v2.ReadRow" + + "sResponse\"\301\001\332A\ntable_name\332A\031table_name,a" + + "pp_profile_id\202\323\344\223\002>\"9/v2/{table_name=pro" + + "jects/*/instances/*/tables/*}:readRows:\001" + + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + + "ble.v2.SampleRowKeysRequest\032).google.big" + + "table.v2.SampleRowKeysResponse\"\303\001\332A\ntabl" + + "e_name\332A\031table_name,app_profile_id\202\323\344\223\002@" + + "\022>/v2/{table_name=projects/*/instances/*" + + "/tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_" + + "name\022,{table_name=projects/*/instances/*" + + "/tables/*}\022\020\n\016app_profile_id0\001\022\301\002\n\tMutat" + + "eRow\022$.google.bigtable.v2.MutateRowReque" + + "st\032%.google.bigtable.v2.MutateRowRespons" + + "e\"\346\001\332A\034table_name,row_key,mutations\332A+ta" + + "ble_name,row_key,mutations,app_profile_i" + + "d\202\323\344\223\002?\":/v2/{table_name=projects/*/inst" + + "ances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\n" + + "table_name\022,{table_name=projects/*/insta" + + "nces/*/tables/*}\022\020\n\016app_profile_id\022\263\002\n\nM" + + "utateRows\022%.google.bigtable.v2.MutateRow" + + "sRequest\032&.google.bigtable.v2.MutateRows" + + "Response\"\323\001\332A\022table_name,entries\332A!table" + + "_name,entries,app_profile_id\202\323\344\223\002@\";/v2/" + + "{table_name=projects/*/instances/*/table" + + "s/*}:mutateRows:\001*\212\323\344\223\002N\022:\n\ntable_name\022," + + "{table_name=projects/*/instances/*/table" + + "s/*}\022\020\n\016app_profile_id0\001\022\255\003\n\021CheckAndMut" + + "ateRow\022,.google.bigtable.v2.CheckAndMuta" + + "teRowRequest\032-.google.bigtable.v2.CheckA" + + "ndMutateRowResponse\"\272\002\332ABtable_name,row_" + + "key,predicate_filter,true_mutations,fals" + + "e_mutations\332AQtable_name,row_key,predica" + + "te_filter,true_mutations,false_mutations" + + ",app_profile_id\202\323\344\223\002G\"B/v2/{table_name=p" + + "rojects/*/instances/*/tables/*}:checkAnd" + + "MutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table" + + "_name=projects/*/instances/*/tables/*}\022\020" + + "\n\016app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + + "e.bigtable.v2.PingAndWarmResponse\"\215\001\332A\004n" + + "ame\332A\023name,app_profile_id\202\323\344\223\002+\"&/v2/{na" + + "me=projects/*/instances/*}:ping:\001*\212\323\344\223\0029" + + "\022%\n\004name\022\035{name=projects/*/instances/*}\022" + + "\020\n\016app_profile_id\022\335\002\n\022ReadModifyWriteRow" + + "\022-.google.bigtable.v2.ReadModifyWriteRow" + + "Request\032..google.bigtable.v2.ReadModifyW" + + "riteRowResponse\"\347\001\332A\030table_name,row_key," + + "rules\332A\'table_name,row_key,rules,app_pro" + + "file_id\202\323\344\223\002H\"C/v2/{table_name=projects/" + + "*/instances/*/tables/*}:readModifyWriteR" + + "ow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=p" + + "rojects/*/instances/*/tables/*}\022\020\n\016app_p" + + "rofile_id\022\273\002\n%GenerateInitialChangeStrea" + + "mPartitions\022@.google.bigtable.v2.Generat" + + "eInitialChangeStreamPartitionsRequest\032A." + + "google.bigtable.v2.GenerateInitialChange" + + "StreamPartitionsResponse\"\212\001\332A\ntable_name" + + "\332A\031table_name,app_profile_id\202\323\344\223\002[\"V/v2/" + + "{table_name=projects/*/instances/*/table" + + "s/*}:generateInitialChangeStreamPartitio" + + "ns:\001*0\001\022\346\001\n\020ReadChangeStream\022+.google.bi" + + "gtable.v2.ReadChangeStreamRequest\032,.goog" + + "le.bigtable.v2.ReadChangeStreamResponse\"" + + "u\332A\ntable_name\332A\031table_name,app_profile_" + + "id\202\323\344\223\002F\"A/v2/{table_name=projects/*/ins" + + "tances/*/tables/*}:readChangeStream:\001*0\001" + + "\032\333\002\312A\027bigtable.googleapis.com\322A\275\002https:/" + + "/www.googleapis.com/auth/bigtable.data,h" + + "ttps://www.googleapis.com/auth/bigtable." + + "data.readonly,https://www.googleapis.com" + + "/auth/cloud-bigtable.data,https://www.go" + + "ogleapis.com/auth/cloud-bigtable.data.re" + + "adonly,https://www.googleapis.com/auth/c" + + "loud-platform,https://www.googleapis.com" + + "/auth/cloud-platform.read-onlyB\353\002\n\026com.g" + + "oogle.bigtable.v2B\rBigtableProtoP\001Z:goog" + + "le.golang.org/genproto/googleapis/bigtab" + + "le/v2;bigtable\252\002\030Google.Cloud.Bigtable.V" + + "2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::C" + + "loud::Bigtable::V2\352AP\n%bigtableadmin.goo" + + "gleapis.com/Instance\022\'projects/{project}" + + "/instances/{instance}\352A\\\n\"bigtableadmin." + + "googleapis.com/Table\0226projects/{project}" + + "/instances/{instance}/tables/{table}b\006pr" + + "oto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.api.RoutingProto.getDescriptor(), + com.google.bigtable.v2.DataProto.getDescriptor(), + com.google.bigtable.v2.RequestStatsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, + new java.lang.String[] { + "TableName", + "AppProfileId", + "Rows", + "Filter", + "RowsLimit", + "RequestStatsView", + "Reversed", + }); + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, + new java.lang.String[] { + "Chunks", "LastScannedRowKey", "RequestStats", + }); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, + new java.lang.String[] { + "RowKey", + "FamilyName", + "Qualifier", + "TimestampMicros", + "Labels", + "Value", + "ValueSize", + "ResetRow", + "CommitRow", + "RowStatus", + }); + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, + new java.lang.String[] { + "TableName", "AppProfileId", + }); + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, + new java.lang.String[] { + "RowKey", "OffsetBytes", + }); + internal_static_google_bigtable_v2_MutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowRequest_descriptor, + new java.lang.String[] { + "TableName", "AppProfileId", "RowKey", "Mutations", + }); + internal_static_google_bigtable_v2_MutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, + new java.lang.String[] { + "TableName", "AppProfileId", "Entries", + }); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, + new java.lang.String[] { + "RowKey", "Mutations", + }); + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, + new java.lang.String[] { + "Entries", "RateLimitInfo", "RateLimitInfo", + }); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, + new java.lang.String[] { + "Index", "Status", + }); + internal_static_google_bigtable_v2_RateLimitInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RateLimitInfo_descriptor, + new java.lang.String[] { + "Period", "Factor", + }); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, + new java.lang.String[] { + "TableName", + "AppProfileId", + "RowKey", + "PredicateFilter", + "TrueMutations", + "FalseMutations", + }); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, + new java.lang.String[] { + "PredicateMatched", + }); + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, + new java.lang.String[] { + "Name", "AppProfileId", + }); + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, + new java.lang.String[] { + "TableName", "AppProfileId", "RowKey", "Rules", + }); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, + new java.lang.String[] { + "Row", + }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, + new java.lang.String[] { + "TableName", "AppProfileId", + }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, + new java.lang.String[] { + "Partition", + }); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, + new java.lang.String[] { + "TableName", + "AppProfileId", + "Partition", + "StartTime", + "ContinuationTokens", + "EndTime", + "HeartbeatDuration", + "StartFrom", + }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, + new java.lang.String[] { + "DataChange", "Heartbeat", "CloseStream", "StreamRecord", + }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, + new java.lang.String[] { + "ChunkInfo", "Mutation", + }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor + .getNestedTypes() + .get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, + new java.lang.String[] { + "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", + }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor + .getNestedTypes() + .get(1); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, + new java.lang.String[] { + "Type", + "SourceClusterId", + "RowKey", + "CommitTimestamp", + "Tiebreaker", + "Chunks", + "Done", + "Token", + "EstimatedLowWatermark", + }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor + .getNestedTypes() + .get(2); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, + new java.lang.String[] { + "ContinuationToken", "EstimatedLowWatermark", + }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor + .getNestedTypes() + .get(3); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, + new java.lang.String[] { + "Status", "ContinuationTokens", "NewPartitions", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.api.RoutingProto.routing); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.RoutingProto.getDescriptor(); + com.google.bigtable.v2.DataProto.getDescriptor(); + com.google.bigtable.v2.RequestStatsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 72% 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 a59a55e5f7..14ca3817dc 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,46 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * Specifies (some of) the contents of a single row/column/timestamp of a table.
  * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ -public final class Cell extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Cell extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Cell) CellOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Cell.newBuilder() to construct. private Cell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Cell() { value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cell(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } @@ -48,6 +64,8 @@ protected java.lang.Object newInstance( public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long timestampMicros_ = 0L; /** + * + * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -58,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * int64 timestamp_micros = 1; + * * @return The timestampMicros. */ @java.lang.Override @@ -68,6 +87,8 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -75,6 +96,7 @@ public long getTimestampMicros() {
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -83,38 +105,47 @@ public com.google.protobuf.ByteString getValue() { } public static final int LABELS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; + * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList - getLabelsList() { + public com.google.protobuf.ProtocolStringList getLabelsList() { return labels_; } /** + * + * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; + * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** + * + * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; + * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -122,20 +153,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; @@ -147,8 +181,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_); } @@ -168,12 +201,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; @@ -191,19 +222,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; } @@ -216,8 +244,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) { @@ -229,146 +256,145 @@ 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(); bitField0_ = 0; timestampMicros_ = 0L; value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @@ -389,7 +415,9 @@ public com.google.bigtable.v2.Cell build() { @java.lang.Override public com.google.bigtable.v2.Cell buildPartial() { com.google.bigtable.v2.Cell result = new com.google.bigtable.v2.Cell(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -412,38 +440,39 @@ private void buildPartial0(com.google.bigtable.v2.Cell result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Cell) { - return mergeFrom((com.google.bigtable.v2.Cell)other); + return mergeFrom((com.google.bigtable.v2.Cell) other); } else { super.mergeFrom(other); return this; @@ -494,28 +523,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - value_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLabelsIsMutable(); - labels_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + value_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLabelsIsMutable(); + labels_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -525,10 +558,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.
@@ -539,6 +575,7 @@ public Builder mergeFrom(
      * 
* * int64 timestamp_micros = 1; + * * @return The timestampMicros. */ @java.lang.Override @@ -546,6 +583,8 @@ public long getTimestampMicros() { return timestampMicros_; } /** + * + * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -556,6 +595,7 @@ public long getTimestampMicros() {
      * 
* * int64 timestamp_micros = 1; + * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -567,6 +607,8 @@ public Builder setTimestampMicros(long value) { return this; } /** + * + * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -577,6 +619,7 @@ public Builder setTimestampMicros(long value) {
      * 
* * int64 timestamp_micros = 1; + * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -588,6 +631,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
@@ -595,6 +640,7 @@ public Builder clearTimestampMicros() {
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -602,6 +648,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
@@ -609,17 +657,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(); } + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -627,6 +680,7 @@ public Builder setValue(com.google.protobuf.ByteString value) {
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -638,6 +692,7 @@ public Builder clearValue() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -645,35 +700,43 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList - getLabelsList() { + public com.google.protobuf.ProtocolStringList getLabelsList() { labels_.makeImmutable(); return labels_; } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -681,31 +744,37 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString - getLabelsBytes(int index) { + public com.google.protobuf.ByteString getLabelsBytes(int index) { return labels_.getByteString(index); } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @param index The index to set the value at. * @param value The labels to set. * @return This builder for chaining. */ - public Builder setLabels( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLabels(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000004; @@ -713,17 +782,21 @@ public Builder setLabels( return this; } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @param value The labels to add. * @return This builder for chaining. */ - public Builder addLabels( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLabels(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000004; @@ -731,50 +804,58 @@ public Builder addLabels( return this; } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @param values The labels to add. * @return This builder for chaining. */ - public Builder addAllLabels( - java.lang.Iterable values) { + public Builder addAllLabels(java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; + * * @param value The bytes of the labels to add. * @return This builder for chaining. */ - public Builder addLabelsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLabelsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -782,9 +863,9 @@ public Builder addLabelsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -794,12 +875,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(); } @@ -808,27 +889,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; @@ -843,6 +924,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..3c0a84b32f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 919df20bfe..836127acd5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,35 +47,42 @@ private CheckAndMutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckAndMutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, + com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** + * + * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -66,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 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 { @@ -99,15 +126,19 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; + * * @return The appProfileId. */ @java.lang.Override @@ -116,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 = 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 { @@ -150,12 +181,15 @@ public java.lang.String getAppProfileId() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rowKey. */ @java.lang.Override @@ -166,6 +200,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
@@ -174,6 +210,7 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; + * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -181,6 +218,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
@@ -189,13 +228,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
@@ -207,13 +251,18 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-    return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
+    return predicateFilter_ == null
+        ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
+        : predicateFilter_;
   }
 
   public static final int TRUE_MUTATIONS_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private java.util.List trueMutations_;
   /**
+   *
+   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -229,6 +278,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
@@ -240,11 +291,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
@@ -260,6 +313,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
@@ -275,6 +330,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
@@ -286,15 +343,17 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
-      int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
     return trueMutations_.get(index);
   }
 
   public static final int FALSE_MUTATIONS_FIELD_NUMBER = 5;
+
   @SuppressWarnings("serial")
   private java.util.List falseMutations_;
   /**
+   *
+   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -310,6 +369,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
@@ -321,11 +382,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
@@ -341,6 +404,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
@@ -356,6 +421,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
@@ -367,12 +434,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;
@@ -384,8 +451,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_);
     }
@@ -417,20 +483,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_);
@@ -443,28 +505,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;
   }
@@ -499,132 +556,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(); @@ -655,9 +716,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 @@ -676,14 +737,18 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowRequest buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowRequest result = new com.google.bigtable.v2.CheckAndMutateRowRequest(this); + com.google.bigtable.v2.CheckAndMutateRowRequest result = + new com.google.bigtable.v2.CheckAndMutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.v2.CheckAndMutateRowRequest result) { + private void buildPartialRepeatedFields( + com.google.bigtable.v2.CheckAndMutateRowRequest result) { if (trueMutationsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { trueMutations_ = java.util.Collections.unmodifiableList(trueMutations_); @@ -716,9 +781,8 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul result.rowKey_ = rowKey_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.predicateFilter_ = predicateFilterBuilder_ == null - ? predicateFilter_ - : predicateFilterBuilder_.build(); + result.predicateFilter_ = + predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build(); } } @@ -726,38 +790,39 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest)other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest) other); } else { super.mergeFrom(other); return this; @@ -765,7 +830,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_; bitField0_ |= 0x00000001; @@ -800,9 +866,10 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) trueMutationsBuilder_ = null; trueMutations_ = other.trueMutations_; bitField0_ = (bitField0_ & ~0x00000010); - trueMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTrueMutationsFieldBuilder() : null; + trueMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTrueMutationsFieldBuilder() + : null; } else { trueMutationsBuilder_.addAllMessages(other.trueMutations_); } @@ -826,9 +893,10 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) falseMutationsBuilder_ = null; falseMutations_ = other.falseMutations_; bitField0_ = (bitField0_ & ~0x00000020); - falseMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFalseMutationsFieldBuilder() : null; + falseMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFalseMutationsFieldBuilder() + : null; } else { falseMutationsBuilder_.addAllMessages(other.falseMutations_); } @@ -860,60 +928,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 34: { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), - extensionRegistry); - if (trueMutationsBuilder_ == null) { - ensureTrueMutationsIsMutable(); - trueMutations_.add(m); - } else { - trueMutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), - extensionRegistry); - if (falseMutationsBuilder_ == null) { - ensureFalseMutationsIsMutable(); - falseMutations_.add(m); - } else { - falseMutationsBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: { - input.readMessage( - getPredicateFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 34: + { + com.google.bigtable.v2.Mutation m = + input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); + if (trueMutationsBuilder_ == null) { + ensureTrueMutationsIsMutable(); + trueMutations_.add(m); + } else { + trueMutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + com.google.bigtable.v2.Mutation m = + input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); + if (falseMutationsBuilder_ == null) { + ensureFalseMutationsIsMutable(); + falseMutations_.add(m); + } else { + falseMutationsBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: + { + input.readMessage(getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -923,24 +992,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 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; @@ -949,22 +1023,25 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString - getTableNameBytes() { + public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableName_ = b; return b; } else { @@ -972,32 +1049,43 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1007,19 +1095,25 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1029,19 +1123,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; @@ -1050,21 +1146,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 { @@ -1072,30 +1169,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1105,18 +1209,22 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1126,12 +1234,15 @@ 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 @@ -1139,29 +1250,37 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** + * + * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1173,8 +1292,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
@@ -1183,12 +1307,15 @@ public Builder clearRowKey() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; + * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1197,16 +1324,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
@@ -1230,6 +1362,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
@@ -1239,8 +1373,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();
       } else {
@@ -1251,6 +1384,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
@@ -1262,9 +1397,9 @@ public Builder setPredicateFilter(
      */
     public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       if (predicateFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          predicateFilter_ != null &&
-          predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && predicateFilter_ != null
+            && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getPredicateFilterBuilder().mergeFrom(value);
         } else {
           predicateFilter_ = value;
@@ -1277,6 +1412,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
@@ -1297,6 +1434,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
@@ -1312,6 +1451,8 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
       return getPredicateFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1325,11 +1466,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
@@ -1340,32 +1484,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_ & 0x00000010) != 0)) {
         trueMutations_ = new java.util.ArrayList(trueMutations_);
         bitField0_ |= 0x00000010;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> trueMutationsBuilder_;
+            com.google.bigtable.v2.Mutation,
+            com.google.bigtable.v2.Mutation.Builder,
+            com.google.bigtable.v2.MutationOrBuilder>
+        trueMutationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1384,6 +1537,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
@@ -1402,6 +1557,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
@@ -1420,6 +1577,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
@@ -1430,8 +1589,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();
@@ -1445,6 +1603,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
@@ -1467,6 +1627,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
@@ -1491,6 +1653,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
@@ -1501,8 +1665,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();
@@ -1516,6 +1679,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
@@ -1526,8 +1691,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());
@@ -1538,6 +1702,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
@@ -1560,6 +1726,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
@@ -1574,8 +1742,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);
@@ -1583,6 +1750,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
@@ -1604,6 +1773,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
@@ -1625,6 +1796,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
@@ -1635,11 +1808,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
@@ -1650,14 +1824,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
@@ -1668,8 +1844,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 {
@@ -1677,6 +1853,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
@@ -1688,10 +1866,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
@@ -1702,12 +1882,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
@@ -1718,16 +1899,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_ & 0x00000010) != 0),
                 getParentForChildren(),
@@ -1738,18 +1924,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_ & 0x00000020) != 0)) {
         falseMutations_ = new java.util.ArrayList(falseMutations_);
         bitField0_ |= 0x00000020;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> falseMutationsBuilder_;
+            com.google.bigtable.v2.Mutation,
+            com.google.bigtable.v2.Mutation.Builder,
+            com.google.bigtable.v2.MutationOrBuilder>
+        falseMutationsBuilder_;
 
     /**
+     *
+     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1768,6 +1960,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
@@ -1786,6 +1980,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
@@ -1804,6 +2000,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
@@ -1814,8 +2012,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();
@@ -1829,6 +2026,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
@@ -1851,6 +2050,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
@@ -1875,6 +2076,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
@@ -1885,8 +2088,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();
@@ -1900,6 +2102,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
@@ -1910,8 +2114,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());
@@ -1922,6 +2125,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
@@ -1944,6 +2149,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
@@ -1958,8 +2165,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);
@@ -1967,6 +2173,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
@@ -1988,6 +2196,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
@@ -2009,6 +2219,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
@@ -2019,11 +2231,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
@@ -2034,14 +2247,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
@@ -2052,8 +2267,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 {
@@ -2061,6 +2276,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
@@ -2072,10 +2289,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
@@ -2086,12 +2305,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
@@ -2102,16 +2322,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_ & 0x00000020) != 0),
                 getParentForChildren(),
@@ -2120,9 +2345,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);
     }
 
@@ -2132,12 +2357,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();
   }
@@ -2146,27 +2371,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;
@@ -2181,6 +2406,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 ef260cd0d0..52e574ca79 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,70 +1,105 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface CheckAndMutateRowRequestOrBuilder extends
+public interface CheckAndMutateRowRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ java.lang.String getTableName(); /** + * + * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - com.google.protobuf.ByteString - getTableNameBytes(); + com.google.protobuf.ByteString getTableNameBytes(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; + * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; + * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString - getAppProfileIdBytes(); + com.google.protobuf.ByteString getAppProfileIdBytes(); /** + * + * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** + * + * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -73,10 +108,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
@@ -85,10 +123,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
@@ -101,6 +142,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
@@ -111,9 +154,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
@@ -126,6 +170,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
@@ -138,6 +184,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
@@ -148,9 +196,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
@@ -161,10 +211,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
@@ -175,9 +226,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
@@ -190,6 +242,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
@@ -202,6 +256,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
@@ -212,9 +268,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
@@ -225,6 +283,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 65%
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 dad96e0501..55cc9e6e34 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,56 +1,77 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
+ *
+ *
  * 
  * Response message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ -public final class CheckAndMutateRowResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CheckAndMutateRowResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowResponse) CheckAndMutateRowResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckAndMutateRowResponse.newBuilder() to construct. private CheckAndMutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckAndMutateRowResponse() { - } + + private CheckAndMutateRowResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckAndMutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, + com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } public static final int PREDICATE_MATCHED_FIELD_NUMBER = 1; private boolean predicateMatched_ = false; /** + * + * *
    * Whether or not the request's `predicate_filter` yielded any results for
    * the specified row.
    * 
* * bool predicate_matched = 1; + * * @return The predicateMatched. */ @java.lang.Override @@ -59,6 +80,7 @@ public boolean getPredicateMatched() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +92,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_); } @@ -85,8 +106,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; @@ -96,15 +116,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; } @@ -117,139 +137,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(); @@ -259,9 +282,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 @@ -280,8 +303,11 @@ public com.google.bigtable.v2.CheckAndMutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowResponse buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowResponse result = new com.google.bigtable.v2.CheckAndMutateRowResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.CheckAndMutateRowResponse result = + new com.google.bigtable.v2.CheckAndMutateRowResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -297,38 +323,39 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse)other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse) other); } else { super.mergeFrom(other); return this; @@ -336,7 +363,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()); } @@ -366,17 +394,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - predicateMatched_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + predicateMatched_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -386,16 +416,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean predicateMatched_ ; + private boolean predicateMatched_; /** + * + * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; + * * @return The predicateMatched. */ @java.lang.Override @@ -403,12 +437,15 @@ 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. */ @@ -420,12 +457,15 @@ public Builder setPredicateMatched(boolean value) { return this; } /** + * + * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; + * * @return This builder for chaining. */ public Builder clearPredicateMatched() { @@ -434,9 +474,9 @@ public Builder clearPredicateMatched() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -446,12 +486,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(); } @@ -460,27 +500,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; @@ -495,6 +535,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..56c48fd962 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 70ab2d5102..2ca091f4d7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,20 +45,19 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Column();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_Column_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
   }
@@ -48,6 +65,8 @@ protected java.lang.Object newInstance(
   public static final int QUALIFIER_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The unique key which identifies this column within its family. This is the
    * same key that's used to identify the column in, for example, a RowFilter
@@ -57,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes qualifier = 1; + * * @return The qualifier. */ @java.lang.Override @@ -65,9 +85,12 @@ public com.google.protobuf.ByteString getQualifier() { } public static final int CELLS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List cells_; /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -79,6 +102,8 @@ public java.util.List getCellsList() { return cells_; } /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -86,11 +111,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".
    * 
@@ -102,6 +128,8 @@ public int getCellsCount() { return cells_.size(); } /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -113,6 +141,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".
    * 
@@ -120,12 +150,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; @@ -137,8 +167,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_); } @@ -155,12 +184,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; @@ -170,17 +197,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; } @@ -203,99 +228,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.
@@ -303,33 +332,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();
@@ -346,8 +372,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;
     }
 
@@ -369,7 +394,9 @@ public com.google.bigtable.v2.Column build() {
     public com.google.bigtable.v2.Column buildPartial() {
       com.google.bigtable.v2.Column result = new com.google.bigtable.v2.Column(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -397,38 +424,39 @@ private void buildPartial0(com.google.bigtable.v2.Column result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Column) {
-        return mergeFrom((com.google.bigtable.v2.Column)other);
+        return mergeFrom((com.google.bigtable.v2.Column) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -458,9 +486,10 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
             cellsBuilder_ = null;
             cells_ = other.cells_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            cellsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCellsFieldBuilder() : null;
+            cellsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCellsFieldBuilder()
+                    : null;
           } else {
             cellsBuilder_.addAllMessages(other.cells_);
           }
@@ -492,30 +521,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              qualifier_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.bigtable.v2.Cell m =
-                  input.readMessage(
-                      com.google.bigtable.v2.Cell.parser(),
-                      extensionRegistry);
-              if (cellsBuilder_ == null) {
-                ensureCellsIsMutable();
-                cells_.add(m);
-              } else {
-                cellsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                qualifier_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.bigtable.v2.Cell m =
+                    input.readMessage(com.google.bigtable.v2.Cell.parser(), extensionRegistry);
+                if (cellsBuilder_ == null) {
+                  ensureCellsIsMutable();
+                  cells_.add(m);
+                } else {
+                  cellsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -525,10 +555,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
@@ -538,6 +571,7 @@ public Builder mergeFrom(
      * 
* * bytes qualifier = 1; + * * @return The qualifier. */ @java.lang.Override @@ -545,6 +579,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
@@ -554,17 +590,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(); } + if (value == null) { + throw new NullPointerException(); + } qualifier_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -574,6 +615,7 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes qualifier = 1; + * * @return This builder for chaining. */ public Builder clearQualifier() { @@ -583,19 +625,24 @@ public Builder clearQualifier() { return this; } - private java.util.List cells_ = - java.util.Collections.emptyList(); + private java.util.List cells_ = java.util.Collections.emptyList(); + private void ensureCellsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { cells_ = new java.util.ArrayList(cells_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> cellsBuilder_; + com.google.bigtable.v2.Cell, + com.google.bigtable.v2.Cell.Builder, + com.google.bigtable.v2.CellOrBuilder> + cellsBuilder_; /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -610,6 +657,8 @@ public java.util.List getCellsList() { } } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -624,6 +673,8 @@ public int getCellsCount() { } } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -638,14 +689,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(); @@ -659,14 +711,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()); @@ -677,6 +730,8 @@ public Builder setCells( return this; } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -697,14 +752,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(); @@ -718,14 +774,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()); @@ -736,14 +793,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()); @@ -754,18 +812,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); @@ -773,6 +831,8 @@ public Builder addAllCells( return this; } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -790,6 +850,8 @@ public Builder clearCells() { return this; } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -807,39 +869,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 { @@ -847,6 +913,8 @@ public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( } } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -854,49 +922,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_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + cellsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Cell, + com.google.bigtable.v2.Cell.Builder, + com.google.bigtable.v2.CellOrBuilder>( + cells_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); cells_ = null; } return cellsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -906,12 +978,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(); } @@ -920,27 +992,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; @@ -955,6 +1027,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..dd5f5508bf 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 7ab75c7ee0..d82f65a377 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,49 +30,55 @@
  *
  * Protobuf type {@code google.bigtable.v2.ColumnRange}
  */
-public final class ColumnRange extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ColumnRange extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ColumnRange)
     ColumnRangeOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ColumnRange.newBuilder() to construct.
   private ColumnRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ColumnRange() {
     familyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ColumnRange();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_ColumnRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
+            com.google.bigtable.v2.ColumnRange.class,
+            com.google.bigtable.v2.ColumnRange.Builder.class);
   }
 
   private int startQualifierCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object startQualifier_;
+
   public enum StartQualifierCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_QUALIFIER_CLOSED(2),
     START_QUALIFIER_OPEN(3),
     STARTQUALIFIER_NOT_SET(0);
     private final int value;
+
     private StartQualifierCase(int value) {
       this.value = value;
     }
@@ -71,33 +94,40 @@ public static StartQualifierCase valueOf(int value) {
 
     public static StartQualifierCase forNumber(int value) {
       switch (value) {
-        case 2: return START_QUALIFIER_CLOSED;
-        case 3: return START_QUALIFIER_OPEN;
-        case 0: return STARTQUALIFIER_NOT_SET;
-        default: return null;
+        case 2:
+          return START_QUALIFIER_CLOSED;
+        case 3:
+          return START_QUALIFIER_OPEN;
+        case 0:
+          return STARTQUALIFIER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartQualifierCase
-  getStartQualifierCase() {
-    return StartQualifierCase.forNumber(
-        startQualifierCase_);
+  public StartQualifierCase getStartQualifierCase() {
+    return StartQualifierCase.forNumber(startQualifierCase_);
   }
 
   private int endQualifierCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object endQualifier_;
+
   public enum EndQualifierCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_QUALIFIER_CLOSED(4),
     END_QUALIFIER_OPEN(5),
     ENDQUALIFIER_NOT_SET(0);
     private final int value;
+
     private EndQualifierCase(int value) {
       this.value = value;
     }
@@ -113,32 +143,39 @@ public static EndQualifierCase valueOf(int value) {
 
     public static EndQualifierCase forNumber(int value) {
       switch (value) {
-        case 4: return END_QUALIFIER_CLOSED;
-        case 5: return END_QUALIFIER_OPEN;
-        case 0: return ENDQUALIFIER_NOT_SET;
-        default: return null;
+        case 4:
+          return END_QUALIFIER_CLOSED;
+        case 5:
+          return END_QUALIFIER_OPEN;
+        case 0:
+          return ENDQUALIFIER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndQualifierCase
-  getEndQualifierCase() {
-    return EndQualifierCase.forNumber(
-        endQualifierCase_);
+  public EndQualifierCase getEndQualifierCase() {
+    return EndQualifierCase.forNumber(endQualifierCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
+   *
+   *
    * 
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; + * * @return The familyName. */ @java.lang.Override @@ -147,29 +184,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 { @@ -179,11 +216,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 @@ -191,11 +231,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 @@ -208,11 +251,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 @@ -220,11 +266,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 @@ -237,11 +286,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 @@ -249,11 +301,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 @@ -266,11 +321,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 @@ -278,11 +336,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 @@ -294,6 +355,7 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,26 +367,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); } @@ -339,24 +396,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; @@ -366,24 +423,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: @@ -391,12 +445,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: @@ -443,99 +495,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 +601,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 +640,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
@@ -607,7 +662,9 @@ public com.google.bigtable.v2.ColumnRange build() {
     @java.lang.Override
     public com.google.bigtable.v2.ColumnRange buildPartial() {
       com.google.bigtable.v2.ColumnRange result = new com.google.bigtable.v2.ColumnRange(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -631,38 +688,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.ColumnRange result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ColumnRange) {
-        return mergeFrom((com.google.bigtable.v2.ColumnRange)other);
+        return mergeFrom((com.google.bigtable.v2.ColumnRange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -677,30 +735,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();
@@ -728,37 +792,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              familyName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              startQualifier_ = input.readBytes();
-              startQualifierCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              startQualifier_ = input.readBytes();
-              startQualifierCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              endQualifier_ = input.readBytes();
-              endQualifierCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              endQualifier_ = input.readBytes();
-              endQualifierCase_ = 5;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                familyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                startQualifier_ = input.readBytes();
+                startQualifierCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                startQualifier_ = input.readBytes();
+                startQualifierCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                endQualifier_ = input.readBytes();
+                endQualifierCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                endQualifier_ = input.readBytes();
+                endQualifierCase_ = 5;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,12 +838,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() {
@@ -785,10 +855,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() {
@@ -802,18 +871,20 @@ public Builder clearEndQualifier() {
 
     private java.lang.Object familyName_ = "";
     /**
+     *
+     *
      * 
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; + * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -822,20 +893,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 { @@ -843,28 +915,35 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; + * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -874,17 +953,21 @@ public Builder clearFamilyName() { return this; } /** + * + * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -893,22 +976,28 @@ public Builder setFamilyNameBytes( } /** + * + * *
      * 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() { @@ -918,27 +1007,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(); } + if (value == null) { + throw new NullPointerException(); + } startQualifierCase_ = 2; startQualifier_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; + * * @return This builder for chaining. */ public Builder clearStartQualifierClosed() { @@ -951,22 +1048,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() { @@ -976,27 +1079,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(); } + if (value == null) { + throw new NullPointerException(); + } startQualifierCase_ = 3; startQualifier_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; + * * @return This builder for chaining. */ public Builder clearStartQualifierOpen() { @@ -1009,22 +1120,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() { @@ -1034,27 +1151,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(); } + if (value == null) { + throw new NullPointerException(); + } endQualifierCase_ = 4; endQualifier_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; + * * @return This builder for chaining. */ public Builder clearEndQualifierClosed() { @@ -1067,22 +1192,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() { @@ -1092,27 +1223,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(); } + if (value == null) { + throw new NullPointerException(); + } endQualifierCase_ = 5; endQualifier_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; + * * @return This builder for chaining. */ public Builder clearEndQualifierOpen() { @@ -1123,9 +1262,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); } @@ -1135,12 +1274,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(); } @@ -1149,27 +1288,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; @@ -1184,6 +1323,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 f88745783f..075c754e08 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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..834075afc6 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -0,0 +1,415 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/data.proto + +package com.google.bigtable.v2; + +public final class DataProto { + private DataProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Row_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Family_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Family_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Column_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Column_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Cell_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Cell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ColumnRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_TimestampRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ValueRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamPartition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n\035google/bigtable/v2/data.proto\022\022google." + + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" + + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" + + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" + + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" + + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." + + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" + + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" + + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" + + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" + + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" + + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" + + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." + + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" + + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" + + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" + + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" + + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" + + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" + + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" + + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" + + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" + + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" + + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" + + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" + + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" + + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" + + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" + + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" + + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" + + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" + + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" + + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" + + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" + + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" + + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" + + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" + + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" + + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" + + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" + + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" + + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" + + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" + + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" + + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" + + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" + + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" + + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" + + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" + + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" + + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" + + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" + + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" + + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." + + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." + + "google.bigtable.v2.Mutation.DeleteFromCo" + + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" + + "gle.bigtable.v2.Mutation.DeleteFromFamil" + + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" + + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" + + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" + + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" + + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" + + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" + + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" + + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" + + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" + + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" + + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" + + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" + + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" + + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" + + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" + + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" + + "tinuationToken\"`\n\027StreamContinuationToke" + + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" + + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" + + ".google.bigtable.v2B\tDataProtoP\001Z:google" + + ".golang.org/genproto/googleapis/bigtable" + + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" + + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" + + "ud::Bigtable::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_bigtable_v2_Row_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_Row_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Row_descriptor, + new java.lang.String[] { + "Key", "Families", + }); + internal_static_google_bigtable_v2_Family_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_Family_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Family_descriptor, + new java.lang.String[] { + "Name", "Columns", + }); + internal_static_google_bigtable_v2_Column_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_Column_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Column_descriptor, + new java.lang.String[] { + "Qualifier", "Cells", + }); + internal_static_google_bigtable_v2_Cell_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_Cell_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Cell_descriptor, + new java.lang.String[] { + "TimestampMicros", "Value", "Labels", + }); + internal_static_google_bigtable_v2_RowRange_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowRange_descriptor, + new java.lang.String[] { + "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", + }); + internal_static_google_bigtable_v2_RowSet_descriptor = getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowSet_descriptor, + new java.lang.String[] { + "RowKeys", "RowRanges", + }); + internal_static_google_bigtable_v2_ColumnRange_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ColumnRange_descriptor, + new java.lang.String[] { + "FamilyName", + "StartQualifierClosed", + "StartQualifierOpen", + "EndQualifierClosed", + "EndQualifierOpen", + "StartQualifier", + "EndQualifier", + }); + internal_static_google_bigtable_v2_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_TimestampRange_descriptor, + new java.lang.String[] { + "StartTimestampMicros", "EndTimestampMicros", + }); + internal_static_google_bigtable_v2_ValueRange_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ValueRange_descriptor, + new java.lang.String[] { + "StartValueClosed", + "StartValueOpen", + "EndValueClosed", + "EndValueOpen", + "StartValue", + "EndValue", + }); + internal_static_google_bigtable_v2_RowFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_descriptor, + new java.lang.String[] { + "Chain", + "Interleave", + "Condition", + "Sink", + "PassAllFilter", + "BlockAllFilter", + "RowKeyRegexFilter", + "RowSampleFilter", + "FamilyNameRegexFilter", + "ColumnQualifierRegexFilter", + "ColumnRangeFilter", + "TimestampRangeFilter", + "ValueRegexFilter", + "ValueRangeFilter", + "CellsPerRowOffsetFilter", + "CellsPerRowLimitFilter", + "CellsPerColumnLimitFilter", + "StripValueTransformer", + "ApplyLabelTransformer", + "Filter", + }); + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, + new java.lang.String[] { + "Filters", + }); + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, + new java.lang.String[] { + "Filters", + }); + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, + new java.lang.String[] { + "PredicateFilter", "TrueFilter", "FalseFilter", + }); + internal_static_google_bigtable_v2_Mutation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_descriptor, + new java.lang.String[] { + "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", + }); + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, + new java.lang.String[] { + "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", + }); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, + new java.lang.String[] { + "FamilyName", "ColumnQualifier", "TimeRange", + }); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, + new java.lang.String[] { + "FamilyName", + }); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, + new java.lang.String[] {}); + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, + new java.lang.String[] { + "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", + }); + internal_static_google_bigtable_v2_StreamPartition_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamPartition_descriptor, + new java.lang.String[] { + "RowRange", + }); + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, + new java.lang.String[] { + "Tokens", + }); + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, + new java.lang.String[] { + "Partition", "Token", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 b8953d29a8..80d4f77fb8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,28 +45,30 @@ private Family() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Family();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_Family_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,14 +88,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
@@ -85,16 +107,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 { @@ -103,9 +124,12 @@ public java.lang.String getName() { } public static final int COLUMNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List columns_; /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -117,6 +141,8 @@ public java.util.List getColumnsList() { return columns_; } /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -124,11 +150,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".
    * 
@@ -140,6 +168,8 @@ public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -151,6 +181,8 @@ public com.google.bigtable.v2.Column getColumns(int index) { return columns_.get(index); } /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -158,12 +190,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; @@ -175,8 +207,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_); } @@ -196,8 +227,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; @@ -207,17 +237,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; } @@ -240,99 +268,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.
@@ -340,33 +372,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();
@@ -383,8 +412,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;
     }
 
@@ -406,7 +434,9 @@ public com.google.bigtable.v2.Family build() {
     public com.google.bigtable.v2.Family buildPartial() {
       com.google.bigtable.v2.Family result = new com.google.bigtable.v2.Family(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -434,38 +464,39 @@ private void buildPartial0(com.google.bigtable.v2.Family result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Family) {
-        return mergeFrom((com.google.bigtable.v2.Family)other);
+        return mergeFrom((com.google.bigtable.v2.Family) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,9 +528,10 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            columnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getColumnsFieldBuilder() : null;
+            columnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getColumnsFieldBuilder()
+                    : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -531,30 +563,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.bigtable.v2.Column m =
-                  input.readMessage(
-                      com.google.bigtable.v2.Column.parser(),
-                      extensionRegistry);
-              if (columnsBuilder_ == null) {
-                ensureColumnsIsMutable();
-                columns_.add(m);
-              } else {
-                columnsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.bigtable.v2.Column m =
+                    input.readMessage(com.google.bigtable.v2.Column.parser(), extensionRegistry);
+                if (columnsBuilder_ == null) {
+                  ensureColumnsIsMutable();
+                  columns_.add(m);
+                } else {
+                  columnsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -564,10 +597,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
@@ -578,13 +614,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; @@ -593,6 +629,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
@@ -603,15 +641,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 { @@ -619,6 +656,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
@@ -629,18 +668,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -651,6 +694,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -660,6 +704,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -670,12 +716,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -684,18 +732,24 @@ public Builder setNameBytes( } private java.util.List columns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> columnsBuilder_; + com.google.bigtable.v2.Column, + com.google.bigtable.v2.Column.Builder, + com.google.bigtable.v2.ColumnOrBuilder> + columnsBuilder_; /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -710,6 +764,8 @@ public java.util.List getColumnsList() { } } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -724,6 +780,8 @@ public int getColumnsCount() { } } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -738,14 +796,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(); @@ -759,14 +818,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()); @@ -777,6 +837,8 @@ public Builder setColumns( return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -797,14 +859,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(); @@ -818,14 +881,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()); @@ -836,14 +900,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()); @@ -854,6 +919,8 @@ public Builder addColumns( return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -864,8 +931,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); @@ -873,6 +939,8 @@ public Builder addAllColumns( return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -890,6 +958,8 @@ public Builder clearColumns() { return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -907,39 +977,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 { @@ -947,6 +1022,8 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( } } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -954,49 +1031,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_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + columnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Column, + com.google.bigtable.v2.Column.Builder, + com.google.bigtable.v2.ColumnOrBuilder>( + columns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,12 +1088,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(); } @@ -1020,27 +1102,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; @@ -1055,6 +1137,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..8eb4aeb6f6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/FeatureFlags.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java index c27a1609c1..134621b509 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/feature_flags.proto package com.google.bigtable.v2; /** + * + * *
  * Feature flags supported by a client.
  * This is intended to be sent as part of request metadata to assure the server
@@ -17,47 +34,51 @@
  *
  * Protobuf type {@code google.bigtable.v2.FeatureFlags}
  */
-public final class FeatureFlags extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class FeatureFlags extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.FeatureFlags)
     FeatureFlagsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use FeatureFlags.newBuilder() to construct.
   private FeatureFlags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private FeatureFlags() {
-  }
+
+  private FeatureFlags() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new FeatureFlags();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.FeatureFlagsProto
+        .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+    return com.google.bigtable.v2.FeatureFlagsProto
+        .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
+            com.google.bigtable.v2.FeatureFlags.class,
+            com.google.bigtable.v2.FeatureFlags.Builder.class);
   }
 
   public static final int REVERSE_SCANS_FIELD_NUMBER = 1;
   private boolean reverseScans_ = false;
   /**
+   *
+   *
    * 
    * Notify the server that the client supports reverse scans. The server will
    * reject ReadRowsRequests with the reverse bit set when this is absent.
    * 
* * bool reverse_scans = 1; + * * @return The reverseScans. */ @java.lang.Override @@ -68,12 +89,15 @@ public boolean getReverseScans() { public static final int MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER = 3; private boolean mutateRowsRateLimit_ = false; /** + * + * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse.
    * 
* * bool mutate_rows_rate_limit = 3; + * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -82,6 +106,7 @@ public boolean getMutateRowsRateLimit() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,8 +118,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 (reverseScans_ != false) { output.writeBool(1, reverseScans_); } @@ -111,12 +135,10 @@ public int getSerializedSize() { size = 0; if (reverseScans_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, reverseScans_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, reverseScans_); } if (mutateRowsRateLimit_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, mutateRowsRateLimit_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, mutateRowsRateLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -126,17 +148,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.FeatureFlags)) { return super.equals(obj); } com.google.bigtable.v2.FeatureFlags other = (com.google.bigtable.v2.FeatureFlags) obj; - if (getReverseScans() - != other.getReverseScans()) return false; - if (getMutateRowsRateLimit() - != other.getMutateRowsRateLimit()) return false; + if (getReverseScans() != other.getReverseScans()) return false; + if (getMutateRowsRateLimit() != other.getMutateRowsRateLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -149,109 +169,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REVERSE_SCANS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReverseScans()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverseScans()); hash = (37 * hash) + MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getMutateRowsRateLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMutateRowsRateLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.v2.FeatureFlags parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.bigtable.v2.FeatureFlags parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.FeatureFlags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.FeatureFlags parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.FeatureFlags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.FeatureFlags parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.v2.FeatureFlags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Feature flags supported by a client.
    * This is intended to be sent as part of request metadata to assure the server
@@ -265,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.FeatureFlags}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FeatureFlags)
       com.google.bigtable.v2.FeatureFlagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.FeatureFlagsProto
+          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+      return com.google.bigtable.v2.FeatureFlagsProto
+          .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
+              com.google.bigtable.v2.FeatureFlags.class,
+              com.google.bigtable.v2.FeatureFlags.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.FeatureFlags.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -302,9 +323,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.FeatureFlagsProto
+          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
@@ -324,7 +345,9 @@ public com.google.bigtable.v2.FeatureFlags build() {
     @java.lang.Override
     public com.google.bigtable.v2.FeatureFlags buildPartial() {
       com.google.bigtable.v2.FeatureFlags result = new com.google.bigtable.v2.FeatureFlags(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -343,38 +366,39 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.FeatureFlags) {
-        return mergeFrom((com.google.bigtable.v2.FeatureFlags)other);
+        return mergeFrom((com.google.bigtable.v2.FeatureFlags) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,22 +439,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              reverseScans_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 24: {
-              mutateRowsRateLimit_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                reverseScans_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 24:
+              {
+                mutateRowsRateLimit_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -440,16 +467,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean reverseScans_ ;
+    private boolean reverseScans_;
     /**
+     *
+     *
      * 
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; + * * @return The reverseScans. */ @java.lang.Override @@ -457,12 +488,15 @@ public boolean getReverseScans() { return reverseScans_; } /** + * + * *
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; + * * @param value The reverseScans to set. * @return This builder for chaining. */ @@ -474,12 +508,15 @@ public Builder setReverseScans(boolean value) { return this; } /** + * + * *
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; + * * @return This builder for chaining. */ public Builder clearReverseScans() { @@ -489,14 +526,17 @@ public Builder clearReverseScans() { return this; } - private boolean mutateRowsRateLimit_ ; + private boolean mutateRowsRateLimit_; /** + * + * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse.
      * 
* * bool mutate_rows_rate_limit = 3; + * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -504,12 +544,15 @@ public boolean getMutateRowsRateLimit() { return mutateRowsRateLimit_; } /** + * + * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse.
      * 
* * bool mutate_rows_rate_limit = 3; + * * @param value The mutateRowsRateLimit to set. * @return This builder for chaining. */ @@ -521,12 +564,15 @@ public Builder setMutateRowsRateLimit(boolean value) { return this; } /** + * + * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse.
      * 
* * bool mutate_rows_rate_limit = 3; + * * @return This builder for chaining. */ public Builder clearMutateRowsRateLimit() { @@ -535,9 +581,9 @@ public Builder clearMutateRowsRateLimit() { onChanged(); return this; } + @java.lang.Override - 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 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FeatureFlags) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.FeatureFlags) private static final com.google.bigtable.v2.FeatureFlags DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.FeatureFlags(); } @@ -561,27 +607,27 @@ public static com.google.bigtable.v2.FeatureFlags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeatureFlags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeatureFlags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -596,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.FeatureFlags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java index 8801139048..e55c2da141 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java @@ -1,30 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/feature_flags.proto package com.google.bigtable.v2; -public interface FeatureFlagsOrBuilder extends +public interface FeatureFlagsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FeatureFlags) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Notify the server that the client supports reverse scans. The server will
    * reject ReadRowsRequests with the reverse bit set when this is absent.
    * 
* * bool reverse_scans = 1; + * * @return The reverseScans. */ boolean getReverseScans(); /** + * + * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse.
    * 
* * bool mutate_rows_rate_limit = 3; + * * @return The mutateRowsRateLimit. */ boolean getMutateRowsRateLimit(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java new file mode 100644 index 0000000000..2b1b9acb54 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java @@ -0,0 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/feature_flags.proto + +package com.google.bigtable.v2; + +public final class FeatureFlagsProto { + private FeatureFlagsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_FeatureFlags_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/bigtable/v2/feature_flags.proto" + + "\022\022google.bigtable.v2\"E\n\014FeatureFlags\022\025\n\r" + + "reverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate_" + + "limit\030\003 \001(\010B\275\001\n\026com.google.bigtable.v2B\021" + + "FeatureFlagsProtoP\001Z:google.golang.org/g" + + "enproto/googleapis/bigtable/v2;bigtable\252" + + "\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Clou" + + "d\\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_FeatureFlags_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_FeatureFlags_descriptor, + new java.lang.String[] { + "ReverseScans", "MutateRowsRateLimit", + }); + } + + // @@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/FullReadStatsView.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 70% 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 3c667a798d..55bb6ed5b9 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,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; /** + * + * *
  * FullReadStatsView captures all known information about a read.
  * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ -public final class FullReadStatsView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FullReadStatsView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.FullReadStatsView) FullReadStatsViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FullReadStatsView.newBuilder() to construct. private FullReadStatsView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FullReadStatsView() { - } + + private FullReadStatsView() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FullReadStatsView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto + .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto + .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, + com.google.bigtable.v2.FullReadStatsView.Builder.class); } public static final int READ_ITERATION_STATS_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; /** + * + * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -53,6 +73,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * * @return Whether the readIterationStats field is set. */ @java.lang.Override @@ -60,6 +81,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
@@ -68,13 +91,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
@@ -86,18 +114,23 @@ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() {
-    return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
+    return readIterationStats_ == null
+        ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
+        : readIterationStats_;
   }
 
   public static final int REQUEST_LATENCY_STATS_FIELD_NUMBER = 2;
   private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
   /**
+   *
+   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; + * * @return Whether the requestLatencyStats field is set. */ @java.lang.Override @@ -105,19 +138,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.
@@ -127,10 +167,13 @@ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() {
-    return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
+    return requestLatencyStats_ == null
+        ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
+        : requestLatencyStats_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -142,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 (readIterationStats_ != null) {
       output.writeMessage(1, getReadIterationStats());
     }
@@ -160,12 +202,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;
@@ -175,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.FullReadStatsView)) {
       return super.equals(obj);
@@ -184,13 +224,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;
@@ -216,132 +254,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(); @@ -360,9 +402,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 @@ -381,8 +423,11 @@ public com.google.bigtable.v2.FullReadStatsView build() { @java.lang.Override public com.google.bigtable.v2.FullReadStatsView buildPartial() { - com.google.bigtable.v2.FullReadStatsView result = new com.google.bigtable.v2.FullReadStatsView(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.FullReadStatsView result = + new com.google.bigtable.v2.FullReadStatsView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -390,14 +435,16 @@ public com.google.bigtable.v2.FullReadStatsView buildPartial() { private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readIterationStats_ = readIterationStatsBuilder_ == null - ? readIterationStats_ - : readIterationStatsBuilder_.build(); + result.readIterationStats_ = + readIterationStatsBuilder_ == null + ? readIterationStats_ + : readIterationStatsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestLatencyStats_ = requestLatencyStatsBuilder_ == null - ? requestLatencyStats_ - : requestLatencyStatsBuilder_.build(); + result.requestLatencyStats_ = + requestLatencyStatsBuilder_ == null + ? requestLatencyStats_ + : requestLatencyStatsBuilder_.build(); } } @@ -405,38 +452,39 @@ private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.FullReadStatsView) { - return mergeFrom((com.google.bigtable.v2.FullReadStatsView)other); + return mergeFrom((com.google.bigtable.v2.FullReadStatsView) other); } else { super.mergeFrom(other); return this; @@ -477,26 +525,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadIterationStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getReadIterationStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -506,12 +555,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> readIterationStatsBuilder_; + com.google.bigtable.v2.ReadIterationStats, + com.google.bigtable.v2.ReadIterationStats.Builder, + com.google.bigtable.v2.ReadIterationStatsOrBuilder> + readIterationStatsBuilder_; /** + * + * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -520,12 +575,15 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * * @return Whether the readIterationStats field is set. */ public boolean hasReadIterationStats() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -534,16 +592,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
@@ -567,6 +630,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
@@ -588,6 +653,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,9 +666,10 @@ public Builder setReadIterationStats(
      */
     public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) {
       if (readIterationStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          readIterationStats_ != null &&
-          readIterationStats_ != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && readIterationStats_ != null
+            && readIterationStats_
+                != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
           getReadIterationStatsBuilder().mergeFrom(value);
         } else {
           readIterationStats_ = value;
@@ -614,6 +682,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
@@ -634,6 +704,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
@@ -649,6 +721,8 @@ public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBu
       return getReadIterationStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -662,11 +736,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
@@ -677,14 +754,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_;
@@ -692,36 +772,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; + * * @return The requestLatencyStats. */ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { if (requestLatencyStatsBuilder_ == null) { - return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; + return requestLatencyStats_ == null + ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() + : requestLatencyStats_; } else { return requestLatencyStatsBuilder_.getMessage(); } } /** + * + * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -743,6 +836,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.
@@ -762,6 +857,8 @@ public Builder setRequestLatencyStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -771,9 +868,10 @@ public Builder setRequestLatencyStats(
      */
     public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) {
       if (requestLatencyStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          requestLatencyStats_ != null &&
-          requestLatencyStats_ != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && requestLatencyStats_ != null
+            && requestLatencyStats_
+                != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
           getRequestLatencyStatsBuilder().mergeFrom(value);
         } else {
           requestLatencyStats_ = value;
@@ -786,6 +884,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.
@@ -804,6 +904,8 @@ public Builder clearRequestLatencyStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -817,6 +919,8 @@ public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStats
       return getRequestLatencyStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -828,11 +932,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.
@@ -841,21 +948,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);
     }
 
@@ -865,12 +975,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();
   }
@@ -879,27 +989,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;
@@ -914,6 +1024,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..a355987a7c 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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/GenerateInitialChangeStreamPartitionsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
similarity index 63%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
index fef510e911..a32803c4dd 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
+ *
+ *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -11,15 +28,18 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
  */
-public final class GenerateInitialChangeStreamPartitionsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateInitialChangeStreamPartitionsRequest
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
     GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsRequest.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateInitialChangeStreamPartitionsRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -27,28 +47,32 @@ private GenerateInitialChangeStreamPartitionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -56,7 +80,10 @@ protected java.lang.Object newInstance(
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -65,14 +92,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 from which to get change stream
    * partitions. Values are of the form
@@ -80,17 +108,18 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableNameBytes() { + public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableName_ = b; return b; } else { @@ -99,9 +128,12 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -109,6 +141,7 @@ public java.lang.String getTableName() {
    * 
* * string app_profile_id = 2; + * * @return The appProfileId. */ @java.lang.Override @@ -117,14 +150,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; } } /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -132,16 +166,15 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; + * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAppProfileIdBytes() { + public com.google.protobuf.ByteString getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -150,6 +183,7 @@ public java.lang.String getAppProfileId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -192,17 +225,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.GenerateInitialChangeStreamPartitionsRequest)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = + (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; - if (!getTableName() - .equals(other.getTableName())) return false; - if (!getAppProfileId() - .equals(other.getAppProfileId())) return false; + if (!getTableName().equals(other.getTableName())) return false; + if (!getAppProfileId().equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -224,98 +256,105 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { + + public static Builder newBuilder( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -323,33 +362,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
     }
 
-    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -360,14 +399,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
+        getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -381,13 +422,17 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest build
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result =
+          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
+    private void buildPartial0(
+        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.tableName_ = tableName_;
@@ -401,46 +446,51 @@ private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) {
-        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)other);
+        return mergeFrom(
+            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
-      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
+      if (other
+          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
+              .getDefaultInstance()) return this;
       if (!other.getTableName().isEmpty()) {
         tableName_ = other.tableName_;
         bitField0_ |= 0x00000001;
@@ -477,22 +527,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              tableName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              appProfileId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                tableName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                appProfileId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -502,10 +555,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object tableName_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -513,14 +569,16 @@ public Builder mergeFrom(
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -529,6 +587,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -536,16 +596,17 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - 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 { @@ -553,6 +614,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -560,19 +623,25 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -580,7 +649,10 @@ public Builder setTableName(
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -590,6 +662,8 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -597,13 +671,17 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -613,6 +691,8 @@ public Builder setTableNameBytes( private java.lang.Object appProfileId_ = ""; /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -620,13 +700,13 @@ public Builder setTableNameBytes(
      * 
* * 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; @@ -635,6 +715,8 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -642,15 +724,14 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; + * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString - getAppProfileIdBytes() { + public com.google.protobuf.ByteString getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -658,6 +739,8 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -665,18 +748,22 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -684,6 +771,7 @@ public Builder setAppProfileId(
      * 
* * string app_profile_id = 2; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -693,6 +781,8 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -700,21 +790,23 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -724,55 +816,59 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest DEFAULT_INSTANCE; + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java index db460c51a1..39d9dcb2c5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends +public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -15,11 +33,16 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ java.lang.String getTableName(); /** + * + * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -27,13 +50,17 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - com.google.protobuf.ByteString - getTableNameBytes(); + com.google.protobuf.ByteString getTableNameBytes(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -41,10 +68,13 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends
    * 
* * 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.
@@ -52,8 +82,8 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends
    * 
* * 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/GenerateInitialChangeStreamPartitionsResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java similarity index 60% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java index 19b77e2f38..55a97f1c5d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -11,46 +28,52 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
  */
-public final class GenerateInitialChangeStreamPartitionsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateInitialChangeStreamPartitionsResponse
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
     GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsResponse.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsResponse(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private GenerateInitialChangeStreamPartitionsResponse() {
-  }
+
+  private GenerateInitialChangeStreamPartitionsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
   }
 
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
+   *
+   *
    * 
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return Whether the partition field is set. */ @java.lang.Override @@ -58,18 +81,25 @@ public boolean hasPartition() { return partition_ != null; } /** + * + * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } /** + * + * *
    * A partition of the change stream.
    * 
@@ -78,10 +108,13 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,8 +126,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 (partition_ != null) { output.writeMessage(1, getPartition()); } @@ -108,8 +140,7 @@ public int getSerializedSize() { size = 0; if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -119,17 +150,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = + (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition() - .equals(other.getPartition())) return false; + if (!getPartition().equals(other.getPartition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -152,98 +183,105 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { + + public static Builder newBuilder( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -251,33 +289,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
     }
 
-    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -291,14 +329,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
+        getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -312,18 +352,20 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buil
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result =
+          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
+    private void buildPartial0(
+        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null
-            ? partition_
-            : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
       }
     }
 
@@ -331,46 +373,51 @@ private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) {
-        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)other);
+        return mergeFrom(
+            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
-      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
+      if (other
+          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
+              .getDefaultInstance()) return this;
       if (other.hasPartition()) {
         mergePartition(other.getPartition());
       }
@@ -400,19 +447,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPartitionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -422,38 +469,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
+            com.google.bigtable.v2.StreamPartition,
+            com.google.bigtable.v2.StreamPartition.Builder,
+            com.google.bigtable.v2.StreamPartitionOrBuilder>
+        partitionBuilder_;
     /**
+     *
+     *
      * 
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } else { return partitionBuilder_.getMessage(); } } /** + * + * *
      * A partition of the change stream.
      * 
@@ -474,14 +535,15 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** + * + * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition( - com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -492,6 +554,8 @@ public Builder setPartition( return this; } /** + * + * *
      * A partition of the change stream.
      * 
@@ -500,9 +564,9 @@ public Builder setPartition( */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - partition_ != null && - partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && partition_ != null + && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -515,6 +579,8 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** + * + * *
      * A partition of the change stream.
      * 
@@ -532,6 +598,8 @@ public Builder clearPartition() { return this; } /** + * + * *
      * A partition of the change stream.
      * 
@@ -544,6 +612,8 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** + * + * *
      * A partition of the change stream.
      * 
@@ -554,11 +624,14 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null ? - com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } } /** + * + * *
      * A partition of the change stream.
      * 
@@ -566,21 +639,24 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), - getParentForChildren(), - isClean()); + partitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), getParentForChildren(), isClean()); partition_ = null; } return partitionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -590,55 +666,59 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse DEFAULT_INSTANCE; + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser + getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java index c8c79888d2..3aecf84be3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder extends +public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return Whether the partition field is set. */ boolean hasPartition(); /** + * + * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** + * + * *
    * A partition of the change stream.
    * 
diff --git a/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 826c7cb2bf..32b250cfb4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,35 +46,42 @@ private MutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, + com.google.bigtable.v2.MutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** + * + * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -65,31 +90,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 { @@ -98,15 +125,19 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; + * * @return The appProfileId. */ @java.lang.Override @@ -115,30 +146,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 { @@ -149,11 +180,14 @@ public java.lang.String getAppProfileId() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rowKey. */ @java.lang.Override @@ -162,77 +196,98 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List mutations_; /** + * + * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** + * + * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** + * + * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** + * + * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** + * + * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( - int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +299,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_); } @@ -271,12 +325,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_); @@ -289,21 +341,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; } @@ -330,132 +378,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(); @@ -474,9 +526,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 @@ -495,9 +547,12 @@ public com.google.bigtable.v2.MutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowRequest buildPartial() { - com.google.bigtable.v2.MutateRowRequest result = new com.google.bigtable.v2.MutateRowRequest(this); + com.google.bigtable.v2.MutateRowRequest result = + new com.google.bigtable.v2.MutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,38 +586,39 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowRequest)other); + return mergeFrom((com.google.bigtable.v2.MutateRowRequest) other); } else { super.mergeFrom(other); return this; @@ -602,9 +658,10 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000008); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationsFieldBuilder() : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationsFieldBuilder() + : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -636,40 +693,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), - extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + com.google.bigtable.v2.Mutation m = + input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,24 +739,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; @@ -705,22 +770,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 { @@ -728,32 +796,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -763,19 +842,25 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -785,19 +870,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; @@ -806,21 +893,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 { @@ -828,30 +916,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -861,18 +956,22 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -882,11 +981,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 @@ -894,27 +996,35 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** + * + * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -925,25 +1035,33 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; + com.google.bigtable.v2.Mutation, + com.google.bigtable.v2.Mutation.Builder, + com.google.bigtable.v2.MutationOrBuilder> + mutationsBuilder_; /** + * + * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -953,13 +1071,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) { @@ -969,13 +1091,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) { @@ -985,16 +1111,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(); @@ -1008,13 +1137,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) { @@ -1028,13 +1161,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) { @@ -1050,16 +1187,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(); @@ -1073,16 +1213,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()); @@ -1093,13 +1236,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) { @@ -1113,20 +1260,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); @@ -1134,13 +1284,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) { @@ -1153,13 +1307,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) { @@ -1172,45 +1330,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 { @@ -1218,62 +1387,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_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + mutationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, + com.google.bigtable.v2.Mutation.Builder, + com.google.bigtable.v2.MutationOrBuilder>( + mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); mutations_ = null; } return mutationsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1283,12 +1465,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(); } @@ -1297,27 +1479,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; @@ -1332,6 +1514,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 e2ca3d477d..f4155c554f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 b946b1117a..fcf24d8d66 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,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * Response message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ -public final class MutateRowResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MutateRowResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowResponse) MutateRowResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutateRowResponse.newBuilder() to construct. private MutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowResponse() { - } + + private MutateRowResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, + com.google.bigtable.v2.MutateRowResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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); } @@ -73,7 +91,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); @@ -96,132 +114,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(); @@ -229,9 +251,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 @@ -250,7 +272,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; } @@ -259,38 +282,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; @@ -325,12 +349,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) { @@ -340,9 +365,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); } @@ -352,12 +377,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(); } @@ -366,27 +391,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; @@ -401,6 +426,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..da681e9f69 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +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 70% 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 02d18e2160..ca7218ffa4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,108 +45,133 @@ private MutateRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutateRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, + com.google.bigtable.v2.MutateRowsRequest.Builder.class); } - public interface EntryOrBuilder extends + public interface EntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest.Entry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getMutationsList(); + java.util.List getMutationsList(); /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.v2.Mutation getMutations(int index); /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getMutationsCount(); /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getMutationsOrBuilderList(); + java.util.List getMutationsOrBuilderList(); /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( - int index); + com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); } /** + * + * *
    * A mutation for a given row.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */ - public static final class Entry extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Entry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Entry() { rowKey_ = com.google.protobuf.ByteString.EMPTY; mutations_ = java.util.Collections.emptyList(); @@ -136,32 +179,36 @@ private Entry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, + com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -170,77 +217,98 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List mutations_; /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** + * + * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( - int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +320,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_); } @@ -270,12 +337,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; @@ -285,17 +350,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; } @@ -318,90 +382,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 @@ -411,39 +479,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(); @@ -460,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_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 @@ -481,14 +551,18 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsRequest.Entry result = new com.google.bigtable.v2.MutateRowsRequest.Entry(this); + com.google.bigtable.v2.MutateRowsRequest.Entry result = + new com.google.bigtable.v2.MutateRowsRequest.Entry(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.v2.MutateRowsRequest.Entry result) { + private void buildPartialRepeatedFields( + com.google.bigtable.v2.MutateRowsRequest.Entry result) { if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); @@ -511,38 +585,41 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest.Entry result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry)other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry) other); } else { super.mergeFrom(other); return this; @@ -550,7 +627,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()); } @@ -572,9 +650,10 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000002); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationsFieldBuilder() : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationsFieldBuilder() + : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -606,30 +685,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), - extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -639,15 +720,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 @@ -655,27 +740,35 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** + * + * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; + * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -686,25 +779,33 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; + com.google.bigtable.v2.Mutation, + com.google.bigtable.v2.Mutation.Builder, + com.google.bigtable.v2.MutationOrBuilder> + mutationsBuilder_; /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -714,13 +815,17 @@ public java.util.List getMutationsList() { } } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -730,13 +835,17 @@ public int getMutationsCount() { } } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -746,16 +855,19 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setMutations( - int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -769,13 +881,17 @@ public Builder setMutations( return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -789,13 +905,17 @@ public Builder setMutations( return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -811,16 +931,19 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addMutations( - int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -834,16 +957,19 @@ public Builder addMutations( return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder 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()); @@ -854,13 +980,17 @@ public Builder addMutations( return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -874,20 +1004,23 @@ public Builder addMutations( return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -895,13 +1028,17 @@ public Builder addAllMutations( return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -914,13 +1051,17 @@ public Builder clearMutations() { return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -933,45 +1074,56 @@ public Builder removeMutations(int index) { return this; } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( - int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { return getMutationsFieldBuilder().getBuilder(index); } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( - int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); } else { + return mutations_.get(index); + } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -979,59 +1131,73 @@ 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 later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder().addBuilder( - com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder() + .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( - int index) { - return getMutationsFieldBuilder().addBuilder( - index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { + return getMutationsFieldBuilder() + .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** + * + * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getMutationsBuilderList() { + public java.util.List getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, + com.google.bigtable.v2.Mutation.Builder, + com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( - mutations_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + mutationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, + com.google.bigtable.v2.Mutation.Builder, + com.google.bigtable.v2.MutationOrBuilder>( + mutations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); mutations_ = null; } return mutationsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1044,12 +1210,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(); } @@ -1058,27 +1224,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; @@ -1093,19 +1260,24 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TABLE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** + * + * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -1114,30 +1286,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 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 { @@ -1146,15 +1320,19 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; + * * @return The appProfileId. */ @java.lang.Override @@ -1163,30 +1341,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 { @@ -1195,9 +1373,12 @@ public java.lang.String getAppProfileId() { } public static final int ENTRIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List entries_; /** + * + * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1206,13 +1387,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
@@ -1221,14 +1406,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
@@ -1237,13 +1426,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
@@ -1252,13 +1445,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
@@ -1267,15 +1464,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; @@ -1287,8 +1486,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_); } @@ -1311,8 +1509,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_); @@ -1325,19 +1522,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; } @@ -1362,132 +1556,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(); @@ -1505,9 +1703,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 @@ -1526,9 +1724,12 @@ public com.google.bigtable.v2.MutateRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest buildPartial() { - com.google.bigtable.v2.MutateRowsRequest result = new com.google.bigtable.v2.MutateRowsRequest(this); + com.google.bigtable.v2.MutateRowsRequest result = + new com.google.bigtable.v2.MutateRowsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1559,38 +1760,39 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest)other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -1627,9 +1829,10 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000004); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntriesFieldBuilder() : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() + : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1661,35 +1864,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.bigtable.v2.MutateRowsRequest.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.bigtable.v2.MutateRowsRequest.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1699,23 +1905,28 @@ 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; @@ -1724,21 +1935,24 @@ 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 { @@ -1746,30 +1960,41 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1779,18 +2004,24 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1800,19 +2031,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; @@ -1821,21 +2054,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 { @@ -1843,30 +2077,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1876,18 +2117,22 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1896,18 +2141,25 @@ public Builder setAppProfileIdBytes( } private java.util.List entries_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - entries_ = new java.util.ArrayList(entries_); + entries_ = + new java.util.ArrayList(entries_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> entriesBuilder_; + com.google.bigtable.v2.MutateRowsRequest.Entry, + com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, + com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> + entriesBuilder_; /** + * + * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -1916,7 +2168,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) { @@ -1926,6 +2180,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
@@ -1934,7 +2190,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) { @@ -1944,6 +2202,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
@@ -1952,7 +2212,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) { @@ -1962,6 +2224,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
@@ -1970,10 +2234,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(); @@ -1987,6 +2252,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
@@ -1995,7 +2262,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) { @@ -2009,6 +2278,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
@@ -2017,7 +2288,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) { @@ -2033,6 +2306,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
@@ -2041,10 +2316,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(); @@ -2058,6 +2334,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
@@ -2066,7 +2344,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) { @@ -2080,6 +2360,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
@@ -2088,7 +2370,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) { @@ -2102,6 +2386,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
@@ -2110,14 +2396,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); @@ -2125,6 +2412,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
@@ -2133,7 +2422,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) { @@ -2146,6 +2437,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
@@ -2154,7 +2447,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) { @@ -2167,6 +2462,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
@@ -2175,13 +2472,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
@@ -2190,16 +2490,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
@@ -2208,10 +2512,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 { @@ -2219,6 +2525,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
@@ -2227,13 +2535,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
@@ -2242,14 +2554,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
@@ -2258,29 +2573,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_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + entriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.MutateRowsRequest.Entry, + com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, + com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>( + entries_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); entries_ = null; } return entriesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2290,12 +2610,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(); } @@ -2304,27 +2624,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; @@ -2339,6 +2659,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 633d5e0fc7..1eb4f91218 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,57 +1,89 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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
@@ -60,11 +92,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
@@ -73,10 +108,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
@@ -85,10 +124,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
@@ -97,11 +140,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
@@ -110,8 +157,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 222029c3b0..9423fa38b2 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,64 +1,89 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * Response message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ -public final class MutateRowsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MutateRowsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse) MutateRowsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutateRowsResponse.newBuilder() to construct. private MutateRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MutateRowsResponse() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutateRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, + com.google.bigtable.v2.MutateRowsResponse.Builder.class); } - public interface EntryOrBuilder extends + public interface EntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse.Entry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; + * * @return The index. */ long getIndex(); /** + * + * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -67,10 +92,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
@@ -79,10 +107,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
@@ -95,53 +126,59 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, + com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private long index_ = 0L; /** + * + * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; + * * @return The index. */ @java.lang.Override @@ -152,6 +189,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
@@ -160,6 +199,7 @@ public long getIndex() {
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -167,6 +207,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
@@ -175,6 +217,7 @@ public boolean hasStatus() {
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -182,6 +225,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
@@ -197,6 +242,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -208,8 +254,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_);
       }
@@ -226,12 +271,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;
@@ -241,19 +284,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;
@@ -267,8 +309,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();
@@ -279,89 +320,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
@@ -371,39 +416,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(); @@ -418,9 +465,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 @@ -439,8 +486,11 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsResponse.Entry result = new com.google.bigtable.v2.MutateRowsResponse.Entry(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.MutateRowsResponse.Entry result = + new com.google.bigtable.v2.MutateRowsResponse.Entry(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -451,9 +501,7 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul result.index_ = index_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = statusBuilder_ == null - ? status_ - : statusBuilder_.build(); + result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); } } @@ -461,38 +509,41 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry)other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry) other); } else { super.mergeFrom(other); return this; @@ -500,7 +551,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()); } @@ -533,24 +585,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - index_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getStatusFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + index_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -560,16 +613,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long index_ ; + private long index_; /** + * + * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; + * * @return The index. */ @java.lang.Override @@ -577,12 +634,15 @@ 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. */ @@ -594,12 +654,15 @@ public Builder setIndex(long value) { return this; } /** + * + * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; + * * @return This builder for chaining. */ public Builder clearIndex() { @@ -611,8 +674,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 +687,15 @@ public Builder clearIndex() {
        * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -635,6 +704,7 @@ public boolean hasStatus() {
        * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -645,6 +715,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 +740,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 +751,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();
         } else {
@@ -689,6 +762,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
@@ -700,9 +775,9 @@ public Builder setStatus(
        */
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            status_ != null &&
-            status_ != com.google.rpc.Status.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && status_ != null
+              && status_ != com.google.rpc.Status.getDefaultInstance()) {
             getStatusBuilder().mergeFrom(value);
           } else {
             status_ = value;
@@ -715,6 +790,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
@@ -750,6 +829,8 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
         return getStatusFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -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,14 +935,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int bitField0_;
   public static final int ENTRIES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * One or more results for Entries from the batch request.
    * 
@@ -870,6 +956,8 @@ public java.util.List getEntrie return entries_; } /** + * + * *
    * One or more results for Entries from the batch request.
    * 
@@ -877,11 +965,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.
    * 
@@ -893,6 +983,8 @@ public int getEntriesCount() { return entries_.size(); } /** + * + * *
    * One or more results for Entries from the batch request.
    * 
@@ -904,6 +996,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.
    * 
@@ -911,14 +1005,15 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( - int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { return entries_.get(index); } public static final int RATE_LIMIT_INFO_FIELD_NUMBER = 3; private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; /** + * + * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -926,6 +1021,7 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; + * * @return Whether the rateLimitInfo field is set. */ @java.lang.Override @@ -933,6 +1029,8 @@ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -940,13 +1038,18 @@ public boolean hasRateLimitInfo() {
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; + * * @return The rateLimitInfo. */ @java.lang.Override public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { - return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; + return rateLimitInfo_ == null + ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() + : rateLimitInfo_; } /** + * + * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -957,10 +1060,13 @@ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder() {
-    return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
+    return rateLimitInfo_ == null
+        ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
+        : rateLimitInfo_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -972,8 +1078,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));
     }
@@ -990,12 +1095,10 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < entries_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, entries_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getRateLimitInfo());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimitInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1005,19 +1108,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)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.MutateRowsResponse other = (com.google.bigtable.v2.MutateRowsResponse) obj;
+    com.google.bigtable.v2.MutateRowsResponse other =
+        (com.google.bigtable.v2.MutateRowsResponse) obj;
 
-    if (!getEntriesList()
-        .equals(other.getEntriesList())) return false;
+    if (!getEntriesList().equals(other.getEntriesList())) return false;
     if (hasRateLimitInfo() != other.hasRateLimitInfo()) return false;
     if (hasRateLimitInfo()) {
-      if (!getRateLimitInfo()
-          .equals(other.getRateLimitInfo())) return false;
+      if (!getRateLimitInfo().equals(other.getRateLimitInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1043,120 +1145,127 @@ 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() @@ -1164,18 +1273,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEntriesFieldBuilder(); getRateLimitInfoFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1196,9 +1305,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 @@ -1217,9 +1326,12 @@ public com.google.bigtable.v2.MutateRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse buildPartial() { - com.google.bigtable.v2.MutateRowsResponse result = new com.google.bigtable.v2.MutateRowsResponse(this); + com.google.bigtable.v2.MutateRowsResponse result = + new com.google.bigtable.v2.MutateRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1240,9 +1352,8 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.rateLimitInfo_ = rateLimitInfoBuilder_ == null - ? rateLimitInfo_ - : rateLimitInfoBuilder_.build(); + result.rateLimitInfo_ = + rateLimitInfoBuilder_ == null ? rateLimitInfo_ : rateLimitInfoBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1252,38 +1363,39 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse)other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -1310,9 +1422,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_); } @@ -1347,32 +1460,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.bigtable.v2.MutateRowsResponse.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 26: { - input.readMessage( - getRateLimitInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.v2.MutateRowsResponse.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 26: + { + input.readMessage(getRateLimitInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1382,21 +1496,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.
      * 
@@ -1411,6 +1533,8 @@ public java.util.List getEntrie } } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1425,6 +1549,8 @@ public int getEntriesCount() { } } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1439,14 +1565,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(); @@ -1460,6 +1587,8 @@ public Builder setEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1478,6 +1607,8 @@ public Builder setEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1498,14 +1629,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(); @@ -1519,6 +1651,8 @@ public Builder addEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1537,6 +1671,8 @@ public Builder addEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1555,6 +1691,8 @@ public Builder addEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1565,8 +1703,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); @@ -1574,6 +1711,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1591,6 +1730,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1608,39 +1749,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 { @@ -1648,6 +1794,8 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil } } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1655,42 +1803,48 @@ 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_; @@ -1698,8 +1852,13 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> rateLimitInfoBuilder_; + com.google.bigtable.v2.RateLimitInfo, + com.google.bigtable.v2.RateLimitInfo.Builder, + com.google.bigtable.v2.RateLimitInfoOrBuilder> + rateLimitInfoBuilder_; /** + * + * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1707,12 +1866,15 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; + * * @return Whether the rateLimitInfo field is set. */ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1720,16 +1882,21 @@ public boolean hasRateLimitInfo() {
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; + * * @return The rateLimitInfo. */ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { if (rateLimitInfoBuilder_ == null) { - return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; + return rateLimitInfo_ == null + ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() + : rateLimitInfo_; } else { return rateLimitInfoBuilder_.getMessage(); } } /** + * + * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1752,6 +1919,8 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1760,8 +1929,7 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
      *
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
-    public Builder setRateLimitInfo(
-        com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
+    public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
       if (rateLimitInfoBuilder_ == null) {
         rateLimitInfo_ = builderForValue.build();
       } else {
@@ -1772,6 +1940,8 @@ public Builder setRateLimitInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1782,9 +1952,9 @@ public Builder setRateLimitInfo(
      */
     public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       if (rateLimitInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          rateLimitInfo_ != null &&
-          rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && rateLimitInfo_ != null
+            && rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
           getRateLimitInfoBuilder().mergeFrom(value);
         } else {
           rateLimitInfo_ = value;
@@ -1797,6 +1967,8 @@ public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1816,6 +1988,8 @@ public Builder clearRateLimitInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1830,6 +2004,8 @@ public com.google.bigtable.v2.RateLimitInfo.Builder getRateLimitInfoBuilder() {
       return getRateLimitInfoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1842,11 +2018,14 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
       if (rateLimitInfoBuilder_ != null) {
         return rateLimitInfoBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimitInfo_ == null ?
-            com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
+        return rateLimitInfo_ == null
+            ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
+            : rateLimitInfo_;
       }
     }
     /**
+     *
+     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1856,21 +2035,24 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> 
+            com.google.bigtable.v2.RateLimitInfo,
+            com.google.bigtable.v2.RateLimitInfo.Builder,
+            com.google.bigtable.v2.RateLimitInfoOrBuilder>
         getRateLimitInfoFieldBuilder() {
       if (rateLimitInfoBuilder_ == null) {
-        rateLimitInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder>(
-                getRateLimitInfo(),
-                getParentForChildren(),
-                isClean());
+        rateLimitInfoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.bigtable.v2.RateLimitInfo,
+                com.google.bigtable.v2.RateLimitInfo.Builder,
+                com.google.bigtable.v2.RateLimitInfoOrBuilder>(
+                getRateLimitInfo(), getParentForChildren(), isClean());
         rateLimitInfo_ = null;
       }
       return rateLimitInfoBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1880,12 +2062,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();
   }
@@ -1894,27 +2076,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;
@@ -1929,6 +2111,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 77%
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 10b19662b4..23244965ad 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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,25 +54,30 @@ 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); /** + * + * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -59,10 +85,13 @@ com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; + * * @return Whether the rateLimitInfo field is set. */ boolean hasRateLimitInfo(); /** + * + * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -70,10 +99,13 @@ com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; + * * @return The rateLimitInfo. */ com.google.bigtable.v2.RateLimitInfo getRateLimitInfo(); /** + * + * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
diff --git a/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 12f9cdef19..ed166b16f4 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,85 +1,112 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
+ *
+ *
  * 
  * Specifies a particular change to be made to the contents of a row.
  * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ -public final class Mutation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Mutation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation) MutationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Mutation.newBuilder() to construct. private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Mutation() { - } + + private Mutation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Mutation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } - public interface SetCellOrBuilder extends + public interface SetCellOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.SetCell) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The familyName. */ java.lang.String getFamilyName(); /** + * + * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The bytes for familyName. */ - com.google.protobuf.ByteString - getFamilyNameBytes(); + com.google.protobuf.ByteString getFamilyNameBytes(); /** + * + * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** + * + * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -89,36 +116,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; @@ -127,34 +161,39 @@ private SetCell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetCell(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, + com.google.bigtable.v2.Mutation.SetCell.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** + * + * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The familyName. */ @java.lang.Override @@ -163,30 +202,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 { @@ -197,12 +236,15 @@ public java.lang.String getFamilyName() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ @java.lang.Override @@ -213,6 +255,8 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 3; private long timestampMicros_ = 0L; /** + * + * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -222,6 +266,7 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * int64 timestamp_micros = 3; + * * @return The timestampMicros. */ @java.lang.Override @@ -232,11 +277,14 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; + * * @return The value. */ @java.lang.Override @@ -245,6 +293,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,8 +305,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_); } @@ -283,16 +331,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; @@ -302,21 +347,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; } @@ -333,8 +374,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(); @@ -342,90 +382,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 @@ -435,39 +479,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(); @@ -480,9 +526,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 @@ -501,8 +547,11 @@ public com.google.bigtable.v2.Mutation.SetCell build() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell buildPartial() { - com.google.bigtable.v2.Mutation.SetCell result = new com.google.bigtable.v2.Mutation.SetCell(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.Mutation.SetCell result = + new com.google.bigtable.v2.Mutation.SetCell(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -527,38 +576,41 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.SetCell result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.SetCell) { - return mergeFrom((com.google.bigtable.v2.Mutation.SetCell)other); + return mergeFrom((com.google.bigtable.v2.Mutation.SetCell) other); } else { super.mergeFrom(other); return this; @@ -607,32 +659,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - columnQualifier_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - value_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + columnQualifier_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + value_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -642,23 +699,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object familyName_ = ""; /** + * + * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -667,21 +727,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 { @@ -689,30 +750,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -722,18 +790,22 @@ public Builder clearFamilyName() { return this; } /** + * + * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -741,14 +813,18 @@ public Builder setFamilyNameBytes( 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 @@ -756,29 +832,37 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** + * + * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; + * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; + * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -788,8 +872,10 @@ public Builder clearColumnQualifier() { return this; } - private long timestampMicros_ ; + private long timestampMicros_; /** + * + * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -799,6 +885,7 @@ public Builder clearColumnQualifier() {
        * 
* * int64 timestamp_micros = 3; + * * @return The timestampMicros. */ @java.lang.Override @@ -806,6 +893,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.
@@ -815,6 +904,7 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 3; + * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -826,6 +916,8 @@ public Builder setTimestampMicros(long value) { return this; } /** + * + * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -835,6 +927,7 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 3; + * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -846,11 +939,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,27 +954,35 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -887,6 +991,7 @@ public Builder clearValue() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -899,12 +1004,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(); } @@ -913,27 +1018,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; @@ -948,65 +1054,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.
      * 
@@ -1016,6 +1138,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.
@@ -1023,15 +1147,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;
@@ -1039,34 +1164,39 @@ private DeleteFromColumn() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DeleteFromColumn();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+              com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
+              com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
     }
 
     public static final int FAMILY_NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object familyName_ = "";
     /**
+     *
+     *
      * 
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The familyName. */ @java.lang.Override @@ -1075,30 +1205,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 { @@ -1109,12 +1239,15 @@ public java.lang.String getFamilyName() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ @java.lang.Override @@ -1125,11 +1258,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 @@ -1137,18 +1273,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.
      * 
@@ -1157,10 +1300,13 @@ public com.google.bigtable.v2.TimestampRange getTimeRange() { */ @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { - return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; + return timeRange_ == null + ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() + : timeRange_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1172,8 +1318,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_); } @@ -1196,12 +1341,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; @@ -1211,21 +1354,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; @@ -1252,89 +1393,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 @@ -1344,6 +1489,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A Mutation which deletes cells from the specified column, optionally
      * restricting the deletions to a given timestamp range.
@@ -1351,33 +1498,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();
@@ -1393,9 +1540,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
@@ -1414,8 +1561,11 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.Mutation.DeleteFromColumn buildPartial() {
-        com.google.bigtable.v2.Mutation.DeleteFromColumn result = new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.v2.Mutation.DeleteFromColumn result =
+            new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1429,9 +1579,7 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
           result.columnQualifier_ = columnQualifier_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.timeRange_ = timeRangeBuilder_ == null
-              ? timeRange_
-              : timeRangeBuilder_.build();
+          result.timeRange_ = timeRangeBuilder_ == null ? timeRange_ : timeRangeBuilder_.build();
         }
       }
 
@@ -1439,38 +1587,41 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn) {
-          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn)other);
+          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1478,7 +1629,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_;
           bitField0_ |= 0x00000001;
@@ -1516,29 +1668,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                columnQualifier_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getTimeRangeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  familyName_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  columnQualifier_ = input.readBytes();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getTimeRangeFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1548,23 +1702,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object familyName_ = "";
       /**
+       *
+       *
        * 
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -1573,21 +1730,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 { @@ -1595,30 +1753,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -1628,18 +1793,22 @@ public Builder clearFamilyName() { return this; } /** + * + * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -1647,14 +1816,18 @@ public Builder setFamilyNameBytes( 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 @@ -1662,29 +1835,37 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** + * + * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; + * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; + * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -1696,34 +1877,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; + * * @return The timeRange. */ public com.google.bigtable.v2.TimestampRange getTimeRange() { if (timeRangeBuilder_ == null) { - return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; + return timeRange_ == null + ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() + : timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1744,14 +1938,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(); } else { @@ -1762,6 +1957,8 @@ public Builder setTimeRange( return this; } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1770,9 +1967,9 @@ public Builder setTimeRange( */ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { if (timeRangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - timeRange_ != null && - timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && timeRange_ != null + && timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { getTimeRangeBuilder().mergeFrom(value); } else { timeRange_ = value; @@ -1785,6 +1982,8 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1802,6 +2001,8 @@ public Builder clearTimeRange() { return this; } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1814,6 +2015,8 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimeRangeBuilder() { return getTimeRangeFieldBuilder().getBuilder(); } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1824,11 +2027,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.
        * 
@@ -1836,18 +2042,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) { @@ -1860,12 +2070,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(); } @@ -1874,27 +2084,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; @@ -1909,85 +2120,98 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeleteFromFamilyOrBuilder extends + public interface DeleteFromFamilyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The familyName. */ java.lang.String getFamilyName(); /** + * + * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The bytes for familyName. */ - com.google.protobuf.ByteString - getFamilyNameBytes(); + com.google.protobuf.ByteString getFamilyNameBytes(); } /** + * + * *
    * A Mutation which deletes all cells from the specified column family.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class DeleteFromFamily extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeleteFromFamily extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromFamily) DeleteFromFamilyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromFamily.newBuilder() to construct. private DeleteFromFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteFromFamily() { familyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFromFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, + com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** + * + * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The familyName. */ @java.lang.Override @@ -1996,30 +2220,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 { @@ -2028,6 +2252,7 @@ public java.lang.String getFamilyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2039,8 +2264,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_); } @@ -2064,15 +2288,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; } @@ -2092,89 +2316,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 @@ -2184,39 +2412,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(); @@ -2226,9 +2456,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 @@ -2247,8 +2477,11 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromFamily result = new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.Mutation.DeleteFromFamily result = + new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2264,38 +2497,41 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromFamily resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily)other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily) other); } else { super.mergeFrom(other); return this; @@ -2303,7 +2539,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_; bitField0_ |= 0x00000001; @@ -2335,17 +2572,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2355,23 +2594,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object familyName_ = ""; /** + * + * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -2380,21 +2622,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 { @@ -2402,30 +2645,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -2435,24 +2685,29 @@ public Builder clearFamilyName() { return this; } /** + * + * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2465,12 +2720,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(); } @@ -2479,27 +2734,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; @@ -2514,53 +2770,56 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeleteFromRowOrBuilder extends + public interface DeleteFromRowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromRow) - com.google.protobuf.MessageOrBuilder { - } + com.google.protobuf.MessageOrBuilder {} /** + * + * *
    * A Mutation which deletes all cells from the containing row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class DeleteFromRow extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeleteFromRow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromRow) DeleteFromRowOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromRow.newBuilder() to construct. private DeleteFromRow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFromRow() { - } + + private DeleteFromRow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteFromRow(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, + com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2572,8 +2831,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); } @@ -2591,12 +2849,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; @@ -2614,90 +2873,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 @@ -2707,39 +2970,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(); @@ -2747,9 +3012,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 @@ -2768,7 +3033,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; } @@ -2777,38 +3043,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; @@ -2816,7 +3085,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; @@ -2843,12 +3113,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) { @@ -2858,6 +3129,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2870,12 +3142,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(); } @@ -2884,27 +3156,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; @@ -2919,14 +3192,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int mutationCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object mutation_; + public enum MutationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SET_CELL(1), DELETE_FROM_COLUMN(2), @@ -2934,6 +3209,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 +3225,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 +3266,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 +3295,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 +3317,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 +3346,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 +3368,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 +3397,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 +3419,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 +3448,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 +3466,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 +3489,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 +3516,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 +3526,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,132 +3576,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(); @@ -3411,9 +3726,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 @@ -3433,7 +3748,9 @@ public com.google.bigtable.v2.Mutation build() { @java.lang.Override public com.google.bigtable.v2.Mutation buildPartial() { com.google.bigtable.v2.Mutation result = new com.google.bigtable.v2.Mutation(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3446,20 +3763,16 @@ private void buildPartial0(com.google.bigtable.v2.Mutation result) { private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { result.mutationCase_ = mutationCase_; result.mutation_ = this.mutation_; - if (mutationCase_ == 1 && - setCellBuilder_ != null) { + if (mutationCase_ == 1 && setCellBuilder_ != null) { result.mutation_ = setCellBuilder_.build(); } - if (mutationCase_ == 2 && - deleteFromColumnBuilder_ != null) { + if (mutationCase_ == 2 && deleteFromColumnBuilder_ != null) { result.mutation_ = deleteFromColumnBuilder_.build(); } - if (mutationCase_ == 3 && - deleteFromFamilyBuilder_ != null) { + if (mutationCase_ == 3 && deleteFromFamilyBuilder_ != null) { result.mutation_ = deleteFromFamilyBuilder_.build(); } - if (mutationCase_ == 4 && - deleteFromRowBuilder_ != null) { + if (mutationCase_ == 4 && deleteFromRowBuilder_ != null) { result.mutation_ = deleteFromRowBuilder_.build(); } } @@ -3468,38 +3781,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation) { - return mergeFrom((com.google.bigtable.v2.Mutation)other); + return mergeFrom((com.google.bigtable.v2.Mutation) other); } else { super.mergeFrom(other); return this; @@ -3509,25 +3823,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(); @@ -3555,40 +3874,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) { @@ -3598,12 +3916,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() { @@ -3616,13 +3934,19 @@ public Builder clearMutation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> setCellBuilder_; + com.google.bigtable.v2.Mutation.SetCell, + com.google.bigtable.v2.Mutation.SetCell.Builder, + com.google.bigtable.v2.Mutation.SetCellOrBuilder> + setCellBuilder_; /** + * + * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; + * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3630,11 +3954,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 @@ -3652,6 +3979,8 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { } } /** + * + * *
      * Set a cell's value.
      * 
@@ -3672,14 +4001,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(); @@ -3690,6 +4020,8 @@ public Builder setSetCell( return this; } /** + * + * *
      * Set a cell's value.
      * 
@@ -3698,10 +4030,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; } @@ -3717,6 +4052,8 @@ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** + * + * *
      * Set a cell's value.
      * 
@@ -3740,6 +4077,8 @@ public Builder clearSetCell() { return this; } /** + * + * *
      * Set a cell's value.
      * 
@@ -3750,6 +4089,8 @@ public com.google.bigtable.v2.Mutation.SetCell.Builder getSetCellBuilder() { return getSetCellFieldBuilder().getBuilder(); } /** + * + * *
      * Set a cell's value.
      * 
@@ -3768,6 +4109,8 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } } /** + * + * *
      * Set a cell's value.
      * 
@@ -3775,14 +4118,19 @@ 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()); @@ -3794,13 +4142,19 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> deleteFromColumnBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromColumn, + com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, + com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> + deleteFromColumnBuilder_; /** + * + * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; + * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -3808,11 +4162,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 @@ -3830,6 +4187,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { } } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3850,6 +4209,8 @@ public Builder setDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromCol return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3868,6 +4229,8 @@ public Builder setDeleteFromColumn( return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3876,10 +4239,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; } @@ -3895,6 +4261,8 @@ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromC return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3918,6 +4286,8 @@ public Builder clearDeleteFromColumn() { return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3928,6 +4298,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol return getDeleteFromColumnFieldBuilder().getBuilder(); } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3935,7 +4307,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 { @@ -3946,6 +4319,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromCo } } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3953,14 +4328,19 @@ 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()); @@ -3972,13 +4352,19 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromCo } 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 @@ -3986,11 +4372,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 @@ -4008,6 +4397,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { } } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4028,6 +4419,8 @@ public Builder setDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFam return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4046,6 +4439,8 @@ public Builder setDeleteFromFamily( return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4054,10 +4449,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; } @@ -4073,6 +4471,8 @@ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromF return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4096,6 +4496,8 @@ public Builder clearDeleteFromFamily() { return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4106,6 +4508,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam return getDeleteFromFamilyFieldBuilder().getBuilder(); } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4113,7 +4517,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 { @@ -4124,6 +4529,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFa } } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4131,14 +4538,19 @@ 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()); @@ -4150,13 +4562,19 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFa } 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 @@ -4164,11 +4582,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 @@ -4186,6 +4607,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { } } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4206,6 +4629,8 @@ public Builder setDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow va return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4224,6 +4649,8 @@ public Builder setDeleteFromRow( return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4232,10 +4659,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; } @@ -4251,6 +4681,8 @@ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4274,6 +4706,8 @@ public Builder clearDeleteFromRow() { return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4284,6 +4718,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow.Builder getDeleteFromRowBui return getDeleteFromRowFieldBuilder().getBuilder(); } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4302,6 +4738,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr } } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4309,14 +4747,19 @@ 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()); @@ -4326,9 +4769,9 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr onChanged(); return deleteFromRowBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4338,12 +4781,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(); } @@ -4352,27 +4795,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; @@ -4387,6 +4830,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 43d308e53e..36a5d73eb8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 66% 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 ff7ca500ea..03779ac361 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,35 +44,42 @@ private PingAndWarmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PingAndWarmRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, + com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,31 +88,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 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 { @@ -96,15 +123,19 @@ public java.lang.String getName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; + * * @return The appProfileId. */ @java.lang.Override @@ -113,30 +144,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 { @@ -145,6 +176,7 @@ public java.lang.String getAppProfileId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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_); } @@ -187,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.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; } @@ -218,132 +248,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,8 +409,11 @@ public com.google.bigtable.v2.PingAndWarmRequest build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmRequest buildPartial() { - com.google.bigtable.v2.PingAndWarmRequest result = new com.google.bigtable.v2.PingAndWarmRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.PingAndWarmRequest result = + new com.google.bigtable.v2.PingAndWarmRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +432,39 @@ private void buildPartial0(com.google.bigtable.v2.PingAndWarmRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmRequest) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest)other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest) other); } else { super.mergeFrom(other); return this; @@ -471,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,24 +537,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -522,22 +568,25 @@ 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 { @@ -545,32 +594,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -580,19 +640,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -602,19 +668,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; @@ -623,21 +691,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 { @@ -645,30 +714,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -678,27 +754,31 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +788,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(); } @@ -722,27 +802,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; @@ -757,6 +837,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 55% 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 8e89e42d22..4fc43d4799 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,55 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/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 48e3d5b0c1..7b2901845a 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,48 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * Response message for Bigtable.PingAndWarm connection keepalive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ -public final class PingAndWarmResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PingAndWarmResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmResponse) PingAndWarmResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PingAndWarmResponse.newBuilder() to construct. private PingAndWarmResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PingAndWarmResponse() { - } + + private PingAndWarmResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PingAndWarmResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, + com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +73,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); } @@ -73,12 +91,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; @@ -96,132 +115,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(); @@ -229,9 +252,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 @@ -250,7 +273,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; } @@ -259,38 +283,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; @@ -325,12 +350,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) { @@ -340,9 +366,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); } @@ -352,12 +378,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(); } @@ -366,27 +392,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; @@ -401,6 +427,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..14198ea2c5 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +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/RateLimitInfo.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java index 904a052f02..b07c19e671 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java @@ -1,50 +1,70 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * Information about how client should adjust the load to Bigtable.
  * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ -public final class RateLimitInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RateLimitInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RateLimitInfo) RateLimitInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RateLimitInfo.newBuilder() to construct. private RateLimitInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RateLimitInfo() { - } + + private RateLimitInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RateLimitInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, + com.google.bigtable.v2.RateLimitInfo.Builder.class); } public static final int PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration period_; /** + * + * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -55,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Duration period = 1; + * * @return Whether the period field is set. */ @java.lang.Override @@ -62,6 +83,8 @@ public boolean hasPeriod() { return period_ != null; } /** + * + * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -72,6 +95,7 @@ public boolean hasPeriod() {
    * 
* * .google.protobuf.Duration period = 1; + * * @return The period. */ @java.lang.Override @@ -79,6 +103,8 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** + * + * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -98,6 +124,8 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
   public static final int FACTOR_FIELD_NUMBER = 2;
   private double factor_ = 0D;
   /**
+   *
+   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -111,6 +139,7 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
    * 
* * double factor = 2; + * * @return The factor. */ @java.lang.Override @@ -119,6 +148,7 @@ public double getFactor() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +160,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 (period_ != null) { output.writeMessage(1, getPeriod()); } @@ -148,12 +177,10 @@ public int getSerializedSize() { size = 0; if (period_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPeriod()); } if (java.lang.Double.doubleToRawLongBits(factor_) != 0) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, factor_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, factor_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,7 +190,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RateLimitInfo)) { return super.equals(obj); @@ -172,12 +199,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod() - .equals(other.getPeriod())) return false; + if (!getPeriod().equals(other.getPeriod())) return false; } if (java.lang.Double.doubleToLongBits(getFactor()) - != java.lang.Double.doubleToLongBits( - other.getFactor())) return false; + != java.lang.Double.doubleToLongBits(other.getFactor())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -194,139 +219,143 @@ public int hashCode() { hash = (53 * hash) + getPeriod().hashCode(); } hash = (37 * hash) + FACTOR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFactor())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getFactor())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.bigtable.v2.RateLimitInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.v2.RateLimitInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about how client should adjust the load to Bigtable.
    * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RateLimitInfo) com.google.bigtable.v2.RateLimitInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, + com.google.bigtable.v2.RateLimitInfo.Builder.class); } // Construct using com.google.bigtable.v2.RateLimitInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override @@ -363,7 +392,9 @@ public com.google.bigtable.v2.RateLimitInfo build() { @java.lang.Override public com.google.bigtable.v2.RateLimitInfo buildPartial() { com.google.bigtable.v2.RateLimitInfo result = new com.google.bigtable.v2.RateLimitInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -371,9 +402,7 @@ public com.google.bigtable.v2.RateLimitInfo buildPartial() { private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.period_ = periodBuilder_ == null - ? period_ - : periodBuilder_.build(); + result.period_ = periodBuilder_ == null ? period_ : periodBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.factor_ = factor_; @@ -384,38 +413,39 @@ private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RateLimitInfo) { - return mergeFrom((com.google.bigtable.v2.RateLimitInfo)other); + return mergeFrom((com.google.bigtable.v2.RateLimitInfo) other); } else { super.mergeFrom(other); return this; @@ -456,24 +486,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPeriodFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: { - factor_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPeriodFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: + { + factor_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -483,12 +514,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Duration period_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + periodBuilder_; /** + * + * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -499,12 +536,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration period = 1; + * * @return Whether the period field is set. */ public boolean hasPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -515,6 +555,7 @@ public boolean hasPeriod() {
      * 
* * .google.protobuf.Duration period = 1; + * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -525,6 +566,8 @@ public com.google.protobuf.Duration getPeriod() { } } /** + * + * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -550,6 +593,8 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -561,8 +606,7 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration period = 1;
      */
-    public Builder setPeriod(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       if (periodBuilder_ == null) {
         period_ = builderForValue.build();
       } else {
@@ -573,6 +617,8 @@ public Builder setPeriod(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -586,9 +632,9 @@ public Builder setPeriod(
      */
     public Builder mergePeriod(com.google.protobuf.Duration value) {
       if (periodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          period_ != null &&
-          period_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && period_ != null
+            && period_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getPeriodBuilder().mergeFrom(value);
         } else {
           period_ = value;
@@ -601,6 +647,8 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -623,6 +671,8 @@ public Builder clearPeriod() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -640,6 +690,8 @@ public com.google.protobuf.Duration.Builder getPeriodBuilder() {
       return getPeriodFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -655,11 +707,12 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
       if (periodBuilder_ != null) {
         return periodBuilder_.getMessageOrBuilder();
       } else {
-        return period_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : period_;
+        return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
       }
     }
     /**
+     *
+     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -672,21 +725,26 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * .google.protobuf.Duration period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getPeriodFieldBuilder() {
       if (periodBuilder_ == null) {
-        periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getPeriod(),
-                getParentForChildren(),
-                isClean());
+        periodBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getPeriod(), getParentForChildren(), isClean());
         period_ = null;
       }
       return periodBuilder_;
     }
 
-    private double factor_ ;
+    private double factor_;
     /**
+     *
+     *
      * 
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -700,6 +758,7 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * 
* * double factor = 2; + * * @return The factor. */ @java.lang.Override @@ -707,6 +766,8 @@ public double getFactor() { return factor_; } /** + * + * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -720,6 +781,7 @@ public double getFactor() {
      * 
* * double factor = 2; + * * @param value The factor to set. * @return This builder for chaining. */ @@ -731,6 +793,8 @@ public Builder setFactor(double value) { return this; } /** + * + * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -744,6 +808,7 @@ public Builder setFactor(double value) {
      * 
* * double factor = 2; + * * @return This builder for chaining. */ public Builder clearFactor() { @@ -752,9 +817,9 @@ public Builder clearFactor() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RateLimitInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RateLimitInfo) private static final com.google.bigtable.v2.RateLimitInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RateLimitInfo(); } @@ -778,27 +843,27 @@ public static com.google.bigtable.v2.RateLimitInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimitInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimitInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +878,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RateLimitInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java index 06357892ff..4f5abf86ad 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface RateLimitInfoOrBuilder extends +public interface RateLimitInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RateLimitInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -18,10 +36,13 @@ public interface RateLimitInfoOrBuilder extends
    * 
* * .google.protobuf.Duration period = 1; + * * @return Whether the period field is set. */ boolean hasPeriod(); /** + * + * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -32,10 +53,13 @@ public interface RateLimitInfoOrBuilder extends
    * 
* * .google.protobuf.Duration period = 1; + * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** + * + * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -50,6 +74,8 @@ public interface RateLimitInfoOrBuilder extends
   com.google.protobuf.DurationOrBuilder getPeriodOrBuilder();
 
   /**
+   *
+   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -63,6 +89,7 @@ public interface RateLimitInfoOrBuilder extends
    * 
* * double factor = 2; + * * @return The factor. */ double getFactor(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java index 3bb70eb87c..291b133e9e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.ReadChangeStream.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
  */
-public final class ReadChangeStreamRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadChangeStreamRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamRequest)
     ReadChangeStreamRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamRequest.newBuilder() to construct.
   private ReadChangeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReadChangeStreamRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -27,34 +45,39 @@ private ReadChangeStreamRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadChangeStreamRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamRequest.class,
+            com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
   }
 
   private int startFromCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object startFrom_;
+
   public enum StartFromCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_TIME(4),
     CONTINUATION_TOKENS(6),
     STARTFROM_NOT_SET(0);
     private final int value;
+
     private StartFromCase(int value) {
       this.value = value;
     }
@@ -70,27 +93,33 @@ public static StartFromCase valueOf(int value) {
 
     public static StartFromCase forNumber(int value) {
       switch (value) {
-        case 4: return START_TIME;
-        case 6: return CONTINUATION_TOKENS;
-        case 0: return STARTFROM_NOT_SET;
-        default: return null;
+        case 4:
+          return START_TIME;
+        case 6:
+          return CONTINUATION_TOKENS;
+        case 0:
+          return STARTFROM_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartFromCase
-  getStartFromCase() {
-    return StartFromCase.forNumber(
-        startFromCase_);
+  public StartFromCase getStartFromCase() {
+    return StartFromCase.forNumber(startFromCase_);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -98,7 +127,10 @@ public int getNumber() {
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -107,14 +139,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 from which to read a change stream.
    * Values are of the form
@@ -122,17 +155,18 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTableNameBytes() { + public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableName_ = b; return b; } else { @@ -141,9 +175,12 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -151,6 +188,7 @@ public java.lang.String getTableName() {
    * 
* * string app_profile_id = 2; + * * @return The appProfileId. */ @java.lang.Override @@ -159,14 +197,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; } } /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -174,16 +213,15 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; + * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAppProfileIdBytes() { + public com.google.protobuf.ByteString getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -194,11 +232,14 @@ public java.lang.String getAppProfileId() { public static final int PARTITION_FIELD_NUMBER = 3; private com.google.bigtable.v2.StreamPartition partition_; /** + * + * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; + * * @return Whether the partition field is set. */ @java.lang.Override @@ -206,18 +247,25 @@ public boolean hasPartition() { return partition_ != null; } /** + * + * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; + * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } /** + * + * *
    * The partition to read changes from.
    * 
@@ -226,11 +274,15 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } public static final int START_TIME_FIELD_NUMBER = 4; /** + * + * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -239,6 +291,7 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -246,6 +299,8 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** + * + * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -254,16 +309,19 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { if (startFromCase_ == 4) { - return (com.google.protobuf.Timestamp) startFrom_; + return (com.google.protobuf.Timestamp) startFrom_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -276,13 +334,15 @@ public com.google.protobuf.Timestamp getStartTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     if (startFromCase_ == 4) {
-       return (com.google.protobuf.Timestamp) startFrom_;
+      return (com.google.protobuf.Timestamp) startFrom_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -297,6 +357,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; + * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -304,6 +365,8 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** + * + * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -318,16 +381,19 @@ public boolean hasContinuationTokens() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; + * * @return The continuationTokens. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { if (startFromCase_ == 6) { - return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; + return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; } return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance(); } /** + * + * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -346,7 +412,7 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() {
   @java.lang.Override
   public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
     if (startFromCase_ == 6) {
-       return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
+      return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
     }
     return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
   }
@@ -354,6 +420,8 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
   public static final int END_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp endTime_;
   /**
+   *
+   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -361,6 +429,7 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
    * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -368,6 +437,8 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -375,6 +446,7 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return The endTime. */ @java.lang.Override @@ -382,6 +454,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -398,12 +472,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int HEARTBEAT_DURATION_FIELD_NUMBER = 7;
   private com.google.protobuf.Duration heartbeatDuration_;
   /**
+   *
+   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; + * * @return Whether the heartbeatDuration field is set. */ @java.lang.Override @@ -411,19 +488,26 @@ public boolean hasHeartbeatDuration() { return heartbeatDuration_ != null; } /** + * + * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; + * * @return The heartbeatDuration. */ @java.lang.Override public com.google.protobuf.Duration getHeartbeatDuration() { - return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; + return heartbeatDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : heartbeatDuration_; } /** + * + * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
@@ -433,10 +517,13 @@ public com.google.protobuf.Duration getHeartbeatDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
-    return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
+    return heartbeatDuration_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : heartbeatDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -448,8 +535,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_);
     }
@@ -487,24 +573,23 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_);
     }
     if (partition_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getPartition());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPartition());
     }
     if (startFromCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.Timestamp) startFrom_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.Timestamp) startFrom_);
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime());
     }
     if (startFromCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
     }
     if (heartbeatDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getHeartbeatDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHeartbeatDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -514,41 +599,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.ReadChangeStreamRequest other = (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
+    com.google.bigtable.v2.ReadChangeStreamRequest other =
+        (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
 
-    if (!getTableName()
-        .equals(other.getTableName())) return false;
-    if (!getAppProfileId()
-        .equals(other.getAppProfileId())) return false;
+    if (!getTableName().equals(other.getTableName())) return false;
+    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
     if (hasPartition() != other.hasPartition()) return false;
     if (hasPartition()) {
-      if (!getPartition()
-          .equals(other.getPartition())) return false;
+      if (!getPartition().equals(other.getPartition())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (hasHeartbeatDuration() != other.hasHeartbeatDuration()) return false;
     if (hasHeartbeatDuration()) {
-      if (!getHeartbeatDuration()
-          .equals(other.getHeartbeatDuration())) return false;
+      if (!getHeartbeatDuration().equals(other.getHeartbeatDuration())) return false;
     }
     if (!getStartFromCase().equals(other.getStartFromCase())) return false;
     switch (startFromCase_) {
       case 4:
-        if (!getStartTime()
-            .equals(other.getStartTime())) return false;
+        if (!getStartTime().equals(other.getStartTime())) return false;
         break;
       case 6:
-        if (!getContinuationTokens()
-            .equals(other.getContinuationTokens())) return false;
+        if (!getContinuationTokens().equals(other.getContinuationTokens())) return false;
         break;
       case 0:
       default:
@@ -597,99 +676,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.ReadChangeStream.
@@ -697,33 +781,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamRequest)
       com.google.bigtable.v2.ReadChangeStreamRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamRequest.class,
+              com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -757,9 +840,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
@@ -778,8 +861,11 @@ public com.google.bigtable.v2.ReadChangeStreamRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamRequest buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamRequest result = new com.google.bigtable.v2.ReadChangeStreamRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.ReadChangeStreamRequest result =
+          new com.google.bigtable.v2.ReadChangeStreamRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -794,31 +880,26 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamRequest result
         result.appProfileId_ = appProfileId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.partition_ = partitionBuilder_ == null
-            ? partition_
-            : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.heartbeatDuration_ = heartbeatDurationBuilder_ == null
-            ? heartbeatDuration_
-            : heartbeatDurationBuilder_.build();
+        result.heartbeatDuration_ =
+            heartbeatDurationBuilder_ == null
+                ? heartbeatDuration_
+                : heartbeatDurationBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest result) {
       result.startFromCase_ = startFromCase_;
       result.startFrom_ = this.startFrom_;
-      if (startFromCase_ == 4 &&
-          startTimeBuilder_ != null) {
+      if (startFromCase_ == 4 && startTimeBuilder_ != null) {
         result.startFrom_ = startTimeBuilder_.build();
       }
-      if (startFromCase_ == 6 &&
-          continuationTokensBuilder_ != null) {
+      if (startFromCase_ == 6 && continuationTokensBuilder_ != null) {
         result.startFrom_ = continuationTokensBuilder_.build();
       }
     }
@@ -827,38 +908,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamRequest) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest)other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -887,17 +969,20 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamRequest other) {
         mergeHeartbeatDuration(other.getHeartbeatDuration());
       }
       switch (other.getStartFromCase()) {
-        case START_TIME: {
-          mergeStartTime(other.getStartTime());
-          break;
-        }
-        case CONTINUATION_TOKENS: {
-          mergeContinuationTokens(other.getContinuationTokens());
-          break;
-        }
-        case STARTFROM_NOT_SET: {
-          break;
-        }
+        case START_TIME:
+          {
+            mergeStartTime(other.getStartTime());
+            break;
+          }
+        case CONTINUATION_TOKENS:
+          {
+            mergeContinuationTokens(other.getContinuationTokens());
+            break;
+          }
+        case STARTFROM_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -925,57 +1010,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              tableName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              appProfileId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getPartitionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              startFromCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getContinuationTokensFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              startFromCase_ = 6;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getHeartbeatDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                tableName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                appProfileId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                startFromCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getContinuationTokensFieldBuilder().getBuilder(), extensionRegistry);
+                startFromCase_ = 6;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(
+                    getHeartbeatDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -985,12 +1070,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int startFromCase_ = 0;
     private java.lang.Object startFrom_;
-    public StartFromCase
-        getStartFromCase() {
-      return StartFromCase.forNumber(
-          startFromCase_);
+
+    public StartFromCase getStartFromCase() {
+      return StartFromCase.forNumber(startFromCase_);
     }
 
     public Builder clearStartFrom() {
@@ -1004,6 +1089,8 @@ public Builder clearStartFrom() {
 
     private java.lang.Object tableName_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1011,14 +1098,16 @@ public Builder clearStartFrom() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1027,6 +1116,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1034,16 +1125,17 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - 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 { @@ -1051,6 +1143,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1058,19 +1152,25 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1078,7 +1178,10 @@ public Builder setTableName(
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1088,6 +1191,8 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1095,13 +1200,17 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1111,6 +1220,8 @@ public Builder setTableNameBytes( private java.lang.Object appProfileId_ = ""; /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1118,13 +1229,13 @@ public Builder setTableNameBytes(
      * 
* * 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; @@ -1133,6 +1244,8 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1140,15 +1253,14 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; + * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString - getAppProfileIdBytes() { + public com.google.protobuf.ByteString getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1156,6 +1268,8 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1163,18 +1277,22 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1182,6 +1300,7 @@ public Builder setAppProfileId(
      * 
* * string app_profile_id = 2; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1191,6 +1310,8 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1198,12 +1319,14 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1213,34 +1336,47 @@ public Builder setAppProfileIdBytes( private com.google.bigtable.v2.StreamPartition partition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_; + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder> + partitionBuilder_; /** + * + * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; + * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; + * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } else { return partitionBuilder_.getMessage(); } } /** + * + * *
      * The partition to read changes from.
      * 
@@ -1261,14 +1397,15 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** + * + * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; */ - public Builder setPartition( - com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -1279,6 +1416,8 @@ public Builder setPartition( return this; } /** + * + * *
      * The partition to read changes from.
      * 
@@ -1287,9 +1426,9 @@ public Builder setPartition( */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - partition_ != null && - partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && partition_ != null + && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -1302,6 +1441,8 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** + * + * *
      * The partition to read changes from.
      * 
@@ -1319,6 +1460,8 @@ public Builder clearPartition() { return this; } /** + * + * *
      * The partition to read changes from.
      * 
@@ -1331,6 +1474,8 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** + * + * *
      * The partition to read changes from.
      * 
@@ -1341,11 +1486,14 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null ? - com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } } /** + * + * *
      * The partition to read changes from.
      * 
@@ -1353,22 +1501,30 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), - getParentForChildren(), - isClean()); + partitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), getParentForChildren(), isClean()); partition_ = null; } return partitionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1377,6 +1533,7 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1384,6 +1541,8 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** + * + * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1392,6 +1551,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ @java.lang.Override @@ -1409,6 +1569,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1432,6 +1594,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1441,8 +1605,7 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 4;
      */
-    public Builder setStartTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startFrom_ = builderForValue.build();
         onChanged();
@@ -1453,6 +1616,8 @@ public Builder setStartTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1464,10 +1629,12 @@ public Builder setStartTime(
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (startFromCase_ == 4 &&
-            startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          startFrom_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
-              .mergeFrom(value).buildPartial();
+        if (startFromCase_ == 4
+            && startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          startFrom_ =
+              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1483,6 +1650,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1509,6 +1678,8 @@ public Builder clearStartTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1522,6 +1693,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1543,6 +1716,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1553,17 +1728,20 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
         if (!(startFromCase_ == 4)) {
           startFrom_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) startFrom_,
-                getParentForChildren(),
-                isClean());
+        startTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) startFrom_, getParentForChildren(), isClean());
         startFrom_ = null;
       }
       startFromCase_ = 4;
@@ -1572,8 +1750,13 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> continuationTokensBuilder_;
+            com.google.bigtable.v2.StreamContinuationTokens,
+            com.google.bigtable.v2.StreamContinuationTokens.Builder,
+            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
+        continuationTokensBuilder_;
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1588,6 +1771,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; + * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -1595,6 +1779,8 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** + * + * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1609,6 +1795,7 @@ public boolean hasContinuationTokens() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; + * * @return The continuationTokens. */ @java.lang.Override @@ -1626,6 +1813,8 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { } } /** + * + * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1655,6 +1844,8 @@ public Builder setContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
       return this;
     }
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1682,6 +1873,8 @@ public Builder setContinuationTokens(
       return this;
     }
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1699,10 +1892,13 @@ public Builder setContinuationTokens(
      */
     public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuationTokens value) {
       if (continuationTokensBuilder_ == null) {
-        if (startFromCase_ == 6 &&
-            startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
-          startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.newBuilder((com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
-              .mergeFrom(value).buildPartial();
+        if (startFromCase_ == 6
+            && startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
+          startFrom_ =
+              com.google.bigtable.v2.StreamContinuationTokens.newBuilder(
+                      (com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1718,6 +1914,8 @@ public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuation
       return this;
     }
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1750,6 +1948,8 @@ public Builder clearContinuationTokens() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1769,6 +1969,8 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       return getContinuationTokensFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1785,7 +1987,8 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
+    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder
+        getContinuationTokensOrBuilder() {
       if ((startFromCase_ == 6) && (continuationTokensBuilder_ != null)) {
         return continuationTokensBuilder_.getMessageOrBuilder();
       } else {
@@ -1796,6 +1999,8 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
       }
     }
     /**
+     *
+     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1812,14 +2017,19 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> 
+            com.google.bigtable.v2.StreamContinuationTokens,
+            com.google.bigtable.v2.StreamContinuationTokens.Builder,
+            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
         getContinuationTokensFieldBuilder() {
       if (continuationTokensBuilder_ == null) {
         if (!(startFromCase_ == 6)) {
           startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
         }
-        continuationTokensBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
+        continuationTokensBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.bigtable.v2.StreamContinuationTokens,
+                com.google.bigtable.v2.StreamContinuationTokens.Builder,
+                com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
                 (com.google.bigtable.v2.StreamContinuationTokens) startFrom_,
                 getParentForChildren(),
                 isClean());
@@ -1832,8 +2042,13 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        endTimeBuilder_;
     /**
+     *
+     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1841,12 +2056,15 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
      * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1854,6 +2072,7 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1864,6 +2083,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1886,6 +2107,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1894,8 +2117,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 5;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -1906,6 +2128,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1916,9 +2140,9 @@ public Builder setEndTime(
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          endTime_ != null &&
-          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && endTime_ != null
+            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -1931,6 +2155,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1950,6 +2176,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1964,6 +2192,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1976,11 +2206,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 specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -1990,14 +2221,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -2005,36 +2239,49 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private com.google.protobuf.Duration heartbeatDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        heartbeatDurationBuilder_;
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; + * * @return Whether the heartbeatDuration field is set. */ public boolean hasHeartbeatDuration() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; + * * @return The heartbeatDuration. */ public com.google.protobuf.Duration getHeartbeatDuration() { if (heartbeatDurationBuilder_ == null) { - return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; + return heartbeatDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : heartbeatDuration_; } else { return heartbeatDurationBuilder_.getMessage(); } } /** + * + * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2056,6 +2303,8 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2063,8 +2312,7 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
-    public Builder setHeartbeatDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (heartbeatDurationBuilder_ == null) {
         heartbeatDuration_ = builderForValue.build();
       } else {
@@ -2075,6 +2323,8 @@ public Builder setHeartbeatDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2084,9 +2334,9 @@ public Builder setHeartbeatDuration(
      */
     public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       if (heartbeatDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0) &&
-          heartbeatDuration_ != null &&
-          heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0)
+            && heartbeatDuration_ != null
+            && heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getHeartbeatDurationBuilder().mergeFrom(value);
         } else {
           heartbeatDuration_ = value;
@@ -2099,6 +2349,8 @@ public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2117,6 +2369,8 @@ public Builder clearHeartbeatDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2130,6 +2384,8 @@ public com.google.protobuf.Duration.Builder getHeartbeatDurationBuilder() {
       return getHeartbeatDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2141,11 +2397,14 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
       if (heartbeatDurationBuilder_ != null) {
         return heartbeatDurationBuilder_.getMessageOrBuilder();
       } else {
-        return heartbeatDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
+        return heartbeatDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : heartbeatDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2154,21 +2413,24 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getHeartbeatDurationFieldBuilder() {
       if (heartbeatDurationBuilder_ == null) {
-        heartbeatDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getHeartbeatDuration(),
-                getParentForChildren(),
-                isClean());
+        heartbeatDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getHeartbeatDuration(), getParentForChildren(), isClean());
         heartbeatDuration_ = null;
       }
       return heartbeatDurationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2178,12 +2440,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamRequest)
   private static final com.google.bigtable.v2.ReadChangeStreamRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamRequest();
   }
@@ -2192,27 +2454,27 @@ public static com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReadChangeStreamRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReadChangeStreamRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2227,6 +2489,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
index 1b7af4dcb1..8945bd215c 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface ReadChangeStreamRequestOrBuilder extends
+public interface ReadChangeStreamRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -15,11 +33,16 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ java.lang.String getTableName(); /** + * + * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -27,13 +50,17 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * Change streaming must be enabled on the table.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - com.google.protobuf.ByteString - getTableNameBytes(); + com.google.protobuf.ByteString getTableNameBytes(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -41,10 +68,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * 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.
@@ -52,30 +82,38 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * string app_profile_id = 2; + * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString - getAppProfileIdBytes(); + com.google.protobuf.ByteString getAppProfileIdBytes(); /** + * + * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; + * * @return Whether the partition field is set. */ boolean hasPartition(); /** + * + * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; + * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** + * + * *
    * The partition to read changes from.
    * 
@@ -85,6 +123,8 @@ public interface ReadChangeStreamRequestOrBuilder extends com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** + * + * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -93,10 +133,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -105,10 +148,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp start_time = 4; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -121,6 +167,8 @@ public interface ReadChangeStreamRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -135,10 +183,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; + * * @return Whether the continuationTokens field is set. */ boolean hasContinuationTokens(); /** + * + * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -153,10 +204,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; + * * @return The continuationTokens. */ com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens(); /** + * + * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -175,6 +229,8 @@ public interface ReadChangeStreamRequestOrBuilder extends
   com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -182,10 +238,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -193,10 +252,13 @@ public interface ReadChangeStreamRequestOrBuilder extends
    * 
* * .google.protobuf.Timestamp end_time = 5; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -208,26 +270,34 @@ public interface ReadChangeStreamRequestOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; + * * @return Whether the heartbeatDuration field is set. */ boolean hasHeartbeatDuration(); /** + * + * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; + * * @return The heartbeatDuration. */ com.google.protobuf.Duration getHeartbeatDuration(); /** + * + * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
similarity index 75%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
index a312ef7ef7..dcb18e9271 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
+ *
+ *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.ReadChangeStream.
@@ -11,73 +28,89 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
  */
-public final class ReadChangeStreamResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadChangeStreamResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse)
     ReadChangeStreamResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamResponse.newBuilder() to construct.
   private ReadChangeStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReadChangeStreamResponse() {
-  }
+
+  private ReadChangeStreamResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadChangeStreamResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto
+        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamResponse.class,
+            com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
   }
 
-  public interface MutationChunkOrBuilder extends
+  public interface MutationChunkOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * + * * @return Whether the chunkInfo field is set. */ boolean hasChunkInfo(); /** + * + * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * + * * @return The chunkInfo. */ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo(); /** + * + * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder(); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder + getChunkInfoOrBuilder(); /** + * + * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -85,10 +118,13 @@ public interface MutationChunkOrBuilder extends
      * 
* * .google.bigtable.v2.Mutation mutation = 2; + * * @return Whether the mutation field is set. */ boolean hasMutation(); /** + * + * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -96,10 +132,13 @@ public interface MutationChunkOrBuilder extends
      * 
* * .google.bigtable.v2.Mutation mutation = 2; + * * @return The mutation. */ com.google.bigtable.v2.Mutation getMutation(); /** + * + * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -111,80 +150,95 @@ public interface MutationChunkOrBuilder extends
     com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A partial or complete mutation.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class MutationChunk extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MutationChunk extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) MutationChunkOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutationChunk.newBuilder() to construct. private MutationChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutationChunk() { - } + + private MutationChunk() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutationChunk(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } - public interface ChunkInfoOrBuilder extends + public interface ChunkInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; + * * @return The chunkedValueSize. */ int getChunkedValueSize(); /** + * + * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; + * * @return The chunkedValueOffset. */ int getChunkedValueOffset(); /** + * + * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; + * * @return The lastChunk. */ boolean getLastChunk(); } /** + * + * *
      * Information about the chunking of this mutation.
      * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -193,46 +247,51 @@ public interface ChunkInfoOrBuilder extends
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
      */
-    public static final class ChunkInfo extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class ChunkInfo extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
         ChunkInfoOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use ChunkInfo.newBuilder() to construct.
       private ChunkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private ChunkInfo() {
-      }
+
+      private ChunkInfo() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new ChunkInfo();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
+                    .class);
       }
 
       public static final int CHUNKED_VALUE_SIZE_FIELD_NUMBER = 1;
       private int chunkedValueSize_ = 0;
       /**
+       *
+       *
        * 
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; + * * @return The chunkedValueSize. */ @java.lang.Override @@ -243,12 +302,15 @@ public int getChunkedValueSize() { public static final int CHUNKED_VALUE_OFFSET_FIELD_NUMBER = 2; private int chunkedValueOffset_ = 0; /** + * + * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; + * * @return The chunkedValueOffset. */ @java.lang.Override @@ -259,11 +321,14 @@ public int getChunkedValueOffset() { public static final int LAST_CHUNK_FIELD_NUMBER = 3; private boolean lastChunk_ = false; /** + * + * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; + * * @return The lastChunk. */ @java.lang.Override @@ -272,6 +337,7 @@ public boolean getLastChunk() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,8 +349,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 (chunkedValueSize_ != 0) { output.writeInt32(1, chunkedValueSize_); } @@ -304,16 +369,13 @@ public int getSerializedSize() { size = 0; if (chunkedValueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, chunkedValueSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, chunkedValueSize_); } if (chunkedValueOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, chunkedValueOffset_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, chunkedValueOffset_); } if (lastChunk_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, lastChunk_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, lastChunk_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -323,19 +385,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.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { + if (!(obj + instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = + (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; - if (getChunkedValueSize() - != other.getChunkedValueSize()) return false; - if (getChunkedValueOffset() - != other.getChunkedValueOffset()) return false; - if (getLastChunk() - != other.getLastChunk()) return false; + if (getChunkedValueSize() != other.getChunkedValueSize()) return false; + if (getChunkedValueOffset() != other.getChunkedValueOffset()) return false; + if (getLastChunk() != other.getLastChunk()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,97 +413,109 @@ public int hashCode() { hash = (37 * hash) + CHUNKED_VALUE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + getChunkedValueOffset(); hash = (37 * hash) + LAST_CHUNK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getLastChunk()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLastChunk()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { + + public static Builder newBuilder( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -452,6 +525,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Information about the chunking of this mutation.
        * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -460,33 +535,35 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
           com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.bigtable.v2.BigtableProto
+              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+          return com.google.bigtable.v2.BigtableProto
+              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
+                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
+                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
+                      .class);
         }
 
-        // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
-        private Builder() {
+        // Construct using
+        // com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
+        private Builder() {}
 
-        }
-
-        private Builder(
-            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
           super(parent);
-
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -498,19 +575,22 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.bigtable.v2.BigtableProto
+              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() {
-          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance();
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
+            getDefaultInstanceForType() {
+          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
+              .getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo build() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = buildPartial();
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
+              buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -518,14 +598,19 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo b
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo buildPartial() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
+            buildPartial() {
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
+              new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
+        private void buildPartial0(
+            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
           int from_bitField0_ = bitField0_;
           if (((from_bitField0_ & 0x00000001) != 0)) {
             result.chunkedValueSize_ = chunkedValueSize_;
@@ -542,46 +627,54 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Mutat
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
+
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index, java.lang.Object value) {
+            int index,
+            java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
+
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
+
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
-            return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)other);
+          if (other
+              instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
+            return mergeFrom(
+                (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
-          if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) return this;
+        public Builder mergeFrom(
+            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
+          if (other
+              == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
+                  .getDefaultInstance()) return this;
           if (other.getChunkedValueSize() != 0) {
             setChunkedValueSize(other.getChunkedValueSize());
           }
@@ -617,27 +710,31 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 8: {
-                  chunkedValueSize_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-                case 16: {
-                  chunkedValueOffset_ = input.readInt32();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-                case 24: {
-                  lastChunk_ = input.readBool();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 24
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 8:
+                  {
+                    chunkedValueSize_ = input.readInt32();
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 8
+                case 16:
+                  {
+                    chunkedValueOffset_ = input.readInt32();
+                    bitField0_ |= 0x00000002;
+                    break;
+                  } // case 16
+                case 24:
+                  {
+                    lastChunk_ = input.readBool();
+                    bitField0_ |= 0x00000004;
+                    break;
+                  } // case 24
+                default:
+                  {
+                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                      done = true; // was an endgroup tag
+                    }
+                    break;
+                  } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -647,15 +744,19 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
-        private int chunkedValueSize_ ;
+        private int chunkedValueSize_;
         /**
+         *
+         *
          * 
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; + * * @return The chunkedValueSize. */ @java.lang.Override @@ -663,11 +764,14 @@ public int getChunkedValueSize() { return chunkedValueSize_; } /** + * + * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; + * * @param value The chunkedValueSize to set. * @return This builder for chaining. */ @@ -679,11 +783,14 @@ public Builder setChunkedValueSize(int value) { return this; } /** + * + * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; + * * @return This builder for chaining. */ public Builder clearChunkedValueSize() { @@ -693,14 +800,17 @@ public Builder clearChunkedValueSize() { return this; } - private int chunkedValueOffset_ ; + private int chunkedValueOffset_; /** + * + * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; + * * @return The chunkedValueOffset. */ @java.lang.Override @@ -708,12 +818,15 @@ public int getChunkedValueOffset() { return chunkedValueOffset_; } /** + * + * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; + * * @param value The chunkedValueOffset to set. * @return This builder for chaining. */ @@ -725,12 +838,15 @@ public Builder setChunkedValueOffset(int value) { return this; } /** + * + * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; + * * @return This builder for chaining. */ public Builder clearChunkedValueOffset() { @@ -740,13 +856,16 @@ public Builder clearChunkedValueOffset() { return this; } - private boolean lastChunk_ ; + private boolean lastChunk_; /** + * + * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; + * * @return The lastChunk. */ @java.lang.Override @@ -754,11 +873,14 @@ public boolean getLastChunk() { return lastChunk_; } /** + * + * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; + * * @param value The lastChunk to set. * @return This builder for chaining. */ @@ -770,11 +892,14 @@ public Builder setLastChunk(boolean value) { return this; } /** + * + * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; + * * @return This builder for chaining. */ public Builder clearLastChunk() { @@ -783,6 +908,7 @@ public Builder clearLastChunk() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -795,41 +921,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) - private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo DEFAULT_INSTANCE; + private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); + DEFAULT_INSTANCE = + new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstance() { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChunkInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChunkInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,21 +971,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CHUNK_INFO_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; /** + * + * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * + * * @return Whether the chunkInfo field is set. */ @java.lang.Override @@ -863,34 +997,50 @@ public boolean hasChunkInfo() { return chunkInfo_ != null; } /** + * + * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * + * * @return The chunkInfo. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { - return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; + return chunkInfo_ == null + ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + .getDefaultInstance() + : chunkInfo_; } /** + * + * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { - return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder + getChunkInfoOrBuilder() { + return chunkInfo_ == null + ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + .getDefaultInstance() + : chunkInfo_; } public static final int MUTATION_FIELD_NUMBER = 2; private com.google.bigtable.v2.Mutation mutation_; /** + * + * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -898,6 +1048,7 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOr
      * 
* * .google.bigtable.v2.Mutation mutation = 2; + * * @return Whether the mutation field is set. */ @java.lang.Override @@ -905,6 +1056,8 @@ public boolean hasMutation() { return mutation_ != null; } /** + * + * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -912,6 +1065,7 @@ public boolean hasMutation() {
      * 
* * .google.bigtable.v2.Mutation mutation = 2; + * * @return The mutation. */ @java.lang.Override @@ -919,6 +1073,8 @@ public com.google.bigtable.v2.Mutation getMutation() { return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } /** + * + * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -933,6 +1089,7 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -944,8 +1101,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 (chunkInfo_ != null) {
         output.writeMessage(1, getChunkInfo());
       }
@@ -962,12 +1118,10 @@ public int getSerializedSize() {
 
       size = 0;
       if (chunkInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getChunkInfo());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getChunkInfo());
       }
       if (mutation_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getMutation());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMutation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -977,22 +1131,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.ReadChangeStreamResponse.MutationChunk)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other =
+          (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
 
       if (hasChunkInfo() != other.hasChunkInfo()) return false;
       if (hasChunkInfo()) {
-        if (!getChunkInfo()
-            .equals(other.getChunkInfo())) return false;
+        if (!getChunkInfo().equals(other.getChunkInfo())) return false;
       }
       if (hasMutation() != other.hasMutation()) return false;
       if (hasMutation()) {
-        if (!getMutation()
-            .equals(other.getMutation())) return false;
+        if (!getMutation().equals(other.getMutation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1019,89 +1172,94 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
+
+    public static Builder newBuilder(
+        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1111,39 +1269,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A partial or complete mutation.
      * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1162,13 +1322,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk + getDefaultInstanceForType() { return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance(); } @@ -1183,23 +1344,23 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk build() { @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk buildPartial() { - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = + new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { + private void buildPartial0( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.chunkInfo_ = chunkInfoBuilder_ == null - ? chunkInfo_ - : chunkInfoBuilder_.build(); + result.chunkInfo_ = chunkInfoBuilder_ == null ? chunkInfo_ : chunkInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.mutation_ = mutationBuilder_ == null - ? mutation_ - : mutationBuilder_.build(); + result.mutation_ = mutationBuilder_ == null ? mutation_ : mutationBuilder_.build(); } } @@ -1207,46 +1368,52 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Mutat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) { - return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)other); + return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { - if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { + if (other + == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) + return this; if (other.hasChunkInfo()) { mergeChunkInfo(other.getChunkInfo()); } @@ -1279,26 +1446,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getChunkInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getMutationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getChunkInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getMutationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1308,48 +1474,68 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> chunkInfoBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> + chunkInfoBuilder_; /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * + * * @return Whether the chunkInfo field is set. */ public boolean hasChunkInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * + * * @return The chunkInfo. */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + getChunkInfo() { if (chunkInfoBuilder_ == null) { - return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; + return chunkInfo_ == null + ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + .getDefaultInstance() + : chunkInfo_; } else { return chunkInfoBuilder_.getMessage(); } } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ - public Builder setChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder setChunkInfo( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1363,15 +1549,19 @@ public Builder setChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.Muta return this; } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder builderForValue) { + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder + builderForValue) { if (chunkInfoBuilder_ == null) { chunkInfo_ = builderForValue.build(); } else { @@ -1382,18 +1572,24 @@ public Builder setChunkInfo( return this; } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ - public Builder mergeChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder mergeChunkInfo( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - chunkInfo_ != null && - chunkInfo_ != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && chunkInfo_ != null + && chunkInfo_ + != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + .getDefaultInstance()) { getChunkInfoBuilder().mergeFrom(value); } else { chunkInfo_ = value; @@ -1406,12 +1602,15 @@ public Builder mergeChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.Mu return this; } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ public Builder clearChunkInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1424,51 +1623,67 @@ public Builder clearChunkInfo() { return this; } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder getChunkInfoBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder + getChunkInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChunkInfoFieldBuilder().getBuilder(); } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder + getChunkInfoOrBuilder() { if (chunkInfoBuilder_ != null) { return chunkInfoBuilder_.getMessageOrBuilder(); } else { - return chunkInfo_ == null ? - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; + return chunkInfo_ == null + ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo + .getDefaultInstance() + : chunkInfo_; } } /** + * + * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> getChunkInfoFieldBuilder() { if (chunkInfoBuilder_ == null) { - chunkInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( - getChunkInfo(), - getParentForChildren(), - isClean()); + chunkInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( + getChunkInfo(), getParentForChildren(), isClean()); chunkInfo_ = null; } return chunkInfoBuilder_; @@ -1476,8 +1691,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOr private com.google.bigtable.v2.Mutation mutation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationBuilder_; + com.google.bigtable.v2.Mutation, + com.google.bigtable.v2.Mutation.Builder, + com.google.bigtable.v2.MutationOrBuilder> + mutationBuilder_; /** + * + * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1485,12 +1705,15 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOr
        * 
* * .google.bigtable.v2.Mutation mutation = 2; + * * @return Whether the mutation field is set. */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1498,16 +1721,21 @@ public boolean hasMutation() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; + * * @return The mutation. */ public com.google.bigtable.v2.Mutation getMutation() { if (mutationBuilder_ == null) { - return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; + return mutation_ == null + ? com.google.bigtable.v2.Mutation.getDefaultInstance() + : mutation_; } else { return mutationBuilder_.getMessage(); } } /** + * + * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1530,6 +1758,8 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1538,8 +1768,7 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
        *
        * .google.bigtable.v2.Mutation mutation = 2;
        */
-      public Builder setMutation(
-          com.google.bigtable.v2.Mutation.Builder builderForValue) {
+      public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForValue) {
         if (mutationBuilder_ == null) {
           mutation_ = builderForValue.build();
         } else {
@@ -1550,6 +1779,8 @@ public Builder setMutation(
         return this;
       }
       /**
+       *
+       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1560,9 +1791,9 @@ public Builder setMutation(
        */
       public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         if (mutationBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            mutation_ != null &&
-            mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && mutation_ != null
+              && mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
             getMutationBuilder().mergeFrom(value);
           } else {
             mutation_ = value;
@@ -1575,6 +1806,8 @@ public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1594,6 +1827,8 @@ public Builder clearMutation() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1608,6 +1843,8 @@ public com.google.bigtable.v2.Mutation.Builder getMutationBuilder() {
         return getMutationFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1620,11 +1857,14 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
         if (mutationBuilder_ != null) {
           return mutationBuilder_.getMessageOrBuilder();
         } else {
-          return mutation_ == null ?
-              com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_;
+          return mutation_ == null
+              ? com.google.bigtable.v2.Mutation.getDefaultInstance()
+              : mutation_;
         }
       }
       /**
+       *
+       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1634,18 +1874,22 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
        * .google.bigtable.v2.Mutation mutation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
+              com.google.bigtable.v2.Mutation,
+              com.google.bigtable.v2.Mutation.Builder,
+              com.google.bigtable.v2.MutationOrBuilder>
           getMutationFieldBuilder() {
         if (mutationBuilder_ == null) {
-          mutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
-                  getMutation(),
-                  getParentForChildren(),
-                  isClean());
+          mutationBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.bigtable.v2.Mutation,
+                  com.google.bigtable.v2.Mutation.Builder,
+                  com.google.bigtable.v2.MutationOrBuilder>(
+                  getMutation(), getParentForChildren(), isClean());
           mutation_ = null;
         }
         return mutationBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1658,41 +1902,44 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk DEFAULT_INSTANCE;
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk();
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstance() {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public MutationChunk parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public MutationChunk parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1704,58 +1951,72 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DataChangeOrBuilder extends
+  public interface DataChangeOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return The type. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType(); /** + * + * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; + * * @return The sourceClusterId. */ java.lang.String getSourceClusterId(); /** + * + * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; + * * @return The bytes for sourceClusterId. */ - com.google.protobuf.ByteString - getSourceClusterIdBytes(); + com.google.protobuf.ByteString getSourceClusterIdBytes(); /** + * + * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -1763,29 +2024,38 @@ public interface DataChangeOrBuilder extends
      * 
* * bytes row_key = 3; + * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** + * + * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; + * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** + * + * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; + * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** + * + * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -1795,6 +2065,8 @@ public interface DataChangeOrBuilder extends com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** + * + * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -1806,11 +2078,14 @@ public interface DataChangeOrBuilder extends
      * 
* * int32 tiebreaker = 5; + * * @return The tiebreaker. */ int getTiebreaker(); /** + * + * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -1819,9 +2094,10 @@ public interface DataChangeOrBuilder extends
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List 
-        getChunksList();
+    java.util.List getChunksList();
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -1832,6 +2108,8 @@ public interface DataChangeOrBuilder extends
      */
     com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index);
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -1842,6 +2120,8 @@ public interface DataChangeOrBuilder extends
      */
     int getChunksCount();
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -1850,9 +2130,11 @@ public interface DataChangeOrBuilder extends
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List 
+    java.util.List
         getChunksOrBuilderList();
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -1865,39 +2147,49 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
         int index);
 
     /**
+     *
+     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; + * * @return The done. */ boolean getDone(); /** + * + * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; + * * @return The token. */ java.lang.String getToken(); /** + * + * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; + * * @return The bytes for token. */ - com.google.protobuf.ByteString - getTokenBytes(); + com.google.protobuf.ByteString getTokenBytes(); /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -1908,10 +2200,13 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; + * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -1922,10 +2217,13 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; + * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -1940,6 +2238,8 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A message corresponding to one or more mutations to the partition
    * being streamed. A single logical `DataChange` message may also be split
@@ -1951,15 +2251,16 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
    */
-  public static final class DataChange extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DataChange extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       DataChangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DataChange.newBuilder() to construct.
     private DataChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private DataChange() {
       type_ = 0;
       sourceClusterId_ = "";
@@ -1970,34 +2271,38 @@ private DataChange() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DataChange();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
+              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The type of mutation.
      * 
* * Protobuf enum {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * The type is unspecified.
        * 
@@ -2006,6 +2311,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * A user-initiated mutation.
        * 
@@ -2014,6 +2321,8 @@ public enum Type */ USER(1), /** + * + * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2023,6 +2332,8 @@ public enum Type
        */
       GARBAGE_COLLECTION(2),
       /**
+       *
+       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2034,6 +2345,8 @@ public enum Type ; /** + * + * *
        * The type is unspecified.
        * 
@@ -2042,6 +2355,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * A user-initiated mutation.
        * 
@@ -2050,6 +2365,8 @@ public enum Type */ public static final int USER_VALUE = 1; /** + * + * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2059,6 +2376,8 @@ public enum Type
        */
       public static final int GARBAGE_COLLECTION_VALUE = 2;
       /**
+       *
+       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2067,7 +2386,6 @@ public enum Type */ public static final int CONTINUATION_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2092,50 +2410,53 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return USER; - case 2: return GARBAGE_COLLECTION; - case 3: return CONTINUATION; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return USER; + case 2: + return GARBAGE_COLLECTION; + case 3: + return CONTINUATION; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - 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() { - return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor() + .getEnumTypes() + .get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2155,39 +2476,54 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** + * + * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null + ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED + : result; } public static final int SOURCE_CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object sourceClusterId_ = ""; /** + * + * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; + * * @return The sourceClusterId. */ @java.lang.Override @@ -2196,30 +2532,30 @@ public java.lang.String getSourceClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; } } /** + * + * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; + * * @return The bytes for sourceClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourceClusterIdBytes() { + public com.google.protobuf.ByteString getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -2230,6 +2566,8 @@ public java.lang.String getSourceClusterId() { public static final int ROW_KEY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2237,6 +2575,7 @@ public java.lang.String getSourceClusterId() {
      * 
* * bytes row_key = 3; + * * @return The rowKey. */ @java.lang.Override @@ -2247,11 +2586,14 @@ public com.google.protobuf.ByteString getRowKey() { public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp commitTimestamp_; /** + * + * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; + * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -2259,18 +2601,25 @@ public boolean hasCommitTimestamp() { return commitTimestamp_ != null; } /** + * + * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; + * * @return The commitTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getCommitTimestamp() { - return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; + return commitTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTimestamp_; } /** + * + * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2279,12 +2628,16 @@ public com.google.protobuf.Timestamp getCommitTimestamp() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { - return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; + return commitTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTimestamp_; } public static final int TIEBREAKER_FIELD_NUMBER = 5; private int tiebreaker_ = 0; /** + * + * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2296,6 +2649,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * int32 tiebreaker = 5; + * * @return The tiebreaker. */ @java.lang.Override @@ -2304,9 +2658,12 @@ public int getTiebreaker() { } public static final int CHUNKS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List chunks_; /** + * + * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2316,10 +2673,13 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List getChunksList() {
+    public java.util.List
+        getChunksList() {
       return chunks_;
     }
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2329,11 +2689,14 @@ public java.util.Listrepeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>
         getChunksOrBuilderList() {
       return chunks_;
     }
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2347,6 +2710,8 @@ public int getChunksCount() {
       return chunks_.size();
     }
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2360,6 +2725,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
       return chunks_.get(index);
     }
     /**
+     *
+     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2369,20 +2736,23 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder(
-        int index) {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder
+        getChunksOrBuilder(int index) {
       return chunks_.get(index);
     }
 
     public static final int DONE_FIELD_NUMBER = 8;
     private boolean done_ = false;
     /**
+     *
+     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; + * * @return The done. */ @java.lang.Override @@ -2391,15 +2761,19 @@ public boolean getDone() { } public static final int TOKEN_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** + * + * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; + * * @return The token. */ @java.lang.Override @@ -2408,30 +2782,30 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** + * + * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; + * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString - getTokenBytes() { + public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); token_ = b; return b; } else { @@ -2442,6 +2816,8 @@ public java.lang.String getToken() { public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp estimatedLowWatermark_; /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2452,6 +2828,7 @@ public java.lang.String getToken() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; + * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -2459,6 +2836,8 @@ public boolean hasEstimatedLowWatermark() { return estimatedLowWatermark_ != null; } /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2469,13 +2848,18 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; + * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; + return estimatedLowWatermark_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedLowWatermark_; } /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2489,10 +2873,13 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null
+          ? com.google.protobuf.Timestamp.getDefaultInstance()
+          : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2504,9 +2891,10 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
-      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+      if (type_
+          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
@@ -2542,39 +2930,36 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(1, type_);
+      if (type_
+          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceClusterId_);
       }
       if (!rowKey_.isEmpty()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBytesSize(3, rowKey_);
+        size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, rowKey_);
       }
       if (commitTimestamp_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getCommitTimestamp());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTimestamp());
       }
       if (tiebreaker_ != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(5, tiebreaker_);
+        size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, tiebreaker_);
       }
       for (int i = 0; i < chunks_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, chunks_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, chunks_.get(i));
       }
       if (done_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(8, done_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, done_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, token_);
       }
       if (estimatedLowWatermark_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(10, getEstimatedLowWatermark());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                10, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2584,35 +2969,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.ReadChangeStreamResponse.DataChange)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other = (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other =
+          (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
 
       if (type_ != other.type_) return false;
-      if (!getSourceClusterId()
-          .equals(other.getSourceClusterId())) return false;
-      if (!getRowKey()
-          .equals(other.getRowKey())) return false;
+      if (!getSourceClusterId().equals(other.getSourceClusterId())) return false;
+      if (!getRowKey().equals(other.getRowKey())) return false;
       if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
       if (hasCommitTimestamp()) {
-        if (!getCommitTimestamp()
-            .equals(other.getCommitTimestamp())) return false;
-      }
-      if (getTiebreaker()
-          != other.getTiebreaker()) return false;
-      if (!getChunksList()
-          .equals(other.getChunksList())) return false;
-      if (getDone()
-          != other.getDone()) return false;
-      if (!getToken()
-          .equals(other.getToken())) return false;
+        if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
+      }
+      if (getTiebreaker() != other.getTiebreaker()) return false;
+      if (!getChunksList().equals(other.getChunksList())) return false;
+      if (getDone() != other.getDone()) return false;
+      if (!getToken().equals(other.getToken())) return false;
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark()
-            .equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -2642,8 +3020,7 @@ public int hashCode() {
         hash = (53 * hash) + getChunksList().hashCode();
       }
       hash = (37 * hash) + DONE_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getDone());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone());
       hash = (37 * hash) + TOKEN_FIELD_NUMBER;
       hash = (53 * hash) + getToken().hashCode();
       if (hasEstimatedLowWatermark()) {
@@ -2656,89 +3033,94 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
+
+    public static Builder newBuilder(
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -2748,6 +3130,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A message corresponding to one or more mutations to the partition
      * being streamed. A single logical `DataChange` message may also be split
@@ -2759,33 +3143,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
         com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
+                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2817,13 +3201,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
+          getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance();
       }
 
@@ -2838,14 +3223,18 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result =
+            new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartialRepeatedFields(
+          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         if (chunksBuilder_ == null) {
           if (((bitField0_ & 0x00000020) != 0)) {
             chunks_ = java.util.Collections.unmodifiableList(chunks_);
@@ -2857,7 +3246,8 @@ private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamR
         }
       }
 
-      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartial0(
+          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.type_ = type_;
@@ -2869,9 +3259,8 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataC
           result.rowKey_ = rowKey_;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.commitTimestamp_ = commitTimestampBuilder_ == null
-              ? commitTimestamp_
-              : commitTimestampBuilder_.build();
+          result.commitTimestamp_ =
+              commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
           result.tiebreaker_ = tiebreaker_;
@@ -2883,9 +3272,10 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataC
           result.token_ = token_;
         }
         if (((from_bitField0_ & 0x00000100) != 0)) {
-          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
-              ? estimatedLowWatermark_
-              : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ =
+              estimatedLowWatermarkBuilder_ == null
+                  ? estimatedLowWatermark_
+                  : estimatedLowWatermarkBuilder_.build();
         }
       }
 
@@ -2893,38 +3283,41 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataC
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2932,7 +3325,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other) {
-        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) return this;
+        if (other
+            == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance())
+          return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -2968,9 +3363,10 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataCha
               chunksBuilder_ = null;
               chunks_ = other.chunks_;
               bitField0_ = (bitField0_ & ~0x00000020);
-              chunksBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getChunksFieldBuilder() : null;
+              chunksBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getChunksFieldBuilder()
+                      : null;
             } else {
               chunksBuilder_.addAllMessages(other.chunks_);
             }
@@ -3013,69 +3409,77 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 18: {
-                sourceClusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                rowKey_ = input.readBytes();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getCommitTimestampFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              case 40: {
-                tiebreaker_ = input.readInt32();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 40
-              case 50: {
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
-                    input.readMessage(
-                        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
-                        extensionRegistry);
-                if (chunksBuilder_ == null) {
-                  ensureChunksIsMutable();
-                  chunks_.add(m);
-                } else {
-                  chunksBuilder_.addMessage(m);
-                }
-                break;
-              } // case 50
-              case 64: {
-                done_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 64
-              case 74: {
-                token_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 74
-              case 82: {
-                input.readMessage(
-                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 82
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  type_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 18:
+                {
+                  sourceClusterId_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  rowKey_ = input.readBytes();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(
+                      getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              case 40:
+                {
+                  tiebreaker_ = input.readInt32();
+                  bitField0_ |= 0x00000010;
+                  break;
+                } // case 40
+              case 50:
+                {
+                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
+                      input.readMessage(
+                          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
+                          extensionRegistry);
+                  if (chunksBuilder_ == null) {
+                    ensureChunksIsMutable();
+                    chunks_.add(m);
+                  } else {
+                    chunksBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 50
+              case 64:
+                {
+                  done_ = input.readBool();
+                  bitField0_ |= 0x00000040;
+                  break;
+                } // case 64
+              case 74:
+                {
+                  token_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000080;
+                  break;
+                } // case 74
+              case 82:
+                {
+                  input.readMessage(
+                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000100;
+                  break;
+                } // case 82
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3085,26 +3489,34 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private int type_ = 0;
       /**
+       *
+       *
        * 
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3115,28 +3527,38 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null + ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED + : result; } /** + * + * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { + public Builder setType( + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { if (value == null) { throw new NullPointerException(); } @@ -3146,11 +3568,14 @@ public Builder setType(com.google.bigtable.v2.ReadChangeStreamResponse.DataChang return this; } /** + * + * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { @@ -3162,19 +3587,21 @@ public Builder clearType() { private java.lang.Object sourceClusterId_ = ""; /** + * + * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; + * * @return The sourceClusterId. */ public java.lang.String getSourceClusterId() { java.lang.Object ref = sourceClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; @@ -3183,21 +3610,22 @@ public java.lang.String getSourceClusterId() { } } /** + * + * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; + * * @return The bytes for sourceClusterId. */ - public com.google.protobuf.ByteString - getSourceClusterIdBytes() { + public com.google.protobuf.ByteString getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -3205,30 +3633,37 @@ public java.lang.String getSourceClusterId() { } } /** + * + * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; + * * @param value The sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceClusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; + * * @return This builder for chaining. */ public Builder clearSourceClusterId() { @@ -3238,18 +3673,22 @@ public Builder clearSourceClusterId() { return this; } /** + * + * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; + * * @param value The bytes for sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceClusterId_ = value; bitField0_ |= 0x00000002; @@ -3259,6 +3698,8 @@ public Builder setSourceClusterIdBytes( private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3266,6 +3707,7 @@ public Builder setSourceClusterIdBytes(
        * 
* * bytes row_key = 3; + * * @return The rowKey. */ @java.lang.Override @@ -3273,6 +3715,8 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** + * + * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3280,17 +3724,22 @@ public com.google.protobuf.ByteString getRowKey() {
        * 
* * bytes row_key = 3; + * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3298,6 +3747,7 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -3309,34 +3759,47 @@ public Builder clearRowKey() { private com.google.protobuf.Timestamp commitTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + commitTimestampBuilder_; /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; + * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; + * * @return The commitTimestamp. */ public com.google.protobuf.Timestamp getCommitTimestamp() { if (commitTimestampBuilder_ == null) { - return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; + return commitTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTimestamp_; } else { return commitTimestampBuilder_.getMessage(); } } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3357,14 +3820,15 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; */ - public Builder setCommitTimestamp( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimestampBuilder_ == null) { commitTimestamp_ = builderForValue.build(); } else { @@ -3375,6 +3839,8 @@ public Builder setCommitTimestamp( return this; } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3383,9 +3849,9 @@ public Builder setCommitTimestamp( */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - commitTimestamp_ != null && - commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && commitTimestamp_ != null + && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -3398,6 +3864,8 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3415,6 +3883,8 @@ public Builder clearCommitTimestamp() { return this; } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3427,6 +3897,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3437,11 +3909,14 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { if (commitTimestampBuilder_ != null) { return commitTimestampBuilder_.getMessageOrBuilder(); } else { - return commitTimestamp_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; + return commitTimestamp_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : commitTimestamp_; } } /** + * + * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3449,21 +3924,26 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getCommitTimestampFieldBuilder() { if (commitTimestampBuilder_ == null) { - commitTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getCommitTimestamp(), - getParentForChildren(), - isClean()); + commitTimestampBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCommitTimestamp(), getParentForChildren(), isClean()); commitTimestamp_ = null; } return commitTimestampBuilder_; } - private int tiebreaker_ ; + private int tiebreaker_; /** + * + * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3475,6 +3955,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
        * 
* * int32 tiebreaker = 5; + * * @return The tiebreaker. */ @java.lang.Override @@ -3482,6 +3963,8 @@ public int getTiebreaker() { return tiebreaker_; } /** + * + * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3493,6 +3976,7 @@ public int getTiebreaker() {
        * 
* * int32 tiebreaker = 5; + * * @param value The tiebreaker to set. * @return This builder for chaining. */ @@ -3504,6 +3988,8 @@ public Builder setTiebreaker(int value) { return this; } /** + * + * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3515,6 +4001,7 @@ public Builder setTiebreaker(int value) {
        * 
* * int32 tiebreaker = 5; + * * @return This builder for chaining. */ public Builder clearTiebreaker() { @@ -3524,28 +4011,38 @@ public Builder clearTiebreaker() { return this; } - private java.util.List chunks_ = - java.util.Collections.emptyList(); + private java.util.List + chunks_ = java.util.Collections.emptyList(); + private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - chunks_ = new java.util.ArrayList(chunks_); + chunks_ = + new java.util.ArrayList< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk>(chunks_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> chunksBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> + chunksBuilder_; /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ - public java.util.List getChunksList() { + public java.util.List + getChunksList() { if (chunksBuilder_ == null) { return java.util.Collections.unmodifiableList(chunks_); } else { @@ -3553,13 +4050,16 @@ public java.util.List * The mutations associated with this change to the partition. * May contain complete mutations or chunks of a multi-message chunked * `DataChange` record. *
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public int getChunksCount() { if (chunksBuilder_ == null) { @@ -3569,13 +4069,16 @@ public int getChunksCount() { } } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index) { if (chunksBuilder_ == null) { @@ -3585,13 +4088,16 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i } } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder setChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -3608,16 +4114,20 @@ public Builder setChunks( return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder setChunks( - int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.set(index, builderForValue.build()); @@ -3628,15 +4138,19 @@ public Builder setChunks( return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ - public Builder addChunks(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { + public Builder addChunks( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3650,13 +4164,16 @@ public Builder addChunks(com.google.bigtable.v2.ReadChangeStreamResponse.Mutatio return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder addChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -3673,13 +4190,16 @@ public Builder addChunks( return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder addChunks( com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { @@ -3693,16 +4213,20 @@ public Builder addChunks( return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder addChunks( - int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.add(index, builderForValue.build()); @@ -3713,20 +4237,24 @@ public Builder addChunks( return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder addAllChunks( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk> + 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); @@ -3734,13 +4262,16 @@ public Builder addAllChunks( return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder clearChunks() { if (chunksBuilder_ == null) { @@ -3753,13 +4284,16 @@ public Builder clearChunks() { return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public Builder removeChunks(int index) { if (chunksBuilder_ == null) { @@ -3772,45 +4306,56 @@ public Builder removeChunks(int index) { return this; } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder getChunksBuilder( int index) { return getChunksFieldBuilder().getBuilder(index); } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder( - int index) { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder + getChunksOrBuilder(int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); } else { + return chunks_.get(index); + } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ - public java.util.List - getChunksOrBuilderList() { + public java.util.List< + ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -3818,68 +4363,87 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder ge } } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder() { - return getChunksFieldBuilder().addBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder + addChunksBuilder() { + return getChunksFieldBuilder() + .addBuilder( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder( int index) { - return getChunksFieldBuilder().addBuilder( - index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + return getChunksFieldBuilder() + .addBuilder( + index, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** + * + * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; + * */ - public java.util.List - getChunksBuilderList() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( - chunks_, - ((bitField0_ & 0x00000020) != 0), - getParentForChildren(), - isClean()); + chunksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( + chunks_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); chunks_ = null; } return chunksBuilder_; } - private boolean done_ ; + private boolean done_; /** + * + * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; + * * @return The done. */ @java.lang.Override @@ -3887,12 +4451,15 @@ public boolean getDone() { return done_; } /** + * + * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; + * * @param value The done to set. * @return This builder for chaining. */ @@ -3904,12 +4471,15 @@ public Builder setDone(boolean value) { return this; } /** + * + * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; + * * @return This builder for chaining. */ public Builder clearDone() { @@ -3921,19 +4491,21 @@ public Builder clearDone() { private java.lang.Object token_ = ""; /** + * + * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; + * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -3942,21 +4514,22 @@ public java.lang.String getToken() { } } /** + * + * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; + * * @return The bytes for token. */ - public com.google.protobuf.ByteString - getTokenBytes() { + public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); token_ = b; return b; } else { @@ -3964,30 +4537,37 @@ public java.lang.String getToken() { } } /** + * + * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; + * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } token_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; + * * @return This builder for chaining. */ public Builder clearToken() { @@ -3997,18 +4577,22 @@ public Builder clearToken() { return this; } /** + * + * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; + * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000080; @@ -4018,8 +4602,13 @@ public Builder setTokenBytes( private com.google.protobuf.Timestamp estimatedLowWatermark_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + estimatedLowWatermarkBuilder_; /** + * + * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4030,12 +4619,15 @@ public Builder setTokenBytes(
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; + * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4046,16 +4638,21 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; + * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; + return estimatedLowWatermark_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** + * + * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4081,6 +4678,8 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4104,6 +4703,8 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4117,9 +4718,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000100) != 0) &&
-            estimatedLowWatermark_ != null &&
-            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000100) != 0)
+              && estimatedLowWatermark_ != null
+              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -4132,6 +4733,8 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4154,6 +4757,8 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4171,6 +4776,8 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4186,11 +4793,14 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : estimatedLowWatermark_;
         }
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4203,18 +4813,22 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 10;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(),
-                  getParentForChildren(),
-                  isClean());
+          estimatedLowWatermarkBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4227,12 +4841,13 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange DEFAULT_INSTANCE;
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange();
     }
@@ -4241,27 +4856,28 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public DataChange parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public DataChange parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4276,34 +4892,42 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface HeartbeatOrBuilder extends
+  public interface HeartbeatOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; + * * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** + * + * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; + * * @return The continuationToken. */ com.google.bigtable.v2.StreamContinuationToken getContinuationToken(); /** + * + * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -4314,6 +4938,8 @@ public interface HeartbeatOrBuilder extends
     com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder();
 
     /**
+     *
+     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4324,10 +4950,13 @@ public interface HeartbeatOrBuilder extends
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; + * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4338,10 +4967,13 @@ public interface HeartbeatOrBuilder extends
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; + * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4356,6 +4988,8 @@ public interface HeartbeatOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
+   *
+   *
    * 
    * A periodic message with information that can be used to checkpoint
    * the state of a stream.
@@ -4363,47 +4997,51 @@ public interface HeartbeatOrBuilder extends
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
    */
-  public static final class Heartbeat extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Heartbeat extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       HeartbeatOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Heartbeat.newBuilder() to construct.
     private Heartbeat(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Heartbeat() {
-    }
+
+    private Heartbeat() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Heartbeat();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
+              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
     }
 
     public static final int CONTINUATION_TOKEN_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
     /**
+     *
+     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; + * * @return Whether the continuationToken field is set. */ @java.lang.Override @@ -4411,19 +5049,26 @@ public boolean hasContinuationToken() { return continuationToken_ != null; } /** + * + * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; + * * @return The continuationToken. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { - return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; + return continuationToken_ == null + ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() + : continuationToken_; } /** + * + * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -4433,12 +5078,16 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
-      return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
+      return continuationToken_ == null
+          ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
+          : continuationToken_;
     }
 
     public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp estimatedLowWatermark_;
     /**
+     *
+     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4449,6 +5098,7 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; + * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -4456,6 +5106,8 @@ public boolean hasEstimatedLowWatermark() { return estimatedLowWatermark_ != null; } /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4466,13 +5118,18 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; + * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; + return estimatedLowWatermark_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedLowWatermark_; } /** + * + * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4486,10 +5143,13 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null
+          ? com.google.protobuf.Timestamp.getDefaultInstance()
+          : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4501,8 +5161,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 (continuationToken_ != null) {
         output.writeMessage(1, getContinuationToken());
       }
@@ -4519,12 +5178,11 @@ public int getSerializedSize() {
 
       size = 0;
       if (continuationToken_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getContinuationToken());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContinuationToken());
       }
       if (estimatedLowWatermark_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, getEstimatedLowWatermark());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -4534,22 +5192,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.ReadChangeStreamResponse.Heartbeat)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other = (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other =
+          (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
 
       if (hasContinuationToken() != other.hasContinuationToken()) return false;
       if (hasContinuationToken()) {
-        if (!getContinuationToken()
-            .equals(other.getContinuationToken())) return false;
+        if (!getContinuationToken().equals(other.getContinuationToken())) return false;
       }
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark()
-            .equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -4576,89 +5233,94 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
+
+    public static Builder newBuilder(
+        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -4668,6 +5330,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A periodic message with information that can be used to checkpoint
      * the state of a stream.
@@ -4675,33 +5339,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
         com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
+                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4720,9 +5384,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
@@ -4741,8 +5405,11 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result =
+            new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -4750,14 +5417,16 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial()
       private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.continuationToken_ = continuationTokenBuilder_ == null
-              ? continuationToken_
-              : continuationTokenBuilder_.build();
+          result.continuationToken_ =
+              continuationTokenBuilder_ == null
+                  ? continuationToken_
+                  : continuationTokenBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
-              ? estimatedLowWatermark_
-              : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ =
+              estimatedLowWatermarkBuilder_ == null
+                  ? estimatedLowWatermark_
+                  : estimatedLowWatermarkBuilder_.build();
         }
       }
 
@@ -4765,38 +5434,41 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heart
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4804,7 +5476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other) {
-        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance())
+          return this;
         if (other.hasContinuationToken()) {
           mergeContinuationToken(other.getContinuationToken());
         }
@@ -4837,26 +5510,27 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getContinuationTokenFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getContinuationTokenFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(
+                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4866,40 +5540,54 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokenBuilder_;
+              com.google.bigtable.v2.StreamContinuationToken,
+              com.google.bigtable.v2.StreamContinuationToken.Builder,
+              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          continuationTokenBuilder_;
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; + * * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; + * * @return The continuationToken. */ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { if (continuationTokenBuilder_ == null) { - return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; + return continuationToken_ == null + ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() + : continuationToken_; } else { return continuationTokenBuilder_.getMessage(); } } /** + * + * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -4921,6 +5609,8 @@ public Builder setContinuationToken(com.google.bigtable.v2.StreamContinuationTok
         return this;
       }
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -4940,6 +5630,8 @@ public Builder setContinuationToken(
         return this;
       }
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -4949,9 +5641,10 @@ public Builder setContinuationToken(
        */
       public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationToken value) {
         if (continuationTokenBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            continuationToken_ != null &&
-            continuationToken_ != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && continuationToken_ != null
+              && continuationToken_
+                  != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
             getContinuationTokenBuilder().mergeFrom(value);
           } else {
             continuationToken_ = value;
@@ -4964,6 +5657,8 @@ public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationT
         return this;
       }
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -4982,6 +5677,8 @@ public Builder clearContinuationToken() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -4995,6 +5692,8 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokenFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5002,15 +5701,19 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        *
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
-      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
+      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder
+          getContinuationTokenOrBuilder() {
         if (continuationTokenBuilder_ != null) {
           return continuationTokenBuilder_.getMessageOrBuilder();
         } else {
-          return continuationToken_ == null ?
-              com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
+          return continuationToken_ == null
+              ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
+              : continuationToken_;
         }
       }
       /**
+       *
+       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5019,14 +5722,17 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
+              com.google.bigtable.v2.StreamContinuationToken,
+              com.google.bigtable.v2.StreamContinuationToken.Builder,
+              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
           getContinuationTokenFieldBuilder() {
         if (continuationTokenBuilder_ == null) {
-          continuationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
-                  getContinuationToken(),
-                  getParentForChildren(),
-                  isClean());
+          continuationTokenBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.bigtable.v2.StreamContinuationToken,
+                  com.google.bigtable.v2.StreamContinuationToken.Builder,
+                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+                  getContinuationToken(), getParentForChildren(), isClean());
           continuationToken_ = null;
         }
         return continuationTokenBuilder_;
@@ -5034,8 +5740,13 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
 
       private com.google.protobuf.Timestamp estimatedLowWatermark_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_;
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
+          estimatedLowWatermarkBuilder_;
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5046,12 +5757,15 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; + * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5062,16 +5776,21 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; + * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; + return estimatedLowWatermark_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** + * + * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5097,6 +5816,8 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5120,6 +5841,8 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5133,9 +5856,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            estimatedLowWatermark_ != null &&
-            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && estimatedLowWatermark_ != null
+              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -5148,6 +5871,8 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5170,6 +5895,8 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5187,6 +5914,8 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5202,11 +5931,14 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null ?
-              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null
+              ? com.google.protobuf.Timestamp.getDefaultInstance()
+              : estimatedLowWatermark_;
         }
       }
       /**
+       *
+       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5219,18 +5951,22 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+              com.google.protobuf.Timestamp,
+              com.google.protobuf.Timestamp.Builder,
+              com.google.protobuf.TimestampOrBuilder>
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(),
-                  getParentForChildren(),
-                  isClean());
+          estimatedLowWatermarkBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protobuf.Timestamp,
+                  com.google.protobuf.Timestamp.Builder,
+                  com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5243,12 +5979,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     private static final com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat();
     }
@@ -5257,27 +5993,28 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Heartbeat parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Heartbeat parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -5292,32 +6029,40 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface CloseStreamOrBuilder extends
+  public interface CloseStreamOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
      * The status of the stream.
      * 
@@ -5327,6 +6072,8 @@ public interface CloseStreamOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5334,9 +6081,10 @@ public interface CloseStreamOrBuilder extends
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List 
-        getContinuationTokensList();
+    java.util.List getContinuationTokensList();
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5346,6 +6094,8 @@ public interface CloseStreamOrBuilder extends
      */
     com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int index);
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5355,6 +6105,8 @@ public interface CloseStreamOrBuilder extends
      */
     int getContinuationTokensCount();
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5362,9 +6114,11 @@ public interface CloseStreamOrBuilder extends
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List 
+    java.util.List
         getContinuationTokensOrBuilderList();
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5376,6 +6130,8 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
         int index);
 
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5384,9 +6140,10 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List 
-        getNewPartitionsList();
+    java.util.List getNewPartitionsList();
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5397,6 +6154,8 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     com.google.bigtable.v2.StreamPartition getNewPartitions(int index);
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5407,6 +6166,8 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     int getNewPartitionsCount();
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5415,9 +6176,11 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List 
+    java.util.List
         getNewPartitionsOrBuilderList();
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5426,10 +6189,11 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
-        int index);
+    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index);
   }
   /**
+   *
+   *
    * 
    * A message indicating that the client should stop reading from the stream.
    * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -5455,15 +6219,16 @@ com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
    */
-  public static final class CloseStream extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class CloseStream extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       CloseStreamOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use CloseStream.newBuilder() to construct.
     private CloseStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private CloseStream() {
       continuationTokens_ = java.util.Collections.emptyList();
       newPartitions_ = java.util.Collections.emptyList();
@@ -5471,32 +6236,36 @@ private CloseStream() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CloseStream();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
+              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
     }
 
     public static final int STATUS_FIELD_NUMBER = 1;
     private com.google.rpc.Status status_;
     /**
+     *
+     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ @java.lang.Override @@ -5504,11 +6273,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; + * * @return The status. */ @java.lang.Override @@ -5516,6 +6288,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
      * The status of the stream.
      * 
@@ -5528,9 +6302,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List continuationTokens_; /** + * + * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5539,10 +6316,13 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List getContinuationTokensList() {
+    public java.util.List
+        getContinuationTokensList() {
       return continuationTokens_;
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5551,11 +6331,13 @@ public java.util.List getContinu
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getContinuationTokensOrBuilderList() {
       return continuationTokens_;
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5568,6 +6350,8 @@ public int getContinuationTokensCount() {
       return continuationTokens_.size();
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5580,6 +6364,8 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
       return continuationTokens_.get(index);
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -5594,9 +6380,12 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
     }
 
     public static final int NEW_PARTITIONS_FIELD_NUMBER = 3;
+
     @SuppressWarnings("serial")
     private java.util.List newPartitions_;
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5610,6 +6399,8 @@ public java.util.List getNewPartitionsLi
       return newPartitions_;
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5619,11 +6410,13 @@ public java.util.List getNewPartitionsLi
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getNewPartitionsOrBuilderList() {
       return newPartitions_;
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5637,6 +6430,8 @@ public int getNewPartitionsCount() {
       return newPartitions_.size();
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5650,6 +6445,8 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
       return newPartitions_.get(index);
     }
     /**
+     *
+     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -5659,12 +6456,12 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
-        int index) {
+    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
       return newPartitions_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5676,8 +6473,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 (status_ != null) {
         output.writeMessage(1, getStatus());
       }
@@ -5697,16 +6493,14 @@ public int getSerializedSize() {
 
       size = 0;
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getStatus());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus());
       }
       for (int i = 0; i < continuationTokens_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, continuationTokens_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(2, continuationTokens_.get(i));
       }
       for (int i = 0; i < newPartitions_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, newPartitions_.get(i));
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, newPartitions_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -5716,22 +6510,20 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other = (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other =
+          (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
 
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus()
-            .equals(other.getStatus())) return false;
+        if (!getStatus().equals(other.getStatus())) return false;
       }
-      if (!getContinuationTokensList()
-          .equals(other.getContinuationTokensList())) return false;
-      if (!getNewPartitionsList()
-          .equals(other.getNewPartitionsList())) return false;
+      if (!getContinuationTokensList().equals(other.getContinuationTokensList())) return false;
+      if (!getNewPartitionsList().equals(other.getNewPartitionsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -5761,89 +6553,94 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
+
+    public static Builder newBuilder(
+        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -5853,6 +6650,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A message indicating that the client should stop reading from the stream.
      * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -5878,33 +6677,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
         com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
+                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5932,13 +6731,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto
+            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
+          getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance();
       }
 
@@ -5953,14 +6753,18 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result =
+            new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartialRepeatedFields(
+          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         if (continuationTokensBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0)) {
             continuationTokens_ = java.util.Collections.unmodifiableList(continuationTokens_);
@@ -5981,12 +6785,11 @@ private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamR
         }
       }
 
-      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartial0(
+          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.status_ = statusBuilder_ == null
-              ? status_
-              : statusBuilder_.build();
+          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
         }
       }
 
@@ -5994,38 +6797,41 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Close
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6033,7 +6839,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other) {
-        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) return this;
+        if (other
+            == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance())
+          return this;
         if (other.hasStatus()) {
           mergeStatus(other.getStatus());
         }
@@ -6055,9 +6863,10 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               continuationTokensBuilder_ = null;
               continuationTokens_ = other.continuationTokens_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              continuationTokensBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getContinuationTokensFieldBuilder() : null;
+              continuationTokensBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getContinuationTokensFieldBuilder()
+                      : null;
             } else {
               continuationTokensBuilder_.addAllMessages(other.continuationTokens_);
             }
@@ -6081,9 +6890,10 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               newPartitionsBuilder_ = null;
               newPartitions_ = other.newPartitions_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              newPartitionsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getNewPartitionsFieldBuilder() : null;
+              newPartitionsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getNewPartitionsFieldBuilder()
+                      : null;
             } else {
               newPartitionsBuilder_.addAllMessages(other.newPartitions_);
             }
@@ -6115,45 +6925,46 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getStatusFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                com.google.bigtable.v2.StreamContinuationToken m =
-                    input.readMessage(
-                        com.google.bigtable.v2.StreamContinuationToken.parser(),
-                        extensionRegistry);
-                if (continuationTokensBuilder_ == null) {
-                  ensureContinuationTokensIsMutable();
-                  continuationTokens_.add(m);
-                } else {
-                  continuationTokensBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-              case 26: {
-                com.google.bigtable.v2.StreamPartition m =
-                    input.readMessage(
-                        com.google.bigtable.v2.StreamPartition.parser(),
-                        extensionRegistry);
-                if (newPartitionsBuilder_ == null) {
-                  ensureNewPartitionsIsMutable();
-                  newPartitions_.add(m);
-                } else {
-                  newPartitionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  com.google.bigtable.v2.StreamContinuationToken m =
+                      input.readMessage(
+                          com.google.bigtable.v2.StreamContinuationToken.parser(),
+                          extensionRegistry);
+                  if (continuationTokensBuilder_ == null) {
+                    ensureContinuationTokensIsMutable();
+                    continuationTokens_.add(m);
+                  } else {
+                    continuationTokensBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 18
+              case 26:
+                {
+                  com.google.bigtable.v2.StreamPartition m =
+                      input.readMessage(
+                          com.google.bigtable.v2.StreamPartition.parser(), extensionRegistry);
+                  if (newPartitionsBuilder_ == null) {
+                    ensureNewPartitionsIsMutable();
+                    newPartitions_.add(m);
+                  } else {
+                    newPartitionsBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6163,28 +6974,36 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          statusBuilder_;
       /**
+       *
+       *
        * 
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; + * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -6195,6 +7014,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
        * The status of the stream.
        * 
@@ -6215,14 +7036,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -6233,6 +7055,8 @@ public Builder setStatus( return this; } /** + * + * *
        * The status of the stream.
        * 
@@ -6241,9 +7065,9 @@ public Builder setStatus( */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - status_ != null && - status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && status_ != null + && status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -6256,6 +7080,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
        * The status of the stream.
        * 
@@ -6273,6 +7099,8 @@ public Builder clearStatus() { return this; } /** + * + * *
        * The status of the stream.
        * 
@@ -6285,6 +7113,8 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** + * + * *
        * The status of the stream.
        * 
@@ -6295,11 +7125,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 status of the stream.
        * 
@@ -6307,32 +7138,40 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.util.List continuationTokens_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureContinuationTokensIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - continuationTokens_ = new java.util.ArrayList(continuationTokens_); + continuationTokens_ = + new java.util.ArrayList( + continuationTokens_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokensBuilder_; + com.google.bigtable.v2.StreamContinuationToken, + com.google.bigtable.v2.StreamContinuationToken.Builder, + com.google.bigtable.v2.StreamContinuationTokenOrBuilder> + continuationTokensBuilder_; /** + * + * *
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6340,7 +7179,8 @@ private void ensureContinuationTokensIsMutable() {
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List getContinuationTokensList() {
+      public java.util.List
+          getContinuationTokensList() {
         if (continuationTokensBuilder_ == null) {
           return java.util.Collections.unmodifiableList(continuationTokens_);
         } else {
@@ -6348,6 +7188,8 @@ public java.util.List getContinu
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6363,6 +7205,8 @@ public int getContinuationTokensCount() {
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6378,6 +7222,8 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6400,6 +7246,8 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6419,6 +7267,8 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6440,6 +7290,8 @@ public Builder addContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6462,6 +7314,8 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6481,6 +7335,8 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6500,6 +7356,8 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6511,8 +7369,7 @@ public Builder addAllContinuationTokens(
           java.lang.Iterable values) {
         if (continuationTokensBuilder_ == null) {
           ensureContinuationTokensIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, continuationTokens_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, continuationTokens_);
           onChanged();
         } else {
           continuationTokensBuilder_.addAllMessages(values);
@@ -6520,6 +7377,8 @@ public Builder addAllContinuationTokens(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6538,6 +7397,8 @@ public Builder clearContinuationTokens() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6556,6 +7417,8 @@ public Builder removeContinuationTokens(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6568,6 +7431,8 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokensFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6578,11 +7443,14 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
       public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrBuilder(
           int index) {
         if (continuationTokensBuilder_ == null) {
-          return continuationTokens_.get(index);  } else {
+          return continuationTokens_.get(index);
+        } else {
           return continuationTokensBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6590,8 +7458,8 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List 
-           getContinuationTokensOrBuilderList() {
+      public java.util.List
+          getContinuationTokensOrBuilderList() {
         if (continuationTokensBuilder_ != null) {
           return continuationTokensBuilder_.getMessageOrBuilderList();
         } else {
@@ -6599,6 +7467,8 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6607,10 +7477,12 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder() {
-        return getContinuationTokensFieldBuilder().addBuilder(
-            com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder()
+            .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6620,10 +7492,12 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder(
           int index) {
-        return getContinuationTokensFieldBuilder().addBuilder(
-            index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder()
+            .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -6631,16 +7505,22 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List 
-           getContinuationTokensBuilderList() {
+      public java.util.List
+          getContinuationTokensBuilderList() {
         return getContinuationTokensFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
+              com.google.bigtable.v2.StreamContinuationToken,
+              com.google.bigtable.v2.StreamContinuationToken.Builder,
+              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
           getContinuationTokensFieldBuilder() {
         if (continuationTokensBuilder_ == null) {
-          continuationTokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+          continuationTokensBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.bigtable.v2.StreamContinuationToken,
+                  com.google.bigtable.v2.StreamContinuationToken.Builder,
+                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
                   continuationTokens_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -6651,18 +7531,25 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
       }
 
       private java.util.List newPartitions_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureNewPartitionsIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          newPartitions_ = new java.util.ArrayList(newPartitions_);
+          newPartitions_ =
+              new java.util.ArrayList(newPartitions_);
           bitField0_ |= 0x00000004;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> newPartitionsBuilder_;
+              com.google.bigtable.v2.StreamPartition,
+              com.google.bigtable.v2.StreamPartition.Builder,
+              com.google.bigtable.v2.StreamPartitionOrBuilder>
+          newPartitionsBuilder_;
 
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6679,6 +7566,8 @@ public java.util.List getNewPartitionsLi
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6695,6 +7584,8 @@ public int getNewPartitionsCount() {
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6711,6 +7602,8 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6719,8 +7612,7 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder setNewPartitions(
-          int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6734,6 +7626,8 @@ public Builder setNewPartitions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6754,6 +7648,8 @@ public Builder setNewPartitions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6776,6 +7672,8 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6784,8 +7682,7 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder addNewPartitions(
-          int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -6799,6 +7696,8 @@ public Builder addNewPartitions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6819,6 +7718,8 @@ public Builder addNewPartitions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6839,6 +7740,8 @@ public Builder addNewPartitions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6851,8 +7754,7 @@ public Builder addAllNewPartitions(
           java.lang.Iterable values) {
         if (newPartitionsBuilder_ == null) {
           ensureNewPartitionsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, newPartitions_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, newPartitions_);
           onChanged();
         } else {
           newPartitionsBuilder_.addAllMessages(values);
@@ -6860,6 +7762,8 @@ public Builder addAllNewPartitions(
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6879,6 +7783,8 @@ public Builder clearNewPartitions() {
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6898,6 +7804,8 @@ public Builder removeNewPartitions(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6906,11 +7814,12 @@ public Builder removeNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(
-          int index) {
+      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(int index) {
         return getNewPartitionsFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6919,14 +7828,16 @@ public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
-          int index) {
+      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
         if (newPartitionsBuilder_ == null) {
-          return newPartitions_.get(index);  } else {
+          return newPartitions_.get(index);
+        } else {
           return newPartitionsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6935,8 +7846,8 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List 
-           getNewPartitionsOrBuilderList() {
+      public java.util.List
+          getNewPartitionsOrBuilderList() {
         if (newPartitionsBuilder_ != null) {
           return newPartitionsBuilder_.getMessageOrBuilderList();
         } else {
@@ -6944,6 +7855,8 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
         }
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6953,10 +7866,12 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
       public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder() {
-        return getNewPartitionsFieldBuilder().addBuilder(
-            com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+        return getNewPartitionsFieldBuilder()
+            .addBuilder(com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6965,12 +7880,13 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder()
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(
-          int index) {
-        return getNewPartitionsFieldBuilder().addBuilder(
-            index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(int index) {
+        return getNewPartitionsFieldBuilder()
+            .addBuilder(index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -6979,16 +7895,22 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List 
-           getNewPartitionsBuilderList() {
+      public java.util.List
+          getNewPartitionsBuilderList() {
         return getNewPartitionsFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> 
+              com.google.bigtable.v2.StreamPartition,
+              com.google.bigtable.v2.StreamPartition.Builder,
+              com.google.bigtable.v2.StreamPartitionOrBuilder>
           getNewPartitionsFieldBuilder() {
         if (newPartitionsBuilder_ == null) {
-          newPartitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>(
+          newPartitionsBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.bigtable.v2.StreamPartition,
+                  com.google.bigtable.v2.StreamPartition.Builder,
+                  com.google.bigtable.v2.StreamPartitionOrBuilder>(
                   newPartitions_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -6997,6 +7919,7 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(
         }
         return newPartitionsBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -7009,12 +7932,13 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream DEFAULT_INSTANCE;
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream();
     }
@@ -7023,27 +7947,28 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDef
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public CloseStream parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public CloseStream parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7058,20 +7983,23 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int streamRecordCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object streamRecord_;
+
   public enum StreamRecordCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DATA_CHANGE(1),
     HEARTBEAT(2),
     CLOSE_STREAM(3),
     STREAMRECORD_NOT_SET(0);
     private final int value;
+
     private StreamRecordCase(int value) {
       this.value = value;
     }
@@ -7087,31 +8015,38 @@ public static StreamRecordCase valueOf(int value) {
 
     public static StreamRecordCase forNumber(int value) {
       switch (value) {
-        case 1: return DATA_CHANGE;
-        case 2: return HEARTBEAT;
-        case 3: return CLOSE_STREAM;
-        case 0: return STREAMRECORD_NOT_SET;
-        default: return null;
+        case 1:
+          return DATA_CHANGE;
+        case 2:
+          return HEARTBEAT;
+        case 3:
+          return CLOSE_STREAM;
+        case 0:
+          return STREAMRECORD_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamRecordCase
-  getStreamRecordCase() {
-    return StreamRecordCase.forNumber(
-        streamRecordCase_);
+  public StreamRecordCase getStreamRecordCase() {
+    return StreamRecordCase.forNumber(streamRecordCase_);
   }
 
   public static final int DATA_CHANGE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; + * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -7119,21 +8054,26 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** + * + * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; + * * @return The dataChange. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } /** + * + * *
    * A mutation to the partition.
    * 
@@ -7141,20 +8081,24 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder + getDataChangeOrBuilder() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } public static final int HEARTBEAT_FIELD_NUMBER = 2; /** + * + * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; + * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -7162,21 +8106,26 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** + * + * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; + * * @return The heartbeat. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } /** + * + * *
    * A periodic heartbeat message.
    * 
@@ -7184,20 +8133,24 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder + getHeartbeatOrBuilder() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } public static final int CLOSE_STREAM_FIELD_NUMBER = 3; /** + * + * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; + * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -7205,21 +8158,26 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** + * + * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; + * * @return The closeStream. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } /** + * + * *
    * An indication that the stream should be closed.
    * 
@@ -7227,14 +8185,16 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder + getCloseStreamOrBuilder() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7246,16 +8206,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 (streamRecordCase_ == 1) { - output.writeMessage(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + output.writeMessage( + 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - output.writeMessage(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + output.writeMessage( + 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - output.writeMessage(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + output.writeMessage( + 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } getUnknownFields().writeTo(output); } @@ -7267,16 +8229,19 @@ public int getSerializedSize() { size = 0; if (streamRecordCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7286,26 +8251,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.ReadChangeStreamResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse other = (com.google.bigtable.v2.ReadChangeStreamResponse) obj; + com.google.bigtable.v2.ReadChangeStreamResponse other = + (com.google.bigtable.v2.ReadChangeStreamResponse) obj; if (!getStreamRecordCase().equals(other.getStreamRecordCase())) return false; switch (streamRecordCase_) { case 1: - if (!getDataChange() - .equals(other.getDataChange())) return false; + if (!getDataChange().equals(other.getDataChange())) return false; break; case 2: - if (!getHeartbeat() - .equals(other.getHeartbeat())) return false; + if (!getHeartbeat().equals(other.getHeartbeat())) return false; break; case 3: - if (!getCloseStream() - .equals(other.getCloseStream())) return false; + if (!getCloseStream().equals(other.getCloseStream())) return false; break; case 0: default: @@ -7342,99 +8305,104 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.ReadChangeStream.
@@ -7442,33 +8410,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse)
       com.google.bigtable.v2.ReadChangeStreamResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.class,
+              com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7488,9 +8455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
@@ -7509,8 +8476,11 @@ public com.google.bigtable.v2.ReadChangeStreamResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamResponse buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamResponse result = new com.google.bigtable.v2.ReadChangeStreamResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.ReadChangeStreamResponse result =
+          new com.google.bigtable.v2.ReadChangeStreamResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -7523,16 +8493,13 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse resul
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse result) {
       result.streamRecordCase_ = streamRecordCase_;
       result.streamRecord_ = this.streamRecord_;
-      if (streamRecordCase_ == 1 &&
-          dataChangeBuilder_ != null) {
+      if (streamRecordCase_ == 1 && dataChangeBuilder_ != null) {
         result.streamRecord_ = dataChangeBuilder_.build();
       }
-      if (streamRecordCase_ == 2 &&
-          heartbeatBuilder_ != null) {
+      if (streamRecordCase_ == 2 && heartbeatBuilder_ != null) {
         result.streamRecord_ = heartbeatBuilder_.build();
       }
-      if (streamRecordCase_ == 3 &&
-          closeStreamBuilder_ != null) {
+      if (streamRecordCase_ == 3 && closeStreamBuilder_ != null) {
         result.streamRecord_ = closeStreamBuilder_.build();
       }
     }
@@ -7541,38 +8508,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse)other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7580,23 +8548,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse other) {
-      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance()) return this;
+      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())
+        return this;
       switch (other.getStreamRecordCase()) {
-        case DATA_CHANGE: {
-          mergeDataChange(other.getDataChange());
-          break;
-        }
-        case HEARTBEAT: {
-          mergeHeartbeat(other.getHeartbeat());
-          break;
-        }
-        case CLOSE_STREAM: {
-          mergeCloseStream(other.getCloseStream());
-          break;
-        }
-        case STREAMRECORD_NOT_SET: {
-          break;
-        }
+        case DATA_CHANGE:
+          {
+            mergeDataChange(other.getDataChange());
+            break;
+          }
+        case HEARTBEAT:
+          {
+            mergeHeartbeat(other.getHeartbeat());
+            break;
+          }
+        case CLOSE_STREAM:
+          {
+            mergeCloseStream(other.getCloseStream());
+            break;
+          }
+        case STREAMRECORD_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -7624,33 +8597,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getDataChangeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              streamRecordCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getHeartbeatFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              streamRecordCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getCloseStreamFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              streamRecordCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getDataChangeFieldBuilder().getBuilder(), extensionRegistry);
+                streamRecordCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getHeartbeatFieldBuilder().getBuilder(), extensionRegistry);
+                streamRecordCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getCloseStreamFieldBuilder().getBuilder(), extensionRegistry);
+                streamRecordCase_ = 3;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7660,12 +8631,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int streamRecordCase_ = 0;
     private java.lang.Object streamRecord_;
-    public StreamRecordCase
-        getStreamRecordCase() {
-      return StreamRecordCase.forNumber(
-          streamRecordCase_);
+
+    public StreamRecordCase getStreamRecordCase() {
+      return StreamRecordCase.forNumber(streamRecordCase_);
     }
 
     public Builder clearStreamRecord() {
@@ -7678,13 +8649,19 @@ public Builder clearStreamRecord() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> dataChangeBuilder_;
+            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange,
+            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder,
+            com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>
+        dataChangeBuilder_;
     /**
+     *
+     *
      * 
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; + * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -7692,11 +8669,14 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** + * + * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; + * * @return The dataChange. */ @java.lang.Override @@ -7714,6 +8694,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( } } /** + * + * *
      * A mutation to the partition.
      * 
@@ -7734,6 +8716,8 @@ public Builder setDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.Dat return this; } /** + * + * *
      * A mutation to the partition.
      * 
@@ -7752,18 +8736,26 @@ public Builder setDataChange( return this; } /** + * + * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public Builder mergeDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { + public Builder mergeDataChange( + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { if (dataChangeBuilder_ == null) { - if (streamRecordCase_ == 1 && - streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) { - streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) - .mergeFrom(value).buildPartial(); + if (streamRecordCase_ == 1 + && streamRecord_ + != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange + .getDefaultInstance()) { + streamRecord_ = + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder( + (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) + .mergeFrom(value) + .buildPartial(); } else { streamRecord_ = value; } @@ -7779,6 +8771,8 @@ public Builder mergeDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.D return this; } /** + * + * *
      * A mutation to the partition.
      * 
@@ -7802,16 +8796,21 @@ public Builder clearDataChange() { return this; } /** + * + * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder getDataChangeBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder + getDataChangeBuilder() { return getDataChangeFieldBuilder().getBuilder(); } /** + * + * *
      * A mutation to the partition.
      * 
@@ -7819,7 +8818,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder getDat * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder + getDataChangeOrBuilder() { if ((streamRecordCase_ == 1) && (dataChangeBuilder_ != null)) { return dataChangeBuilder_.getMessageOrBuilder(); } else { @@ -7830,6 +8830,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDa } } /** + * + * *
      * A mutation to the partition.
      * 
@@ -7837,14 +8839,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDa * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> getDataChangeFieldBuilder() { if (dataChangeBuilder_ == null) { if (!(streamRecordCase_ == 1)) { - streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); - } - dataChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( + streamRecord_ = + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); + } + dataChangeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_, getParentForChildren(), isClean()); @@ -7856,13 +8864,19 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDa } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> heartbeatBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> + heartbeatBuilder_; /** + * + * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; + * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -7870,11 +8884,14 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** + * + * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; + * * @return The heartbeat. */ @java.lang.Override @@ -7892,6 +8909,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() } } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -7912,6 +8931,8 @@ public Builder setHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Hear return this; } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -7930,6 +8951,8 @@ public Builder setHeartbeat( return this; } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -7938,10 +8961,14 @@ public Builder setHeartbeat( */ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat value) { if (heartbeatBuilder_ == null) { - if (streamRecordCase_ == 2 && - streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { - streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) - .mergeFrom(value).buildPartial(); + if (streamRecordCase_ == 2 + && streamRecord_ + != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { + streamRecord_ = + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder( + (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) + .mergeFrom(value) + .buildPartial(); } else { streamRecord_ = value; } @@ -7957,6 +8984,8 @@ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.He return this; } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -7980,6 +9009,8 @@ public Builder clearHeartbeat() { return this; } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -7990,6 +9021,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear return getHeartbeatFieldBuilder().getBuilder(); } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -7997,7 +9030,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder + getHeartbeatOrBuilder() { if ((streamRecordCase_ == 2) && (heartbeatBuilder_ != null)) { return heartbeatBuilder_.getMessageOrBuilder(); } else { @@ -8008,6 +9042,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHea } } /** + * + * *
      * A periodic heartbeat message.
      * 
@@ -8015,14 +9051,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHea * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> getHeartbeatFieldBuilder() { if (heartbeatBuilder_ == null) { if (!(streamRecordCase_ == 2)) { - streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); - } - heartbeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( + streamRecord_ = + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); + } + heartbeatBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_, getParentForChildren(), isClean()); @@ -8034,13 +9076,19 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHea } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> closeStreamBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> + closeStreamBuilder_; /** + * + * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; + * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -8048,11 +9096,14 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** + * + * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; + * * @return The closeStream. */ @java.lang.Override @@ -8070,13 +9121,16 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea } } /** + * + * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder setCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder setCloseStream( + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8090,6 +9144,8 @@ public Builder setCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.Cl return this; } /** + * + * *
      * An indication that the stream should be closed.
      * 
@@ -8108,18 +9164,26 @@ public Builder setCloseStream( return this; } /** + * + * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder mergeCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder mergeCloseStream( + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { - if (streamRecordCase_ == 3 && - streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) { - streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) - .mergeFrom(value).buildPartial(); + if (streamRecordCase_ == 3 + && streamRecord_ + != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream + .getDefaultInstance()) { + streamRecord_ = + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder( + (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) + .mergeFrom(value) + .buildPartial(); } else { streamRecord_ = value; } @@ -8135,6 +9199,8 @@ public Builder mergeCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse. return this; } /** + * + * *
      * An indication that the stream should be closed.
      * 
@@ -8158,16 +9224,21 @@ public Builder clearCloseStream() { return this; } /** + * + * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder getCloseStreamBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder + getCloseStreamBuilder() { return getCloseStreamFieldBuilder().getBuilder(); } /** + * + * *
      * An indication that the stream should be closed.
      * 
@@ -8175,7 +9246,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder getCl * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder + getCloseStreamOrBuilder() { if ((streamRecordCase_ == 3) && (closeStreamBuilder_ != null)) { return closeStreamBuilder_.getMessageOrBuilder(); } else { @@ -8186,6 +9258,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getC } } /** + * + * *
      * An indication that the stream should be closed.
      * 
@@ -8193,14 +9267,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getC * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> getCloseStreamFieldBuilder() { if (closeStreamBuilder_ == null) { if (!(streamRecordCase_ == 3)) { - streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); - } - closeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( + streamRecord_ = + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); + } + closeStreamBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_, getParentForChildren(), isClean()); @@ -8210,9 +9290,9 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getC onChanged(); return closeStreamBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8222,12 +9302,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse) private static final com.google.bigtable.v2.ReadChangeStreamResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse(); } @@ -8236,27 +9316,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadChangeStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadChangeStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8271,6 +9351,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java index 1087ee6107..d748134c53 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadChangeStreamResponseOrBuilder extends +public interface ReadChangeStreamResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; + * * @return Whether the dataChange field is set. */ boolean hasDataChange(); /** + * + * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; + * * @return The dataChange. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange(); /** + * + * *
    * A mutation to the partition.
    * 
@@ -35,24 +59,32 @@ public interface ReadChangeStreamResponseOrBuilder extends com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder(); /** + * + * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; + * * @return Whether the heartbeat field is set. */ boolean hasHeartbeat(); /** + * + * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; + * * @return The heartbeat. */ com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat(); /** + * + * *
    * A periodic heartbeat message.
    * 
@@ -62,24 +94,32 @@ public interface ReadChangeStreamResponseOrBuilder extends com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder(); /** + * + * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; + * * @return Whether the closeStream field is set. */ boolean hasCloseStream(); /** + * + * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; + * * @return The closeStream. */ com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream(); /** + * + * *
    * An indication that the stream should be closed.
    * 
diff --git a/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 33659c5fdb..f210e6752a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,47 +29,51 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
  */
-public final class ReadIterationStats extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReadIterationStats extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIterationStats)
     ReadIterationStatsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReadIterationStats.newBuilder() to construct.
   private ReadIterationStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReadIterationStats() {
-  }
+
+  private ReadIterationStats() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadIterationStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto
+        .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto
+        .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
+            com.google.bigtable.v2.ReadIterationStats.class,
+            com.google.bigtable.v2.ReadIterationStats.Builder.class);
   }
 
   public static final int ROWS_SEEN_COUNT_FIELD_NUMBER = 1;
   private long rowsSeenCount_ = 0L;
   /**
+   *
+   *
    * 
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; + * * @return The rowsSeenCount. */ @java.lang.Override @@ -63,11 +84,14 @@ public long getRowsSeenCount() { public static final int ROWS_RETURNED_COUNT_FIELD_NUMBER = 2; private long rowsReturnedCount_ = 0L; /** + * + * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; + * * @return The rowsReturnedCount. */ @java.lang.Override @@ -78,12 +102,15 @@ public long getRowsReturnedCount() { public static final int CELLS_SEEN_COUNT_FIELD_NUMBER = 3; private long cellsSeenCount_ = 0L; /** + * + * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; + * * @return The cellsSeenCount. */ @java.lang.Override @@ -94,11 +121,14 @@ public long getCellsSeenCount() { public static final int CELLS_RETURNED_COUNT_FIELD_NUMBER = 4; private long cellsReturnedCount_ = 0L; /** + * + * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; + * * @return The cellsReturnedCount. */ @java.lang.Override @@ -107,6 +137,7 @@ public long getCellsReturnedCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +149,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_); } @@ -142,20 +172,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; @@ -165,21 +191,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; } @@ -192,115 +215,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
@@ -309,33 +333,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();
@@ -348,9 +371,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
@@ -369,8 +392,11 @@ public com.google.bigtable.v2.ReadIterationStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadIterationStats buildPartial() {
-      com.google.bigtable.v2.ReadIterationStats result = new com.google.bigtable.v2.ReadIterationStats(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.ReadIterationStats result =
+          new com.google.bigtable.v2.ReadIterationStats(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,38 +421,39 @@ private void buildPartial0(com.google.bigtable.v2.ReadIterationStats result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadIterationStats) {
-        return mergeFrom((com.google.bigtable.v2.ReadIterationStats)other);
+        return mergeFrom((com.google.bigtable.v2.ReadIterationStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -473,32 +500,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              rowsSeenCount_ = input.readInt64();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              rowsReturnedCount_ = input.readInt64();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              cellsSeenCount_ = input.readInt64();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              cellsReturnedCount_ = input.readInt64();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                rowsSeenCount_ = input.readInt64();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                rowsReturnedCount_ = input.readInt64();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                cellsSeenCount_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                cellsReturnedCount_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -508,16 +540,20 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long rowsSeenCount_ ;
+    private long rowsSeenCount_;
     /**
+     *
+     *
      * 
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; + * * @return The rowsSeenCount. */ @java.lang.Override @@ -525,12 +561,15 @@ 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. */ @@ -542,12 +581,15 @@ public Builder setRowsSeenCount(long value) { return this; } /** + * + * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; + * * @return This builder for chaining. */ public Builder clearRowsSeenCount() { @@ -557,13 +599,16 @@ public Builder clearRowsSeenCount() { return this; } - private long rowsReturnedCount_ ; + private long rowsReturnedCount_; /** + * + * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; + * * @return The rowsReturnedCount. */ @java.lang.Override @@ -571,11 +616,14 @@ 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. */ @@ -587,11 +635,14 @@ public Builder setRowsReturnedCount(long value) { return this; } /** + * + * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; + * * @return This builder for chaining. */ public Builder clearRowsReturnedCount() { @@ -601,14 +652,17 @@ public Builder clearRowsReturnedCount() { return this; } - private long cellsSeenCount_ ; + private long cellsSeenCount_; /** + * + * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; + * * @return The cellsSeenCount. */ @java.lang.Override @@ -616,12 +670,15 @@ 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. */ @@ -633,12 +690,15 @@ public Builder setCellsSeenCount(long value) { return this; } /** + * + * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; + * * @return This builder for chaining. */ public Builder clearCellsSeenCount() { @@ -648,13 +708,16 @@ public Builder clearCellsSeenCount() { return this; } - private long cellsReturnedCount_ ; + private long cellsReturnedCount_; /** + * + * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; + * * @return The cellsReturnedCount. */ @java.lang.Override @@ -662,11 +725,14 @@ 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. */ @@ -678,11 +744,14 @@ public Builder setCellsReturnedCount(long value) { return this; } /** + * + * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; + * * @return This builder for chaining. */ public Builder clearCellsReturnedCount() { @@ -691,9 +760,9 @@ public Builder clearCellsReturnedCount() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -703,12 +772,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(); } @@ -717,27 +786,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; @@ -752,6 +821,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..fc61ea1cc9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 e8680f0c7d..e8109e51e4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,35 +46,42 @@ private ReadModifyWriteRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadModifyWriteRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, + com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** + * + * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -65,31 +90,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 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 { @@ -98,15 +125,19 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; + * * @return The appProfileId. */ @java.lang.Override @@ -115,30 +146,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 { @@ -149,12 +180,15 @@ public java.lang.String getAppProfileId() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Required. The key of the row to which the read/modify/write rules should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rowKey. */ @java.lang.Override @@ -163,77 +197,98 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int RULES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List rules_; /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { return rules_.get(index); } /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( - int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,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_); } @@ -272,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_); @@ -290,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; } @@ -331,132 +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(); @@ -475,9 +528,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 @@ -496,14 +549,18 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowRequest buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowRequest result = new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); + com.google.bigtable.v2.ReadModifyWriteRowRequest result = + new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadModifyWriteRowRequest result) { + private void buildPartialRepeatedFields( + com.google.bigtable.v2.ReadModifyWriteRowRequest result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -532,38 +589,39 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest)other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest) other); } else { super.mergeFrom(other); return this; @@ -571,7 +629,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_; bitField0_ |= 0x00000001; @@ -603,9 +662,10 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000008); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRulesFieldBuilder() : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRulesFieldBuilder() + : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -637,40 +697,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - com.google.bigtable.v2.ReadModifyWriteRule m = - input.readMessage( - com.google.bigtable.v2.ReadModifyWriteRule.parser(), - extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + com.google.bigtable.v2.ReadModifyWriteRule m = + input.readMessage( + com.google.bigtable.v2.ReadModifyWriteRule.parser(), extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,24 +744,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 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; @@ -706,22 +775,25 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString - getTableNameBytes() { + public com.google.protobuf.ByteString getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tableName_ = b; return b; } else { @@ -729,32 +801,43 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -764,19 +847,25 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -786,19 +875,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; @@ -807,21 +898,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 { @@ -829,30 +921,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -862,18 +961,22 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -883,12 +986,15 @@ 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 @@ -896,29 +1002,37 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** + * + * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -929,25 +1043,33 @@ public Builder clearRowKey() { } private java.util.List rules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> rulesBuilder_; + com.google.bigtable.v2.ReadModifyWriteRule, + com.google.bigtable.v2.ReadModifyWriteRule.Builder, + com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> + rulesBuilder_; /** + * + * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -957,13 +1079,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) { @@ -973,13 +1099,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) { @@ -989,16 +1119,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(); @@ -1012,13 +1145,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) { @@ -1032,13 +1169,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) { @@ -1054,16 +1195,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(); @@ -1077,16 +1221,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()); @@ -1097,13 +1244,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) { @@ -1117,20 +1268,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); @@ -1138,13 +1292,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) { @@ -1157,13 +1315,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) { @@ -1176,45 +1338,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 { @@ -1222,62 +1395,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_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadModifyWriteRule, + com.google.bigtable.v2.ReadModifyWriteRule.Builder, + com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1474,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(); } @@ -1301,27 +1488,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; @@ -1336,6 +1523,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 0c9433bce8..9c7f5e84b5 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,120 +1,171 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadModifyWriteRowRequestOrBuilder extends +public interface ReadModifyWriteRowRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ java.lang.String getTableName(); /** + * + * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - com.google.protobuf.ByteString - getTableNameBytes(); + com.google.protobuf.ByteString getTableNameBytes(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; + * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; + * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString - getAppProfileIdBytes(); + com.google.protobuf.ByteString getAppProfileIdBytes(); /** + * + * *
    * Required. The key of the row to which the read/modify/write rules should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRulesList(); + java.util.List getRulesList(); /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.bigtable.v2.ReadModifyWriteRule getRules(int index); /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRulesCount(); /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRulesOrBuilderList(); /** + * + * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( - int index); + com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index); } diff --git a/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 ccb6d7b705..f7af2c4fcb 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * Response message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ -public final class ReadModifyWriteRowResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadModifyWriteRowResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowResponse) ReadModifyWriteRowResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowResponse.newBuilder() to construct. private ReadModifyWriteRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadModifyWriteRowResponse() { - } + + private ReadModifyWriteRowResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadModifyWriteRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, + com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } public static final int ROW_FIELD_NUMBER = 1; private com.google.bigtable.v2.Row row_; /** + * + * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; + * * @return Whether the row field is set. */ @java.lang.Override @@ -57,11 +78,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 @@ -69,6 +93,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.
    * 
@@ -81,6 +107,7 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +119,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()); } @@ -107,8 +133,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; @@ -118,17 +143,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; @@ -151,131 +176,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(); @@ -289,9 +318,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 @@ -310,8 +339,11 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowResponse result = new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.ReadModifyWriteRowResponse result = + new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -319,9 +351,7 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.row_ = rowBuilder_ == null - ? row_ - : rowBuilder_.build(); + result.row_ = rowBuilder_ == null ? row_ : rowBuilder_.build(); } } @@ -329,38 +359,39 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse)other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse) other); } else { super.mergeFrom(other); return this; @@ -368,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()); } @@ -398,19 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRowFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRowFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,28 +452,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.bigtable.v2.Row row_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> rowBuilder_; + com.google.bigtable.v2.Row, + com.google.bigtable.v2.Row.Builder, + com.google.bigtable.v2.RowOrBuilder> + rowBuilder_; /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; + * * @return Whether the row field is set. */ public boolean hasRow() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; + * * @return The row. */ public com.google.bigtable.v2.Row getRow() { @@ -452,6 +494,8 @@ public com.google.bigtable.v2.Row getRow() { } } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -472,14 +516,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(); } else { @@ -490,6 +535,8 @@ public Builder setRow( return this; } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -498,9 +545,9 @@ public Builder setRow( */ public Builder mergeRow(com.google.bigtable.v2.Row value) { if (rowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - row_ != null && - row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && row_ != null + && row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { getRowBuilder().mergeFrom(value); } else { row_ = value; @@ -513,6 +560,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.
      * 
@@ -530,6 +579,8 @@ public Builder clearRow() { return this; } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -542,6 +593,8 @@ public com.google.bigtable.v2.Row.Builder getRowBuilder() { return getRowFieldBuilder().getBuilder(); } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -552,11 +605,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.
      * 
@@ -564,21 +618,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); } @@ -588,12 +644,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(); } @@ -602,27 +658,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; @@ -637,6 +693,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..837af761d8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 b40b10a3b6..3c486f2192 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,34 +45,39 @@ private ReadModifyWriteRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadModifyWriteRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+            com.google.bigtable.v2.ReadModifyWriteRule.class,
+            com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
   }
 
   private int ruleCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object rule_;
+
   public enum RuleCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_VALUE(3),
     INCREMENT_AMOUNT(4),
     RULE_NOT_SET(0);
     private final int value;
+
     private RuleCase(int value) {
       this.value = value;
     }
@@ -70,33 +93,40 @@ public static RuleCase valueOf(int value) {
 
     public static RuleCase forNumber(int value) {
       switch (value) {
-        case 3: return APPEND_VALUE;
-        case 4: return INCREMENT_AMOUNT;
-        case 0: return RULE_NOT_SET;
-        default: return null;
+        case 3:
+          return APPEND_VALUE;
+        case 4:
+          return INCREMENT_AMOUNT;
+        case 0:
+          return RULE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RuleCase
-  getRuleCase() {
-    return RuleCase.forNumber(
-        ruleCase_);
+  public RuleCase getRuleCase() {
+    return RuleCase.forNumber(ruleCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
+   *
+   *
    * 
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; + * * @return The familyName. */ @java.lang.Override @@ -105,30 +135,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 { @@ -139,6 +169,8 @@ public java.lang.String getFamilyName() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -146,6 +178,7 @@ public java.lang.String getFamilyName() {
    * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ @java.lang.Override @@ -155,6 +188,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
@@ -162,6 +197,7 @@ public com.google.protobuf.ByteString getColumnQualifier() {
    * 
* * bytes append_value = 3; + * * @return Whether the appendValue field is set. */ @java.lang.Override @@ -169,6 +205,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
@@ -176,6 +214,7 @@ public boolean hasAppendValue() {
    * 
* * bytes append_value = 3; + * * @return The appendValue. */ @java.lang.Override @@ -188,6 +227,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.
@@ -196,6 +237,7 @@ public com.google.protobuf.ByteString getAppendValue() {
    * 
* * int64 increment_amount = 4; + * * @return Whether the incrementAmount field is set. */ @java.lang.Override @@ -203,6 +245,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.
@@ -211,6 +255,7 @@ public boolean hasIncrementAmount() {
    * 
* * int64 increment_amount = 4; + * * @return The incrementAmount. */ @java.lang.Override @@ -222,6 +267,7 @@ public long getIncrementAmount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -233,8 +279,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_); } @@ -242,12 +287,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); } @@ -262,18 +305,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; @@ -283,26 +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.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: @@ -329,8 +368,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: @@ -340,99 +378,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.
@@ -440,33 +483,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();
@@ -479,9 +521,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
@@ -500,8 +542,11 @@ public com.google.bigtable.v2.ReadModifyWriteRule build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadModifyWriteRule buildPartial() {
-      com.google.bigtable.v2.ReadModifyWriteRule result = new com.google.bigtable.v2.ReadModifyWriteRule(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.ReadModifyWriteRule result =
+          new com.google.bigtable.v2.ReadModifyWriteRule(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -526,38 +571,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadModifyWriteRule resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadModifyWriteRule) {
-        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule)other);
+        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,17 +621,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();
@@ -613,32 +662,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              familyName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              columnQualifier_ = input.readBytes();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              rule_ = input.readBytes();
-              ruleCase_ = 3;
-              break;
-            } // case 26
-            case 32: {
-              rule_ = input.readInt64();
-              ruleCase_ = 4;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                familyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                columnQualifier_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                rule_ = input.readBytes();
+                ruleCase_ = 3;
+                break;
+              } // case 26
+            case 32:
+              {
+                rule_ = input.readInt64();
+                ruleCase_ = 4;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -648,12 +702,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() {
@@ -667,19 +721,21 @@ public Builder clearRule() {
 
     private java.lang.Object familyName_ = "";
     /**
+     *
+     *
      * 
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -688,21 +744,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 { @@ -710,30 +767,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -743,18 +807,22 @@ public Builder clearFamilyName() { return this; } /** + * + * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -764,6 +832,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.
@@ -771,6 +841,7 @@ public Builder setFamilyNameBytes(
      * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ @java.lang.Override @@ -778,6 +849,8 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** + * + * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -785,17 +858,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(); } + if (value == null) { + throw new NullPointerException(); + } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -803,6 +881,7 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; + * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -813,6 +892,8 @@ public Builder clearColumnQualifier() { } /** + * + * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -820,12 +901,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
@@ -833,6 +917,7 @@ public boolean hasAppendValue() {
      * 
* * bytes append_value = 3; + * * @return The appendValue. */ public com.google.protobuf.ByteString getAppendValue() { @@ -842,6 +927,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
@@ -849,17 +936,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(); } + if (value == null) { + throw new NullPointerException(); + } ruleCase_ = 3; rule_ = value; onChanged(); return this; } /** + * + * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -867,6 +959,7 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
      * 
* * bytes append_value = 3; + * * @return This builder for chaining. */ public Builder clearAppendValue() { @@ -879,6 +972,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 +982,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 +999,7 @@ public boolean hasIncrementAmount() {
      * 
* * int64 increment_amount = 4; + * * @return The incrementAmount. */ public long getIncrementAmount() { @@ -910,6 +1009,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 +1019,7 @@ public long getIncrementAmount() {
      * 
* * int64 increment_amount = 4; + * * @param value The incrementAmount to set. * @return This builder for chaining. */ @@ -929,6 +1031,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.
@@ -937,6 +1041,7 @@ public Builder setIncrementAmount(long value) {
      * 
* * int64 increment_amount = 4; + * * @return This builder for chaining. */ public Builder clearIncrementAmount() { @@ -947,9 +1052,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); } @@ -959,12 +1064,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(); } @@ -973,27 +1078,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; @@ -1008,6 +1113,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 f31704e8cf..fc3e093ffc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 73% 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 97d1e7aaf7..3101db169a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,25 +45,28 @@ private ReadRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, + com.google.bigtable.v2.ReadRowsRequest.Builder.class); } /** + * + * *
    * The desired view into RequestStats that should be returned in the response.
    *
@@ -54,9 +75,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.
      * 
@@ -65,6 +87,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.
@@ -74,6 +98,8 @@ public enum RequestStatsView
      */
     REQUEST_STATS_NONE(1),
     /**
+     *
+     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -86,6 +112,8 @@ public enum RequestStatsView
     ;
 
     /**
+     *
+     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -94,6 +122,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.
@@ -103,6 +133,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.
@@ -112,7 +144,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(
@@ -137,39 +168,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);
     }
 
@@ -178,8 +212,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;
@@ -197,16 +230,22 @@ private RequestStatsView(int value) {
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
+   *
+   *
    * 
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -215,31 +254,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 { @@ -248,15 +289,19 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; + * * @return The appProfileId. */ @java.lang.Override @@ -265,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. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; + * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAppProfileIdBytes() { + public com.google.protobuf.ByteString getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -299,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 @@ -312,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 @@ -325,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.
@@ -340,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 @@ -353,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 @@ -366,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.
@@ -381,12 +442,15 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
   public static final int ROWS_LIMIT_FIELD_NUMBER = 4;
   private long rowsLimit_ = 0L;
   /**
+   *
+   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; + * * @return The rowsLimit. */ @java.lang.Override @@ -397,32 +461,45 @@ public long getRowsLimit() { public static final int REQUEST_STATS_VIEW_FIELD_NUMBER = 6; private int requestStatsView_ = 0; /** + * + * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; + * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override public int getRequestStatsViewValue() { + @java.lang.Override + public int getRequestStatsViewValue() { return requestStatsView_; } /** + * + * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; + * * @return The requestStatsView. */ - @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null + ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED + : result; } public static final int REVERSED_FIELD_NUMBER = 7; private boolean reversed_ = false; /** + * + * *
    * Experimental API - Please note that this API is currently experimental
    * and can change in the future.
@@ -435,6 +512,7 @@ public long getRowsLimit() {
    * 
* * bool reversed = 7; + * * @return The reversed. */ @java.lang.Override @@ -443,6 +521,7 @@ public boolean getReversed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -454,8 +533,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_); } @@ -471,7 +549,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_); } if (reversed_ != false) { @@ -490,27 +570,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (rows_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRows()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows()); } if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter()); } if (rowsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, rowsLimit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowsLimit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appProfileId_); } - if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, requestStatsView_); + if (requestStatsView_ + != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, requestStatsView_); } if (reversed_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, reversed_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, reversed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -520,32 +597,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.ReadRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.ReadRowsRequest other = (com.google.bigtable.v2.ReadRowsRequest) obj; - if (!getTableName() - .equals(other.getTableName())) return false; - if (!getAppProfileId() - .equals(other.getAppProfileId())) return false; + if (!getTableName().equals(other.getTableName())) return false; + if (!getAppProfileId().equals(other.getAppProfileId())) return false; if (hasRows() != other.hasRows()) return false; if (hasRows()) { - if (!getRows() - .equals(other.getRows())) return false; + if (!getRows().equals(other.getRows())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter() - .equals(other.getFilter())) return false; + if (!getFilter().equals(other.getFilter())) return false; } - if (getRowsLimit() - != other.getRowsLimit()) return false; + if (getRowsLimit() != other.getRowsLimit()) return false; if (requestStatsView_ != other.requestStatsView_) return false; - if (getReversed() - != other.getReversed()) return false; + if (getReversed() != other.getReversed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -570,144 +641,146 @@ public int hashCode() { hash = (53 * hash) + getFilter().hashCode(); } hash = (37 * hash) + ROWS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRowsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsLimit()); hash = (37 * hash) + REQUEST_STATS_VIEW_FIELD_NUMBER; hash = (53 * hash) + requestStatsView_; hash = (37 * hash) + REVERSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getReversed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReversed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.v2.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsRequest) com.google.bigtable.v2.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, + com.google.bigtable.v2.ReadRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,9 +804,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 @@ -752,8 +825,11 @@ public com.google.bigtable.v2.ReadRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest buildPartial() { - com.google.bigtable.v2.ReadRowsRequest result = new com.google.bigtable.v2.ReadRowsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.ReadRowsRequest result = + new com.google.bigtable.v2.ReadRowsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -767,14 +843,10 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { result.appProfileId_ = appProfileId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.rows_ = rowsBuilder_ == null - ? rows_ - : rowsBuilder_.build(); + result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.filter_ = filterBuilder_ == null - ? filter_ - : filterBuilder_.build(); + result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.rowsLimit_ = rowsLimit_; @@ -791,38 +863,39 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsRequest) { - return mergeFrom((com.google.bigtable.v2.ReadRowsRequest)other); + return mergeFrom((com.google.bigtable.v2.ReadRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -882,51 +955,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRowsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - input.readMessage( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 32: { - rowsLimit_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 32 - case 42: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 48: { - requestStatsView_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - reversed_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 32: + { + rowsLimit_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 42: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: + { + requestStatsView_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + reversed_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -936,24 +1013,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object tableName_ = ""; /** + * + * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -962,22 +1044,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 { @@ -985,32 +1070,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1020,19 +1116,25 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1042,19 +1144,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 = 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; @@ -1063,21 +1167,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 = 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 { @@ -1085,30 +1190,37 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1118,18 +1230,22 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1139,26 +1255,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; + * * @return The rows. */ public com.google.bigtable.v2.RowSet getRows() { @@ -1169,6 +1294,8 @@ public com.google.bigtable.v2.RowSet getRows() { } } /** + * + * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1190,6 +1317,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.
@@ -1197,8 +1326,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();
       } else {
@@ -1209,6 +1337,8 @@ public Builder setRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1218,9 +1348,9 @@ public Builder setRows(
      */
     public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       if (rowsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          rows_ != null &&
-          rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && rows_ != null
+            && rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
           getRowsBuilder().mergeFrom(value);
         } else {
           rows_ = value;
@@ -1233,6 +1363,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.
@@ -1251,6 +1383,8 @@ public Builder clearRows() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1264,6 +1398,8 @@ public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() {
       return getRowsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1275,11 +1411,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.
@@ -1288,14 +1425,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_;
@@ -1303,26 +1443,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 ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; + * * @return The filter. */ public com.google.bigtable.v2.RowFilter getFilter() { @@ -1333,6 +1482,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.
@@ -1354,6 +1505,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.
@@ -1361,8 +1514,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();
       } else {
@@ -1373,6 +1525,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.
@@ -1382,9 +1536,9 @@ public Builder setFilter(
      */
     public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       if (filterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          filter_ != null &&
-          filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && filter_ != null
+            && filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getFilterBuilder().mergeFrom(value);
         } else {
           filter_ = value;
@@ -1397,6 +1551,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.
@@ -1415,6 +1571,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.
@@ -1428,6 +1586,8 @@ public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1439,11 +1599,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.
@@ -1452,27 +1613,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 @@ -1480,12 +1647,15 @@ 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. */ @@ -1497,12 +1667,15 @@ public Builder setRowsLimit(long value) { return this; } /** + * + * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; + * * @return This builder for chaining. */ public Builder clearRowsLimit() { @@ -1514,22 +1687,29 @@ 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. */ @@ -1540,28 +1720,38 @@ public Builder setRequestStatsViewValue(int value) { return this; } /** + * + * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; + * * @return The requestStatsView. */ @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null + ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED + : result; } /** + * + * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; + * * @param value The requestStatsView to set. * @return This builder for chaining. */ - public Builder setRequestStatsView(com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { + public Builder setRequestStatsView( + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { if (value == null) { throw new NullPointerException(); } @@ -1571,11 +1761,14 @@ public Builder setRequestStatsView(com.google.bigtable.v2.ReadRowsRequest.Reques 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() { @@ -1585,8 +1778,10 @@ public Builder clearRequestStatsView() { return this; } - private boolean reversed_ ; + private boolean reversed_; /** + * + * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1599,6 +1794,7 @@ public Builder clearRequestStatsView() {
      * 
* * bool reversed = 7; + * * @return The reversed. */ @java.lang.Override @@ -1606,6 +1802,8 @@ public boolean getReversed() { return reversed_; } /** + * + * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1618,6 +1816,7 @@ public boolean getReversed() {
      * 
* * bool reversed = 7; + * * @param value The reversed to set. * @return This builder for chaining. */ @@ -1629,6 +1828,8 @@ public Builder setReversed(boolean value) { return this; } /** + * + * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1641,6 +1842,7 @@ public Builder setReversed(boolean value) {
      * 
* * bool reversed = 7; + * * @return This builder for chaining. */ public Builder clearReversed() { @@ -1649,9 +1851,9 @@ public Builder clearReversed() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1661,12 +1863,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(); } @@ -1675,27 +1877,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; @@ -1710,6 +1912,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 77% 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 c29b37571c..f3f1a10e95 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadRowsRequestOrBuilder extends +public interface ReadRowsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ java.lang.String getTableName(); /** + * + * *
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for tableName. */ - com.google.protobuf.ByteString - getTableNameBytes(); + com.google.protobuf.ByteString getTableNameBytes(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; + * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; + * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString - getAppProfileIdBytes(); + com.google.protobuf.ByteString getAppProfileIdBytes(); /** + * + * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; + * * @return Whether the rows field is set. */ boolean hasRows(); /** + * + * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; + * * @return The rows. */ com.google.bigtable.v2.RowSet getRows(); /** + * + * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -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,36 +160,47 @@ 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(); /** + * + * *
    * Experimental API - Please note that this API is currently experimental
    * and can change in the future.
@@ -156,6 +213,7 @@ public interface ReadRowsRequestOrBuilder extends
    * 
* * bool reversed = 7; + * * @return The reversed. */ boolean getReversed(); 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 03b02ba57a..b9c12ee4b0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,29 +44,33 @@ private ReadRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, + com.google.bigtable.v2.ReadRowsResponse.Builder.class); } - public interface CellChunkOrBuilder extends + public interface CellChunkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse.CellChunk) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -57,11 +79,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
@@ -72,10 +97,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
@@ -86,10 +114,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
@@ -104,6 +135,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
@@ -113,10 +146,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
@@ -126,10 +162,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
@@ -143,6 +182,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
@@ -155,11 +196,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
@@ -167,11 +211,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
@@ -179,10 +225,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
@@ -190,11 +239,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
@@ -202,13 +254,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
@@ -218,11 +272,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
@@ -231,48 +288,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(); @@ -280,6 +350,8 @@ public interface CellChunkOrBuilder extends com.google.bigtable.v2.ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase(); } /** + * + * *
    * Specifies a piece of a row's contents returned as part of the read
    * response stream.
@@ -287,52 +359,57 @@ 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.emptyList();
+      labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
       value_ = com.google.protobuf.ByteString.EMPTY;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CellChunk();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto
+          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
+              com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
     }
 
     private int rowStatusCase_ = 0;
+
     @SuppressWarnings("serial")
     private java.lang.Object rowStatus_;
+
     public enum RowStatusCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       RESET_ROW(8),
       COMMIT_ROW(9),
       ROWSTATUS_NOT_SET(0);
       private final int value;
+
       private RowStatusCase(int value) {
         this.value = value;
       }
@@ -348,26 +425,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_ = 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
@@ -376,6 +458,7 @@ public int getNumber() {
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -386,6 +469,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
@@ -396,6 +481,7 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * .google.protobuf.StringValue family_name = 2; + * * @return Whether the familyName field is set. */ @java.lang.Override @@ -403,6 +489,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
@@ -413,13 +501,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
@@ -433,12 +526,16 @@ public com.google.protobuf.StringValue getFamilyName() {
      */
     @java.lang.Override
     public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
-      return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
+      return familyName_ == null
+          ? com.google.protobuf.StringValue.getDefaultInstance()
+          : familyName_;
     }
 
     public static final int QUALIFIER_FIELD_NUMBER = 3;
     private com.google.protobuf.BytesValue qualifier_;
     /**
+     *
+     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -448,6 +545,7 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; + * * @return Whether the qualifier field is set. */ @java.lang.Override @@ -455,6 +553,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
@@ -464,6 +564,7 @@ public boolean hasQualifier() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; + * * @return The qualifier. */ @java.lang.Override @@ -471,6 +572,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
@@ -489,6 +592,8 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
     public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 4;
     private long timestampMicros_ = 0L;
     /**
+     *
+     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -501,6 +606,7 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
      * 
* * int64 timestamp_micros = 4; + * * @return The timestampMicros. */ @java.lang.Override @@ -509,10 +615,13 @@ public long getTimestampMicros() { } public static final int LABELS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -520,13 +629,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
@@ -534,12 +645,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
@@ -547,6 +661,7 @@ public int getLabelsCount() {
      * 
* * repeated string labels = 5; + * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -554,6 +669,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
@@ -561,17 +678,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_ = 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
@@ -581,6 +700,7 @@ public java.lang.String getLabels(int index) {
      * 
* * bytes value = 6; + * * @return The value. */ @java.lang.Override @@ -591,6 +711,8 @@ public com.google.protobuf.ByteString getValue() { public static final int VALUE_SIZE_FIELD_NUMBER = 7; private int valueSize_ = 0; /** + * + * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -599,6 +721,7 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * int32 value_size = 7; + * * @return The valueSize. */ @java.lang.Override @@ -608,12 +731,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 @@ -621,12 +747,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 @@ -639,12 +768,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 @@ -652,12 +784,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 @@ -669,6 +804,7 @@ public boolean getCommitRow() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -680,8 +816,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_); } @@ -704,12 +839,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); } @@ -721,20 +854,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; @@ -745,22 +874,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; @@ -770,42 +897,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: @@ -832,8 +951,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(); @@ -845,13 +963,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: @@ -862,89 +978,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 @@ -954,6 +1074,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies a piece of a row's contents returned as part of the read
      * response stream.
@@ -961,33 +1083,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();
@@ -1004,8 +1126,7 @@ public Builder clear() {
           qualifierBuilder_ = null;
         }
         timestampMicros_ = 0L;
-        labels_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
         value_ = com.google.protobuf.ByteString.EMPTY;
         valueSize_ = 0;
         rowStatusCase_ = 0;
@@ -1014,9 +1135,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
@@ -1035,8 +1156,11 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
-        com.google.bigtable.v2.ReadRowsResponse.CellChunk result = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.v2.ReadRowsResponse.CellChunk result =
+            new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -1048,14 +1172,11 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse.CellChunk res
           result.rowKey_ = rowKey_;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.familyName_ = familyNameBuilder_ == null
-              ? familyName_
-              : familyNameBuilder_.build();
+          result.familyName_ =
+              familyNameBuilder_ == null ? familyName_ : familyNameBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.qualifier_ = qualifierBuilder_ == null
-              ? qualifier_
-              : qualifierBuilder_.build();
+          result.qualifier_ = qualifierBuilder_ == null ? qualifier_ : qualifierBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
           result.timestampMicros_ = timestampMicros_;
@@ -1081,38 +1202,41 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadRowsResponse.CellChun
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk) {
-          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk)other);
+          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1120,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());
         }
@@ -1150,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();
@@ -1188,62 +1316,68 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                rowKey_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getFamilyNameFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getQualifierFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 32: {
-                timestampMicros_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-              case 42: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLabelsIsMutable();
-                labels_.add(s);
-                break;
-              } // case 42
-              case 50: {
-                value_ = input.readBytes();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-              case 56: {
-                valueSize_ = input.readInt32();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 56
-              case 64: {
-                rowStatus_ = input.readBool();
-                rowStatusCase_ = 8;
-                break;
-              } // case 64
-              case 72: {
-                rowStatus_ = input.readBool();
-                rowStatusCase_ = 9;
-                break;
-              } // case 72
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  rowKey_ = input.readBytes();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(getFamilyNameFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getQualifierFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 32:
+                {
+                  timestampMicros_ = input.readInt64();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 32
+              case 42:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureLabelsIsMutable();
+                  labels_.add(s);
+                  break;
+                } // case 42
+              case 50:
+                {
+                  value_ = input.readBytes();
+                  bitField0_ |= 0x00000020;
+                  break;
+                } // case 50
+              case 56:
+                {
+                  valueSize_ = input.readInt32();
+                  bitField0_ |= 0x00000040;
+                  break;
+                } // case 56
+              case 64:
+                {
+                  rowStatus_ = input.readBool();
+                  rowStatusCase_ = 8;
+                  break;
+                } // case 64
+              case 72:
+                {
+                  rowStatus_ = input.readBool();
+                  rowStatusCase_ = 9;
+                  break;
+                } // case 72
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1253,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() {
@@ -1272,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
@@ -1280,6 +1416,7 @@ public Builder clearRowStatus() {
        * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -1287,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
@@ -1295,17 +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(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1314,6 +1458,7 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 1; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1325,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
@@ -1337,12 +1487,15 @@ public Builder clearRowKey() {
        * 
* * .google.protobuf.StringValue family_name = 2; + * * @return Whether the familyName field is set. */ public boolean hasFamilyName() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1353,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
@@ -1388,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
@@ -1399,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();
         } else {
@@ -1411,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
@@ -1424,9 +1585,9 @@ public Builder setFamilyName(
        */
       public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         if (familyNameBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            familyName_ != null &&
-            familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && familyName_ != null
+              && familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
             getFamilyNameBuilder().mergeFrom(value);
           } else {
             familyName_ = value;
@@ -1439,6 +1600,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
@@ -1461,6 +1624,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
@@ -1478,6 +1643,8 @@ public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() {
         return getFamilyNameFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1493,11 +1660,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
@@ -1510,14 +1680,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_;
@@ -1525,8 +1698,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
@@ -1536,12 +1714,15 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; + * * @return Whether the qualifier field is set. */ public boolean hasQualifier() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1551,16 +1732,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
@@ -1585,6 +1771,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
@@ -1595,8 +1783,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();
         } else {
@@ -1607,6 +1794,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
@@ -1619,9 +1808,9 @@ public Builder setQualifier(
        */
       public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         if (qualifierBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            qualifier_ != null &&
-            qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && qualifier_ != null
+              && qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
             getQualifierBuilder().mergeFrom(value);
           } else {
             qualifier_ = value;
@@ -1634,6 +1823,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
@@ -1655,6 +1846,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
@@ -1671,6 +1864,8 @@ public com.google.protobuf.BytesValue.Builder getQualifierBuilder() {
         return getQualifierFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1685,11 +1880,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
@@ -1701,21 +1899,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
@@ -1728,6 +1931,7 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * 
* * int64 timestamp_micros = 4; + * * @return The timestampMicros. */ @java.lang.Override @@ -1735,6 +1939,8 @@ public long getTimestampMicros() { return timestampMicros_; } /** + * + * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1747,6 +1953,7 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 4; + * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -1758,6 +1965,8 @@ public Builder setTimestampMicros(long value) { return this; } /** + * + * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1770,6 +1979,7 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 4; + * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -1781,6 +1991,7 @@ public Builder clearTimestampMicros() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -1788,6 +1999,8 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000010; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1795,14 +2008,16 @@ private void ensureLabelsIsMutable() {
        * 
* * repeated string labels = 5; + * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList - getLabelsList() { + public com.google.protobuf.ProtocolStringList getLabelsList() { labels_.makeImmutable(); return labels_; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1810,12 +2025,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
@@ -1823,6 +2041,7 @@ public int getLabelsCount() {
        * 
* * repeated string labels = 5; + * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -1830,6 +2049,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
@@ -1837,14 +2058,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
@@ -1852,13 +2075,15 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setLabels(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000010; @@ -1866,6 +2091,8 @@ public Builder setLabels( return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1873,12 +2100,14 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder addLabels(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000010; @@ -1886,6 +2115,8 @@ public Builder addLabels( return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1893,19 +2124,20 @@ 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_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1913,16 +2145,19 @@ public Builder addAllLabels(
        * 
* * repeated string labels = 5; + * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1930,12 +2165,14 @@ public Builder clearLabels() {
        * 
* * repeated string labels = 5; + * * @param value The bytes of the labels to add. * @return This builder for chaining. */ - public Builder addLabelsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addLabelsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -1946,6 +2183,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
@@ -1955,6 +2194,7 @@ public Builder addLabelsBytes(
        * 
* * bytes value = 6; + * * @return The value. */ @java.lang.Override @@ -1962,6 +2202,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
@@ -1971,17 +2213,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(); } + if (value == null) { + throw new NullPointerException(); + } value_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -1991,6 +2238,7 @@ public Builder setValue(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -2000,8 +2248,10 @@ public Builder clearValue() { return this; } - private int valueSize_ ; + private int valueSize_; /** + * + * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2010,6 +2260,7 @@ public Builder clearValue() {
        * 
* * int32 value_size = 7; + * * @return The valueSize. */ @java.lang.Override @@ -2017,6 +2268,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
@@ -2025,6 +2278,7 @@ public int getValueSize() {
        * 
* * int32 value_size = 7; + * * @param value The valueSize to set. * @return This builder for chaining. */ @@ -2036,6 +2290,8 @@ public Builder setValueSize(int value) { return this; } /** + * + * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2044,6 +2300,7 @@ public Builder setValueSize(int value) {
        * 
* * int32 value_size = 7; + * * @return This builder for chaining. */ public Builder clearValueSize() { @@ -2054,24 +2311,30 @@ public Builder clearValueSize() { } /** + * + * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; + * * @return Whether the resetRow field is set. */ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** + * + * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; + * * @return The resetRow. */ public boolean getResetRow() { @@ -2081,12 +2344,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. */ @@ -2098,12 +2364,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() { @@ -2116,24 +2385,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() { @@ -2143,12 +2418,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. */ @@ -2160,12 +2438,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() { @@ -2176,6 +2457,7 @@ public Builder clearCommitRow() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2188,12 +2470,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(); } @@ -2202,27 +2484,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; @@ -2237,13 +2520,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CHUNKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List chunks_; /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2255,6 +2540,8 @@ public java.util.List getChun return chunks_; } /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2262,11 +2549,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.
    * 
@@ -2278,6 +2567,8 @@ public int getChunksCount() { return chunks_.size(); } /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2289,6 +2580,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.
    * 
@@ -2296,14 +2589,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_ = 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
@@ -2315,6 +2609,7 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
    * 
* * bytes last_scanned_row_key = 2; + * * @return The lastScannedRowKey. */ @java.lang.Override @@ -2325,6 +2620,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
@@ -2349,6 +2646,7 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; + * * @return Whether the requestStats field is set. */ @java.lang.Override @@ -2356,6 +2654,8 @@ public boolean hasRequestStats() { return requestStats_ != null; } /** + * + * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2380,13 +2680,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
@@ -2414,10 +2719,13 @@ public com.google.bigtable.v2.RequestStats getRequestStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
-    return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
+    return requestStats_ == null
+        ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
+        : requestStats_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2429,8 +2737,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));
     }
@@ -2450,16 +2757,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;
@@ -2469,21 +2773,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;
@@ -2511,132 +2812,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(); @@ -2658,9 +2963,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 @@ -2679,9 +2984,12 @@ public com.google.bigtable.v2.ReadRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsResponse buildPartial() { - com.google.bigtable.v2.ReadRowsResponse result = new com.google.bigtable.v2.ReadRowsResponse(this); + com.google.bigtable.v2.ReadRowsResponse result = + new com.google.bigtable.v2.ReadRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2704,9 +3012,8 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { result.lastScannedRowKey_ = lastScannedRowKey_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.requestStats_ = requestStatsBuilder_ == null - ? requestStats_ - : requestStatsBuilder_.build(); + result.requestStats_ = + requestStatsBuilder_ == null ? requestStats_ : requestStatsBuilder_.build(); } } @@ -2714,38 +3021,39 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsResponse) { - return mergeFrom((com.google.bigtable.v2.ReadRowsResponse)other); + return mergeFrom((com.google.bigtable.v2.ReadRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -2772,9 +3080,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_); } @@ -2812,37 +3121,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(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getRequestStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.bigtable.v2.ReadRowsResponse.CellChunk m = + input.readMessage( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), + extensionRegistry); + if (chunksBuilder_ == null) { + ensureChunksIsMutable(); + chunks_.add(m); + } else { + chunksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + lastScannedRowKey_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getRequestStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2852,21 +3163,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.
      * 
@@ -2881,6 +3200,8 @@ public java.util.List getChun } } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2895,6 +3216,8 @@ public int getChunksCount() { } } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2909,14 +3232,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(); @@ -2930,6 +3254,8 @@ public Builder setChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2948,6 +3274,8 @@ public Builder setChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2968,14 +3296,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(); @@ -2989,6 +3318,8 @@ public Builder addChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3007,6 +3338,8 @@ public Builder addChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3025,6 +3358,8 @@ public Builder addChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3035,8 +3370,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); @@ -3044,6 +3378,8 @@ public Builder addAllChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3061,6 +3397,8 @@ public Builder clearChunks() { return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3078,17 +3416,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.
      * 
@@ -3098,19 +3439,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 { @@ -3118,6 +3462,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui } } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3125,49 +3471,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
@@ -3179,6 +3535,7 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
      * 
* * bytes last_scanned_row_key = 2; + * * @return The lastScannedRowKey. */ @java.lang.Override @@ -3186,6 +3543,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
@@ -3197,17 +3556,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(); } + if (value == null) { + throw new NullPointerException(); + } lastScannedRowKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3219,6 +3583,7 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes last_scanned_row_key = 2; + * * @return This builder for chaining. */ public Builder clearLastScannedRowKey() { @@ -3230,8 +3595,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
@@ -3256,12 +3626,15 @@ public Builder clearLastScannedRowKey() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; + * * @return Whether the requestStats field is set. */ public boolean hasRequestStats() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3286,16 +3659,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
@@ -3335,6 +3713,8 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3360,8 +3740,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();
       } else {
@@ -3372,6 +3751,8 @@ public Builder setRequestStats(
       return this;
     }
     /**
+     *
+     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3399,9 +3780,9 @@ public Builder setRequestStats(
      */
     public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       if (requestStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          requestStats_ != null &&
-          requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && requestStats_ != null
+            && requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
           getRequestStatsBuilder().mergeFrom(value);
         } else {
           requestStats_ = value;
@@ -3414,6 +3795,8 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3450,6 +3833,8 @@ public Builder clearRequestStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3481,6 +3866,8 @@ public com.google.bigtable.v2.RequestStats.Builder getRequestStatsBuilder() {
       return getRequestStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3510,11 +3897,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
@@ -3541,21 +3931,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);
     }
 
@@ -3565,12 +3958,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();
   }
@@ -3579,27 +3972,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;
@@ -3614,6 +4007,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 fb74efac4a..08affa1897 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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
@@ -92,10 +121,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
@@ -120,10 +152,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
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 77%
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 a8ecae3e83..7e454117c4 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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,41 +29,44 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
  */
-public final class RequestLatencyStats extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestLatencyStats extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestLatencyStats)
     RequestLatencyStatsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestLatencyStats.newBuilder() to construct.
   private RequestLatencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RequestLatencyStats() {
-  }
+
+  private RequestLatencyStats() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestLatencyStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto
+        .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto
+        .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+            com.google.bigtable.v2.RequestLatencyStats.class,
+            com.google.bigtable.v2.RequestLatencyStats.Builder.class);
   }
 
   public static final int FRONTEND_SERVER_LATENCY_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration frontendServerLatency_;
   /**
+   *
+   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -68,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; + * * @return Whether the frontendServerLatency field is set. */ @java.lang.Override @@ -75,6 +96,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
@@ -96,13 +119,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
@@ -127,10 +155,13 @@ public com.google.protobuf.Duration getFrontendServerLatency() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder() {
-    return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
+    return frontendServerLatency_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : frontendServerLatency_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -142,8 +173,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());
     }
@@ -157,8 +187,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;
@@ -168,17 +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.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;
@@ -200,99 +230,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
@@ -301,33 +336,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();
@@ -341,9 +375,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
@@ -362,8 +396,11 @@ public com.google.bigtable.v2.RequestLatencyStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
-      com.google.bigtable.v2.RequestLatencyStats result = new com.google.bigtable.v2.RequestLatencyStats(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.RequestLatencyStats result =
+          new com.google.bigtable.v2.RequestLatencyStats(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -371,9 +408,10 @@ public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.frontendServerLatency_ = frontendServerLatencyBuilder_ == null
-            ? frontendServerLatency_
-            : frontendServerLatencyBuilder_.build();
+        result.frontendServerLatency_ =
+            frontendServerLatencyBuilder_ == null
+                ? frontendServerLatency_
+                : frontendServerLatencyBuilder_.build();
       }
     }
 
@@ -381,38 +419,39 @@ private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestLatencyStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats)other);
+        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -450,19 +489,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getFrontendServerLatencyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getFrontendServerLatencyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,12 +512,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.Duration frontendServerLatency_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> frontendServerLatencyBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        frontendServerLatencyBuilder_;
     /**
+     *
+     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -499,12 +545,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; + * * @return Whether the frontendServerLatency field is set. */ public boolean hasFrontendServerLatency() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -526,16 +575,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
@@ -572,6 +626,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
@@ -594,8 +650,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();
       } else {
@@ -606,6 +661,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
@@ -630,9 +687,9 @@ public Builder setFrontendServerLatency(
      */
     public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       if (frontendServerLatencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          frontendServerLatency_ != null &&
-          frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && frontendServerLatency_ != null
+            && frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getFrontendServerLatencyBuilder().mergeFrom(value);
         } else {
           frontendServerLatency_ = value;
@@ -645,6 +702,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
@@ -678,6 +737,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
@@ -706,6 +767,8 @@ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() {
       return getFrontendServerLatencyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -732,11 +795,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
@@ -760,21 +826,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);
     }
 
@@ -784,12 +853,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();
   }
@@ -798,27 +867,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;
@@ -833,6 +902,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 840a44c408..cb9fb183a1 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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
@@ -29,10 +47,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
@@ -54,10 +75,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 8faacef493..fe37d4ab68 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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,47 +30,52 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestStats}
  */
-public final class RequestStats extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RequestStats extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestStats)
     RequestStatsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RequestStats.newBuilder() to construct.
   private RequestStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RequestStats() {
-  }
+
+  private RequestStats() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RequestStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto
+        .internal_static_google_bigtable_v2_RequestStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto
+        .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
+            com.google.bigtable.v2.RequestStats.class,
+            com.google.bigtable.v2.RequestStats.Builder.class);
   }
 
   private int statsViewCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object statsView_;
+
   public enum StatsViewCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FULL_READ_STATS_VIEW(1),
     STATSVIEW_NOT_SET(0);
     private final int value;
+
     private StatsViewCase(int value) {
       this.value = value;
     }
@@ -69,30 +91,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 @@ -100,22 +127,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.
@@ -126,12 +158,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;
@@ -143,8 +176,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_);
     }
@@ -158,8 +190,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;
@@ -169,7 +202,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);
@@ -179,8 +212,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:
@@ -209,99 +241,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.
@@ -311,33 +347,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();
@@ -351,9 +386,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
@@ -373,7 +408,9 @@ public com.google.bigtable.v2.RequestStats build() {
     @java.lang.Override
     public com.google.bigtable.v2.RequestStats buildPartial() {
       com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -386,8 +423,7 @@ private void buildPartial0(com.google.bigtable.v2.RequestStats result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
       result.statsViewCase_ = statsViewCase_;
       result.statsView_ = this.statsView_;
-      if (statsViewCase_ == 1 &&
-          fullReadStatsViewBuilder_ != null) {
+      if (statsViewCase_ == 1 && fullReadStatsViewBuilder_ != null) {
         result.statsView_ = fullReadStatsViewBuilder_.build();
       }
     }
@@ -396,38 +432,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestStats)other);
+        return mergeFrom((com.google.bigtable.v2.RequestStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -437,13 +474,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();
@@ -471,19 +510,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) {
@@ -493,12 +533,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() {
@@ -511,14 +551,20 @@ public Builder clearStatsView() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> fullReadStatsViewBuilder_;
+            com.google.bigtable.v2.FullReadStatsView,
+            com.google.bigtable.v2.FullReadStatsView.Builder,
+            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
+        fullReadStatsViewBuilder_;
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -526,12 +572,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 @@ -549,6 +598,8 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { } } /** + * + * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -570,6 +621,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.
@@ -589,6 +642,8 @@ public Builder setFullReadStatsView(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -598,10 +653,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;
         }
@@ -617,6 +675,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.
@@ -641,6 +701,8 @@ public Builder clearFullReadStatsView() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -652,6 +714,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.
@@ -671,6 +735,8 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       }
     }
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -679,14 +745,19 @@ 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());
@@ -696,9 +767,9 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       onChanged();
       return fullReadStatsViewBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -708,12 +779,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();
   }
@@ -722,27 +793,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;
@@ -757,6 +828,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 71f42613c9..84b93a904a 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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..c569d3c3bf
--- /dev/null
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
@@ -0,0 +1,118 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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 70%
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 34396853ba..6482628853 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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,34 +47,39 @@ private ResponseParams() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResponseParams();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.ResponseParamsProto
+        .internal_static_google_bigtable_v2_ResponseParams_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+    return com.google.bigtable.v2.ResponseParamsProto
+        .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
+            com.google.bigtable.v2.ResponseParams.class,
+            com.google.bigtable.v2.ResponseParams.Builder.class);
   }
 
   private int bitField0_;
   public static final int ZONE_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object zoneId_ = "";
   /**
+   *
+   *
    * 
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; + * * @return Whether the zoneId field is set. */ @java.lang.Override @@ -64,11 +87,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 @@ -77,29 +103,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 { @@ -108,15 +134,19 @@ public java.lang.String getZoneId() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; + * * @return Whether the clusterId field is set. */ @java.lang.Override @@ -124,12 +154,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 @@ -138,30 +171,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 { @@ -170,6 +203,7 @@ public java.lang.String getClusterId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,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 (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -212,7 +245,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); @@ -221,13 +254,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; @@ -253,99 +284,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
@@ -355,33 +390,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();
@@ -392,9 +426,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
@@ -413,8 +447,11 @@ public com.google.bigtable.v2.ResponseParams build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ResponseParams buildPartial() {
-      com.google.bigtable.v2.ResponseParams result = new com.google.bigtable.v2.ResponseParams(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.ResponseParams result =
+          new com.google.bigtable.v2.ResponseParams(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -437,38 +474,39 @@ private void buildPartial0(com.google.bigtable.v2.ResponseParams result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ResponseParams) {
-        return mergeFrom((com.google.bigtable.v2.ResponseParams)other);
+        return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -513,22 +551,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) {
@@ -538,33 +579,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; @@ -573,20 +620,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 { @@ -594,28 +642,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -625,17 +680,21 @@ public Builder clearZoneId() { return this; } /** + * + * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; + * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -645,31 +704,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; @@ -678,21 +742,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 { @@ -700,30 +765,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -733,27 +805,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +839,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(); } @@ -777,27 +853,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; @@ -812,6 +888,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..e0923c48ba 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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..5734d76130 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java @@ -0,0 +1,67 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/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 75% 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 2ccd8c0725..0ec3d8749e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,20 +45,19 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Row();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_Row_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
   }
@@ -48,6 +65,8 @@ protected java.lang.Object newInstance(
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The unique key which identifies this row within its table. This is the same
    * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -55,6 +74,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -63,9 +83,12 @@ public com.google.protobuf.ByteString getKey() { } public static final int FAMILIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List families_; /** + * + * *
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -78,6 +101,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.
@@ -86,11 +111,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.
@@ -103,6 +130,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.
@@ -115,6 +144,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.
@@ -123,12 +154,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;
@@ -140,8 +171,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_);
     }
@@ -158,12 +188,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;
@@ -173,17 +201,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;
   }
@@ -206,99 +232,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.
@@ -306,33 +336,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();
@@ -349,8 +376,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;
     }
 
@@ -372,7 +398,9 @@ public com.google.bigtable.v2.Row build() {
     public com.google.bigtable.v2.Row buildPartial() {
       com.google.bigtable.v2.Row result = new com.google.bigtable.v2.Row(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -400,38 +428,39 @@ private void buildPartial0(com.google.bigtable.v2.Row result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Row) {
-        return mergeFrom((com.google.bigtable.v2.Row)other);
+        return mergeFrom((com.google.bigtable.v2.Row) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,9 +490,10 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
             familiesBuilder_ = null;
             families_ = other.families_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            familiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFamiliesFieldBuilder() : null;
+            familiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFamiliesFieldBuilder()
+                    : null;
           } else {
             familiesBuilder_.addAllMessages(other.families_);
           }
@@ -495,30 +525,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              key_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.bigtable.v2.Family m =
-                  input.readMessage(
-                      com.google.bigtable.v2.Family.parser(),
-                      extensionRegistry);
-              if (familiesBuilder_ == null) {
-                ensureFamiliesIsMutable();
-                families_.add(m);
-              } else {
-                familiesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                key_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.bigtable.v2.Family m =
+                    input.readMessage(com.google.bigtable.v2.Family.parser(), extensionRegistry);
+                if (familiesBuilder_ == null) {
+                  ensureFamiliesIsMutable();
+                  families_.add(m);
+                } else {
+                  familiesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -528,10 +559,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.
@@ -539,6 +573,7 @@ public Builder mergeFrom(
      * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -546,6 +581,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.
@@ -553,17 +590,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(); } + if (value == null) { + throw new NullPointerException(); + } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -571,6 +613,7 @@ public Builder setKey(com.google.protobuf.ByteString value) {
      * 
* * bytes key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { @@ -581,18 +624,24 @@ public Builder clearKey() { } private java.util.List families_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { families_ = new java.util.ArrayList(families_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> familiesBuilder_; + com.google.bigtable.v2.Family, + com.google.bigtable.v2.Family.Builder, + com.google.bigtable.v2.FamilyOrBuilder> + familiesBuilder_; /** + * + * *
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -608,6 +657,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.
@@ -623,6 +674,8 @@ public int getFamiliesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -638,6 +691,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.
@@ -645,8 +700,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();
@@ -660,6 +714,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.
@@ -667,8 +723,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());
@@ -679,6 +734,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.
@@ -700,6 +757,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.
@@ -707,8 +766,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();
@@ -722,6 +780,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.
@@ -729,8 +789,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());
@@ -741,6 +800,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.
@@ -748,8 +809,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());
@@ -760,6 +820,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.
@@ -771,8 +833,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);
@@ -780,6 +841,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.
@@ -798,6 +861,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.
@@ -816,6 +881,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.
@@ -823,11 +890,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.
@@ -835,14 +903,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.
@@ -850,8 +920,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 {
@@ -859,6 +929,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.
@@ -867,10 +939,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.
@@ -878,12 +952,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.
@@ -891,27 +966,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_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        familiesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.bigtable.v2.Family,
+                com.google.bigtable.v2.Family.Builder,
+                com.google.bigtable.v2.FamilyOrBuilder>(
+                families_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         families_ = null;
       }
       return familiesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -921,12 +998,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();
   }
@@ -935,27 +1012,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;
@@ -970,6 +1047,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 89a84a97a4..a436c21ea7 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the 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
@@ -42,43 +59,45 @@
  *
  * Protobuf type {@code google.bigtable.v2.RowFilter}
  */
-public final class RowFilter extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RowFilter extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter)
     RowFilterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RowFilter.newBuilder() to construct.
   private RowFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RowFilter() {
-  }
+
+  private RowFilter() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RowFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
   }
 
-  public interface ChainOrBuilder extends
+  public interface ChainOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Chain)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -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,53 +154,59 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, + com.google.bigtable.v2.RowFilter.Chain.Builder.class); } public static final int FILTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List filters_; /** + * + * *
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -189,6 +220,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
@@ -198,11 +231,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
@@ -216,6 +251,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
@@ -229,6 +266,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
@@ -238,12 +277,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;
@@ -255,8 +294,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));
       }
@@ -270,8 +308,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;
@@ -281,15 +318,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;
     }
@@ -310,90 +346,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
@@ -403,39 +443,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(); @@ -451,9 +493,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 @@ -472,9 +514,12 @@ public com.google.bigtable.v2.RowFilter.Chain build() { @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain buildPartial() { - com.google.bigtable.v2.RowFilter.Chain result = new com.google.bigtable.v2.RowFilter.Chain(this); + com.google.bigtable.v2.RowFilter.Chain result = + new com.google.bigtable.v2.RowFilter.Chain(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -499,38 +544,41 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Chain result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowFilter.Chain) { - return mergeFrom((com.google.bigtable.v2.RowFilter.Chain)other); + return mergeFrom((com.google.bigtable.v2.RowFilter.Chain) other); } else { super.mergeFrom(other); return this; @@ -557,9 +605,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_); } @@ -591,25 +640,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) { @@ -619,21 +669,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
@@ -650,6 +707,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
@@ -666,6 +725,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
@@ -682,6 +743,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
@@ -690,8 +753,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();
@@ -705,6 +767,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
@@ -725,6 +789,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
@@ -747,6 +813,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
@@ -755,8 +823,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();
@@ -770,6 +837,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
@@ -778,8 +847,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());
@@ -790,6 +858,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
@@ -810,6 +880,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
@@ -822,8 +894,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);
@@ -831,6 +902,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
@@ -850,6 +923,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
@@ -869,6 +944,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
@@ -877,11 +954,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
@@ -890,14 +968,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
@@ -906,8 +986,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 {
@@ -915,6 +995,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
@@ -924,10 +1006,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
@@ -936,12 +1020,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
@@ -950,24 +1035,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) {
@@ -980,12 +1068,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();
     }
@@ -994,27 +1082,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;
@@ -1029,14 +1118,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.
@@ -1067,9 +1158,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.
@@ -1102,6 +1194,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.
@@ -1134,6 +1228,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.
@@ -1164,9 +1260,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.
@@ -1197,10 +1294,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.
@@ -1208,43 +1306,48 @@ 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();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+              com.google.bigtable.v2.RowFilter.Interleave.class,
+              com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
     }
 
     public static final int FILTERS_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private java.util.List filters_;
     /**
+     *
+     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1280,6 +1383,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.
@@ -1311,11 +1416,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.
@@ -1351,6 +1458,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.
@@ -1386,6 +1495,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.
@@ -1417,12 +1528,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;
@@ -1434,8 +1545,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));
       }
@@ -1449,8 +1559,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;
@@ -1460,15 +1569,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;
     }
@@ -1489,90 +1598,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
@@ -1582,6 +1695,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A RowFilter which sends each row to each of several component
      * RowFilters and interleaves the results.
@@ -1589,33 +1704,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();
@@ -1631,9 +1746,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
@@ -1652,9 +1767,12 @@ public com.google.bigtable.v2.RowFilter.Interleave build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Interleave buildPartial() {
-        com.google.bigtable.v2.RowFilter.Interleave result = new com.google.bigtable.v2.RowFilter.Interleave(this);
+        com.google.bigtable.v2.RowFilter.Interleave result =
+            new com.google.bigtable.v2.RowFilter.Interleave(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1679,38 +1797,41 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Interleave result) {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Interleave) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave)other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1737,9 +1858,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_);
             }
@@ -1771,25 +1893,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) {
@@ -1799,21 +1922,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.
@@ -1852,6 +1982,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.
@@ -1890,6 +2022,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.
@@ -1928,6 +2062,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.
@@ -1958,8 +2094,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();
@@ -1973,6 +2108,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.
@@ -2015,6 +2152,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.
@@ -2059,6 +2198,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.
@@ -2089,8 +2230,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();
@@ -2104,6 +2244,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.
@@ -2134,8 +2276,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());
@@ -2146,6 +2287,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.
@@ -2188,6 +2331,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.
@@ -2222,8 +2367,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);
@@ -2231,6 +2375,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.
@@ -2272,6 +2418,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.
@@ -2313,6 +2461,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.
@@ -2343,11 +2493,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.
@@ -2378,14 +2529,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.
@@ -2416,8 +2569,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 {
@@ -2425,6 +2578,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.
@@ -2456,11 +2611,13 @@ 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.
        * If multiple cells are produced with the same column and timestamp,
@@ -2490,12 +2647,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.
@@ -2526,24 +2684,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) {
@@ -2556,12 +2717,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();
     }
@@ -2570,27 +2731,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;
@@ -2605,34 +2767,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.
@@ -2643,26 +2813,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.
@@ -2673,6 +2851,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
@@ -2680,10 +2860,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
@@ -2691,10 +2874,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
@@ -2706,6 +2892,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.
@@ -2718,47 +2906,51 @@ 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();
     }
 
-    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 @@ -2766,19 +2958,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.
@@ -2788,18 +2987,23 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-      return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
+      return predicateFilter_ == null
+          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
+          : predicateFilter_;
     }
 
     public static final int TRUE_FILTER_FIELD_NUMBER = 2;
     private com.google.bigtable.v2.RowFilter trueFilter_;
     /**
+     *
+     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; + * * @return Whether the trueFilter field is set. */ @java.lang.Override @@ -2807,19 +3011,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.
@@ -2829,12 +3040,16 @@ public com.google.bigtable.v2.RowFilter getTrueFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
-      return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
+      return trueFilter_ == null
+          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
+          : trueFilter_;
     }
 
     public static final int FALSE_FILTER_FIELD_NUMBER = 3;
     private com.google.bigtable.v2.RowFilter falseFilter_;
     /**
+     *
+     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2842,6 +3057,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 @@ -2849,6 +3065,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
@@ -2856,13 +3074,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
@@ -2873,10 +3096,13 @@ public com.google.bigtable.v2.RowFilter getFalseFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
-      return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
+      return falseFilter_ == null
+          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
+          : falseFilter_;
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2888,8 +3114,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());
       }
@@ -2909,16 +3134,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;
@@ -2928,27 +3150,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;
@@ -2978,90 +3198,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
@@ -3071,6 +3295,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.
@@ -3083,33 +3309,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();
@@ -3133,9 +3359,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
@@ -3154,8 +3380,11 @@ public com.google.bigtable.v2.RowFilter.Condition build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
-        com.google.bigtable.v2.RowFilter.Condition result = new com.google.bigtable.v2.RowFilter.Condition(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.bigtable.v2.RowFilter.Condition result =
+            new com.google.bigtable.v2.RowFilter.Condition(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -3163,19 +3392,16 @@ public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
       private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.predicateFilter_ = predicateFilterBuilder_ == null
-              ? predicateFilter_
-              : predicateFilterBuilder_.build();
+          result.predicateFilter_ =
+              predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.trueFilter_ = trueFilterBuilder_ == null
-              ? trueFilter_
-              : trueFilterBuilder_.build();
+          result.trueFilter_ =
+              trueFilterBuilder_ == null ? trueFilter_ : trueFilterBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.falseFilter_ = falseFilterBuilder_ == null
-              ? falseFilter_
-              : falseFilterBuilder_.build();
+          result.falseFilter_ =
+              falseFilterBuilder_ == null ? falseFilter_ : falseFilterBuilder_.build();
         }
       }
 
@@ -3183,38 +3409,41 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Condition) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition)other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3258,33 +3487,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getPredicateFilterFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getTrueFilterFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getFalseFilterFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(getTrueFilterFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getFalseFilterFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3294,40 +3522,54 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.bigtable.v2.RowFilter predicateFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_;
+              com.google.bigtable.v2.RowFilter,
+              com.google.bigtable.v2.RowFilter.Builder,
+              com.google.bigtable.v2.RowFilterOrBuilder>
+          predicateFilterBuilder_;
       /**
+       *
+       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; + * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; + * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; + return predicateFilter_ == null + ? com.google.bigtable.v2.RowFilter.getDefaultInstance() + : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** + * + * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3349,6 +3591,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.
@@ -3356,8 +3600,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();
         } else {
@@ -3368,6 +3611,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.
@@ -3377,9 +3622,9 @@ public Builder setPredicateFilter(
        */
       public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         if (predicateFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            predicateFilter_ != null &&
-            predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && predicateFilter_ != null
+              && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getPredicateFilterBuilder().mergeFrom(value);
           } else {
             predicateFilter_ = value;
@@ -3392,6 +3637,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.
@@ -3410,6 +3657,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.
@@ -3423,6 +3672,8 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
         return getPredicateFilterFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3434,11 +3685,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.
@@ -3447,14 +3701,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_;
@@ -3462,36 +3719,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 ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; + * * @return The trueFilter. */ public com.google.bigtable.v2.RowFilter getTrueFilter() { if (trueFilterBuilder_ == null) { - return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; + return trueFilter_ == null + ? com.google.bigtable.v2.RowFilter.getDefaultInstance() + : trueFilter_; } else { return trueFilterBuilder_.getMessage(); } } /** + * + * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3513,6 +3783,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.
@@ -3520,8 +3792,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();
         } else {
@@ -3532,6 +3803,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.
@@ -3541,9 +3814,9 @@ public Builder setTrueFilter(
        */
       public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         if (trueFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0) &&
-            trueFilter_ != null &&
-            trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0)
+              && trueFilter_ != null
+              && trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getTrueFilterBuilder().mergeFrom(value);
           } else {
             trueFilter_ = value;
@@ -3556,6 +3829,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.
@@ -3574,6 +3849,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.
@@ -3587,6 +3864,8 @@ public com.google.bigtable.v2.RowFilter.Builder getTrueFilterBuilder() {
         return getTrueFilterFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3598,11 +3877,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.
@@ -3611,14 +3893,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_;
@@ -3626,8 +3911,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
@@ -3635,12 +3925,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 ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3648,16 +3941,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
@@ -3680,6 +3978,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
@@ -3688,8 +3988,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();
         } else {
@@ -3700,6 +3999,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
@@ -3710,9 +4011,9 @@ public Builder setFalseFilter(
        */
       public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         if (falseFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0) &&
-            falseFilter_ != null &&
-            falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0)
+              && falseFilter_ != null
+              && falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getFalseFilterBuilder().mergeFrom(value);
           } else {
             falseFilter_ = value;
@@ -3725,6 +4026,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
@@ -3744,6 +4047,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
@@ -3758,6 +4063,8 @@ public com.google.bigtable.v2.RowFilter.Builder getFalseFilterBuilder() {
         return getFalseFilterFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3770,11 +4077,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
@@ -3784,18 +4094,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) {
@@ -3808,12 +4122,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();
     }
@@ -3822,27 +4136,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;
@@ -3857,14 +4172,16 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int filterCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object filter_;
+
   public enum FilterCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CHAIN(1),
     INTERLEAVE(2),
@@ -3887,6 +4204,7 @@ public enum FilterCase
     APPLY_LABEL_TRANSFORMER(19),
     FILTER_NOT_SET(0);
     private final int value;
+
     private FilterCase(int value) {
       this.value = value;
     }
@@ -3902,48 +4220,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 @@ -3951,22 +4292,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.
@@ -3977,19 +4323,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 @@ -3997,22 +4346,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.
@@ -4023,19 +4377,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 @@ -4043,22 +4400,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.
@@ -4069,13 +4431,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
@@ -4139,6 +4503,7 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
    * 
* * bool sink = 16; + * * @return Whether the sink field is set. */ @java.lang.Override @@ -4146,6 +4511,8 @@ public boolean hasSink() { return filterCase_ == 16; } /** + * + * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4209,6 +4576,7 @@ public boolean hasSink() {
    * 
* * bool sink = 16; + * * @return The sink. */ @java.lang.Override @@ -4221,12 +4589,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 @@ -4234,12 +4605,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 @@ -4252,12 +4626,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 @@ -4265,12 +4642,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 @@ -4283,6 +4663,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
@@ -4294,6 +4676,7 @@ public boolean getBlockAllFilter() {
    * 
* * bytes row_key_regex_filter = 4; + * * @return Whether the rowKeyRegexFilter field is set. */ @java.lang.Override @@ -4301,6 +4684,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
@@ -4312,6 +4697,7 @@ public boolean hasRowKeyRegexFilter() {
    * 
* * bytes row_key_regex_filter = 4; + * * @return The rowKeyRegexFilter. */ @java.lang.Override @@ -4324,12 +4710,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 @@ -4337,12 +4726,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 @@ -4355,6 +4747,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 `:`
@@ -4365,12 +4759,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 `:`
@@ -4381,6 +4778,7 @@ public boolean hasFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; + * * @return The familyNameRegexFilter. */ public java.lang.String getFamilyNameRegexFilter() { @@ -4391,8 +4789,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; @@ -4401,6 +4798,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 `:`
@@ -4411,18 +4810,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; } @@ -4434,6 +4832,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.
@@ -4444,6 +4844,7 @@ public java.lang.String getFamilyNameRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; + * * @return Whether the columnQualifierRegexFilter field is set. */ @java.lang.Override @@ -4451,6 +4852,8 @@ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** + * + * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4461,6 +4864,7 @@ public boolean hasColumnQualifierRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; + * * @return The columnQualifierRegexFilter. */ @java.lang.Override @@ -4473,11 +4877,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 @@ -4485,21 +4892,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.
    * 
@@ -4509,18 +4921,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 @@ -4528,21 +4943,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.
    * 
@@ -4552,13 +4972,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
@@ -4568,6 +4990,7 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
    * 
* * bytes value_regex_filter = 9; + * * @return Whether the valueRegexFilter field is set. */ @java.lang.Override @@ -4575,6 +4998,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
@@ -4584,6 +5009,7 @@ public boolean hasValueRegexFilter() {
    * 
* * bytes value_regex_filter = 9; + * * @return The valueRegexFilter. */ @java.lang.Override @@ -4596,11 +5022,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 @@ -4608,21 +5037,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.
    * 
@@ -4632,13 +5066,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,
@@ -4646,6 +5082,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 @@ -4653,6 +5090,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,
@@ -4660,6 +5099,7 @@ public boolean hasCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_offset_filter = 10; + * * @return The cellsPerRowOffsetFilter. */ @java.lang.Override @@ -4672,6 +5112,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,
@@ -4679,6 +5121,7 @@ public int getCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; + * * @return Whether the cellsPerRowLimitFilter field is set. */ @java.lang.Override @@ -4686,6 +5129,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,
@@ -4693,6 +5138,7 @@ public boolean hasCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; + * * @return The cellsPerRowLimitFilter. */ @java.lang.Override @@ -4705,6 +5151,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,
@@ -4715,6 +5163,7 @@ public int getCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; + * * @return Whether the cellsPerColumnLimitFilter field is set. */ @java.lang.Override @@ -4722,6 +5171,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,
@@ -4732,6 +5183,7 @@ public boolean hasCellsPerColumnLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; + * * @return The cellsPerColumnLimitFilter. */ @java.lang.Override @@ -4744,11 +5196,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 @@ -4756,11 +5211,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 @@ -4773,6 +5231,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
@@ -4790,12 +5250,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
@@ -4813,6 +5276,7 @@ public boolean hasApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; + * * @return The applyLabelTransformer. */ public java.lang.String getApplyLabelTransformer() { @@ -4823,8 +5287,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; @@ -4833,6 +5296,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
@@ -4850,18 +5315,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; } @@ -4872,6 +5336,7 @@ public java.lang.String getApplyLabelTransformer() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4883,8 +5348,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_); } @@ -4895,15 +5359,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_); @@ -4912,43 +5374,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_); @@ -4963,86 +5416,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_); @@ -5055,7 +5514,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); @@ -5065,81 +5524,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: @@ -5170,18 +5611,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; @@ -5189,8 +5627,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; @@ -5230,8 +5670,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; @@ -5245,99 +5684,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
@@ -5376,33 +5819,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();
@@ -5431,9 +5873,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
@@ -5453,7 +5895,9 @@ public com.google.bigtable.v2.RowFilter build() {
     @java.lang.Override
     public com.google.bigtable.v2.RowFilter buildPartial() {
       com.google.bigtable.v2.RowFilter result = new com.google.bigtable.v2.RowFilter(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5466,28 +5910,22 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 1 &&
-          chainBuilder_ != null) {
+      if (filterCase_ == 1 && chainBuilder_ != null) {
         result.filter_ = chainBuilder_.build();
       }
-      if (filterCase_ == 2 &&
-          interleaveBuilder_ != null) {
+      if (filterCase_ == 2 && interleaveBuilder_ != null) {
         result.filter_ = interleaveBuilder_.build();
       }
-      if (filterCase_ == 3 &&
-          conditionBuilder_ != null) {
+      if (filterCase_ == 3 && conditionBuilder_ != null) {
         result.filter_ = conditionBuilder_.build();
       }
-      if (filterCase_ == 7 &&
-          columnRangeFilterBuilder_ != null) {
+      if (filterCase_ == 7 && columnRangeFilterBuilder_ != null) {
         result.filter_ = columnRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 8 &&
-          timestampRangeFilterBuilder_ != null) {
+      if (filterCase_ == 8 && timestampRangeFilterBuilder_ != null) {
         result.filter_ = timestampRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 15 &&
-          valueRangeFilterBuilder_ != null) {
+      if (filterCase_ == 15 && valueRangeFilterBuilder_ != null) {
         result.filter_ = valueRangeFilterBuilder_.build();
       }
     }
@@ -5496,38 +5934,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RowFilter) {
-        return mergeFrom((com.google.bigtable.v2.RowFilter)other);
+        return mergeFrom((com.google.bigtable.v2.RowFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5537,89 +5976,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();
@@ -5647,121 +6106,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) {
@@ -5771,12 +6241,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() {
@@ -5789,14 +6259,20 @@ public Builder clearFilter() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> chainBuilder_;
+            com.google.bigtable.v2.RowFilter.Chain,
+            com.google.bigtable.v2.RowFilter.Chain.Builder,
+            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
+        chainBuilder_;
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; + * * @return Whether the chain field is set. */ @java.lang.Override @@ -5804,12 +6280,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 @@ -5827,6 +6306,8 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() { } } /** + * + * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5848,6 +6329,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.
@@ -5855,8 +6338,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();
@@ -5867,6 +6349,8 @@ public Builder setChain(
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5876,10 +6360,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;
         }
@@ -5895,6 +6382,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.
@@ -5919,6 +6408,8 @@ public Builder clearChain() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5930,6 +6421,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.
@@ -5949,6 +6442,8 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5957,14 +6452,19 @@ 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());
@@ -5976,14 +6476,20 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> interleaveBuilder_;
+            com.google.bigtable.v2.RowFilter.Interleave,
+            com.google.bigtable.v2.RowFilter.Interleave.Builder,
+            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
+        interleaveBuilder_;
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; + * * @return Whether the interleave field is set. */ @java.lang.Override @@ -5991,12 +6497,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 @@ -6014,6 +6523,8 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { } } /** + * + * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6035,6 +6546,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.
@@ -6054,6 +6567,8 @@ public Builder setInterleave(
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6063,10 +6578,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;
         }
@@ -6082,6 +6600,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.
@@ -6106,6 +6626,8 @@ public Builder clearInterleave() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6117,6 +6639,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.
@@ -6136,6 +6660,8 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6144,14 +6670,19 @@ 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());
@@ -6163,14 +6694,20 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> conditionBuilder_;
+            com.google.bigtable.v2.RowFilter.Condition,
+            com.google.bigtable.v2.RowFilter.Condition.Builder,
+            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
+        conditionBuilder_;
     /**
+     *
+     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; + * * @return Whether the condition field is set. */ @java.lang.Override @@ -6178,12 +6715,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 @@ -6201,6 +6741,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.
@@ -6222,6 +6764,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.
@@ -6241,6 +6785,8 @@ public Builder setCondition(
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6250,10 +6796,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;
         }
@@ -6269,6 +6818,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.
@@ -6293,6 +6844,8 @@ public Builder clearCondition() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6304,6 +6857,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.
@@ -6323,6 +6878,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.
@@ -6331,14 +6888,19 @@ 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());
@@ -6350,6 +6912,8 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
     }
 
     /**
+     *
+     *
      * 
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6413,12 +6977,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
@@ -6482,6 +7049,7 @@ public boolean hasSink() {
      * 
* * bool sink = 16; + * * @return The sink. */ public boolean getSink() { @@ -6491,6 +7059,8 @@ public boolean getSink() { return false; } /** + * + * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6554,6 +7124,7 @@ public boolean getSink() {
      * 
* * bool sink = 16; + * * @param value The sink to set. * @return This builder for chaining. */ @@ -6565,6 +7136,8 @@ public Builder setSink(boolean value) { return this; } /** + * + * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6628,6 +7201,7 @@ public Builder setSink(boolean value) {
      * 
* * bool sink = 16; + * * @return This builder for chaining. */ public Builder clearSink() { @@ -6640,24 +7214,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() { @@ -6667,12 +7247,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. */ @@ -6684,12 +7267,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() { @@ -6702,24 +7288,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() { @@ -6729,12 +7321,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. */ @@ -6746,12 +7341,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() { @@ -6764,6 +7362,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
@@ -6775,12 +7375,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
@@ -6792,6 +7395,7 @@ public boolean hasRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; + * * @return The rowKeyRegexFilter. */ public com.google.protobuf.ByteString getRowKeyRegexFilter() { @@ -6801,6 +7405,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
@@ -6812,17 +7418,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(); } + if (value == null) { + throw new NullPointerException(); + } filterCase_ = 4; filter_ = value; onChanged(); return this; } /** + * + * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -6834,6 +7445,7 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key_regex_filter = 4; + * * @return This builder for chaining. */ public Builder clearRowKeyRegexFilter() { @@ -6846,24 +7458,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() { @@ -6873,12 +7491,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. */ @@ -6890,12 +7511,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() { @@ -6908,6 +7532,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 `:`
@@ -6918,6 +7544,7 @@ public Builder clearRowSampleFilter() {
      * 
* * string family_name_regex_filter = 5; + * * @return Whether the familyNameRegexFilter field is set. */ @java.lang.Override @@ -6925,6 +7552,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 `:`
@@ -6935,6 +7564,7 @@ public boolean hasFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; + * * @return The familyNameRegexFilter. */ @java.lang.Override @@ -6944,8 +7574,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; @@ -6956,6 +7585,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 `:`
@@ -6966,19 +7597,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; } @@ -6988,6 +7618,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 `:`
@@ -6998,18 +7630,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameRegexFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filterCase_ = 5; filter_ = value; onChanged(); return this; } /** + * + * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7020,6 +7656,7 @@ public Builder setFamilyNameRegexFilter(
      * 
* * string family_name_regex_filter = 5; + * * @return This builder for chaining. */ public Builder clearFamilyNameRegexFilter() { @@ -7031,6 +7668,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 `:`
@@ -7041,12 +7680,14 @@ public Builder clearFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; + * * @param value The bytes for familyNameRegexFilter to set. * @return This builder for chaining. */ - public Builder setFamilyNameRegexFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filterCase_ = 5; filter_ = value; @@ -7055,6 +7696,8 @@ public Builder setFamilyNameRegexFilterBytes( } /** + * + * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7065,12 +7708,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.
@@ -7081,6 +7727,7 @@ public boolean hasColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; + * * @return The columnQualifierRegexFilter. */ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { @@ -7090,6 +7737,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.
@@ -7100,17 +7749,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(); } + if (value == null) { + throw new NullPointerException(); + } filterCase_ = 6; filter_ = value; onChanged(); return this; } /** + * + * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7121,6 +7775,7 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; + * * @return This builder for chaining. */ public Builder clearColumnQualifierRegexFilter() { @@ -7133,13 +7788,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 @@ -7147,11 +7808,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 @@ -7169,6 +7833,8 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { } } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7189,6 +7855,8 @@ public Builder setColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7207,6 +7875,8 @@ public Builder setColumnRangeFilter( return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7215,10 +7885,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; } @@ -7234,6 +7907,8 @@ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7257,6 +7932,8 @@ public Builder clearColumnRangeFilter() { return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7267,6 +7944,8 @@ public com.google.bigtable.v2.ColumnRange.Builder getColumnRangeFilterBuilder() return getColumnRangeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7285,6 +7964,8 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7292,17 +7973,20 @@ 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; @@ -7311,13 +7995,19 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timestampRangeFilterBuilder_; + com.google.bigtable.v2.TimestampRange, + com.google.bigtable.v2.TimestampRange.Builder, + com.google.bigtable.v2.TimestampRangeOrBuilder> + timestampRangeFilterBuilder_; /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; + * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -7325,11 +8015,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 @@ -7347,6 +8040,8 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { } } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7367,6 +8062,8 @@ public Builder setTimestampRangeFilter(com.google.bigtable.v2.TimestampRange val return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7385,6 +8082,8 @@ public Builder setTimestampRangeFilter( return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7393,10 +8092,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; } @@ -7412,6 +8114,8 @@ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange v return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7435,6 +8139,8 @@ public Builder clearTimestampRangeFilter() { return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7445,6 +8151,8 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimestampRangeFilterBuil return getTimestampRangeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7463,6 +8171,8 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7470,17 +8180,20 @@ 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; @@ -7489,6 +8202,8 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } /** + * + * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -7498,12 +8213,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
@@ -7513,6 +8231,7 @@ public boolean hasValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; + * * @return The valueRegexFilter. */ public com.google.protobuf.ByteString getValueRegexFilter() { @@ -7522,6 +8241,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
@@ -7531,17 +8252,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(); } + if (value == null) { + throw new NullPointerException(); + } filterCase_ = 9; filter_ = value; onChanged(); return this; } /** + * + * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -7551,6 +8277,7 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes value_regex_filter = 9; + * * @return This builder for chaining. */ public Builder clearValueRegexFilter() { @@ -7563,13 +8290,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 @@ -7577,11 +8310,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 @@ -7599,6 +8335,8 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { } } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7619,14 +8357,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(); @@ -7637,6 +8376,8 @@ public Builder setValueRangeFilter( return this; } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7645,10 +8386,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; } @@ -7664,6 +8408,8 @@ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7687,6 +8433,8 @@ public Builder clearValueRangeFilter() { return this; } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7697,6 +8445,8 @@ public com.google.bigtable.v2.ValueRange.Builder getValueRangeFilterBuilder() { return getValueRangeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7715,6 +8465,8 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7722,17 +8474,20 @@ 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; @@ -7741,6 +8496,8 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } /** + * + * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -7748,12 +8505,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,
@@ -7761,6 +8521,7 @@ public boolean hasCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; + * * @return The cellsPerRowOffsetFilter. */ public int getCellsPerRowOffsetFilter() { @@ -7770,6 +8531,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,
@@ -7777,6 +8540,7 @@ public int getCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; + * * @param value The cellsPerRowOffsetFilter to set. * @return This builder for chaining. */ @@ -7788,6 +8552,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,
@@ -7795,6 +8561,7 @@ public Builder setCellsPerRowOffsetFilter(int value) {
      * 
* * int32 cells_per_row_offset_filter = 10; + * * @return This builder for chaining. */ public Builder clearCellsPerRowOffsetFilter() { @@ -7807,6 +8574,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,
@@ -7814,12 +8583,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,
@@ -7827,6 +8599,7 @@ public boolean hasCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; + * * @return The cellsPerRowLimitFilter. */ public int getCellsPerRowLimitFilter() { @@ -7836,6 +8609,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,
@@ -7843,6 +8618,7 @@ public int getCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; + * * @param value The cellsPerRowLimitFilter to set. * @return This builder for chaining. */ @@ -7854,6 +8630,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,
@@ -7861,6 +8639,7 @@ public Builder setCellsPerRowLimitFilter(int value) {
      * 
* * int32 cells_per_row_limit_filter = 11; + * * @return This builder for chaining. */ public Builder clearCellsPerRowLimitFilter() { @@ -7873,6 +8652,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,
@@ -7883,12 +8664,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,
@@ -7899,6 +8683,7 @@ public boolean hasCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; + * * @return The cellsPerColumnLimitFilter. */ public int getCellsPerColumnLimitFilter() { @@ -7908,6 +8693,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,
@@ -7918,6 +8705,7 @@ public int getCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; + * * @param value The cellsPerColumnLimitFilter to set. * @return This builder for chaining. */ @@ -7929,6 +8717,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,
@@ -7939,6 +8729,7 @@ public Builder setCellsPerColumnLimitFilter(int value) {
      * 
* * int32 cells_per_column_limit_filter = 12; + * * @return This builder for chaining. */ public Builder clearCellsPerColumnLimitFilter() { @@ -7951,22 +8742,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() { @@ -7976,11 +8773,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. */ @@ -7992,11 +8792,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() { @@ -8009,6 +8812,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
@@ -8026,6 +8831,7 @@ public Builder clearStripValueTransformer() {
      * 
* * string apply_label_transformer = 19; + * * @return Whether the applyLabelTransformer field is set. */ @java.lang.Override @@ -8033,6 +8839,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
@@ -8050,6 +8858,7 @@ public boolean hasApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; + * * @return The applyLabelTransformer. */ @java.lang.Override @@ -8059,8 +8868,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; @@ -8071,6 +8879,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
@@ -8088,19 +8898,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; } @@ -8110,6 +8919,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
@@ -8127,18 +8938,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplyLabelTransformer(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filterCase_ = 19; filter_ = value; onChanged(); return this; } /** + * + * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8156,6 +8971,7 @@ public Builder setApplyLabelTransformer(
      * 
* * string apply_label_transformer = 19; + * * @return This builder for chaining. */ public Builder clearApplyLabelTransformer() { @@ -8167,6 +8983,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
@@ -8184,21 +9002,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplyLabelTransformerBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filterCase_ = 19; filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8208,12 +9028,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(); } @@ -8222,27 +9042,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; @@ -8257,6 +9077,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 696a699e3d..70b8cdd308 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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
@@ -161,10 +203,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
@@ -228,53 +273,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
@@ -286,10 +346,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
@@ -301,32 +364,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 `:`
@@ -337,10 +409,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 `:`
@@ -351,10 +426,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 `:`
@@ -365,12 +443,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.
@@ -381,10 +461,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.
@@ -395,29 +478,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.
    * 
@@ -427,24 +519,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.
    * 
@@ -454,6 +554,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
@@ -463,10 +565,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
@@ -476,29 +581,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.
    * 
@@ -508,6 +622,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,
@@ -515,10 +631,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,
@@ -526,11 +645,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,
@@ -538,10 +660,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,
@@ -549,11 +674,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,
@@ -564,10 +692,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,
@@ -578,30 +709,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
@@ -619,10 +759,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
@@ -640,10 +783,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
@@ -661,10 +807,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(); 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..d471b84330 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 3aefa3f4c6..ed56161568 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,57 +1,77 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
+ *
+ *
  * 
  * Specifies a contiguous range of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ -public final class RowRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RowRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowRange) RowRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RowRange.newBuilder() to construct. private RowRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RowRange() { - } + + private RowRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RowRange(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } private int startKeyCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object startKey_; + public enum StartKeyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_KEY_CLOSED(1), START_KEY_OPEN(2), STARTKEY_NOT_SET(0); private final int value; + private StartKeyCase(int value) { this.value = value; } @@ -67,33 +87,40 @@ public static StartKeyCase valueOf(int value) { public static StartKeyCase forNumber(int value) { switch (value) { - case 1: return START_KEY_CLOSED; - case 2: return START_KEY_OPEN; - case 0: return STARTKEY_NOT_SET; - default: return null; + case 1: + return START_KEY_CLOSED; + case 2: + return START_KEY_OPEN; + case 0: + return STARTKEY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public StartKeyCase - getStartKeyCase() { - return StartKeyCase.forNumber( - startKeyCase_); + public StartKeyCase getStartKeyCase() { + return StartKeyCase.forNumber(startKeyCase_); } private int endKeyCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object endKey_; + public enum EndKeyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_KEY_OPEN(3), END_KEY_CLOSED(4), ENDKEY_NOT_SET(0); private final int value; + private EndKeyCase(int value) { this.value = value; } @@ -109,30 +136,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 @@ -140,11 +173,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 @@ -157,11 +193,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 @@ -169,11 +208,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 @@ -186,11 +228,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 @@ -198,11 +243,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 @@ -215,11 +263,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 @@ -227,11 +278,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 @@ -243,6 +297,7 @@ public com.google.protobuf.ByteString getEndKeyClosed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,23 +309,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); } @@ -282,24 +332,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; @@ -309,7 +359,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); @@ -319,12 +369,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: @@ -332,12 +380,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: @@ -382,132 +428,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 @@ -542,7 +590,9 @@ public com.google.bigtable.v2.RowRange build() { @java.lang.Override public com.google.bigtable.v2.RowRange buildPartial() { com.google.bigtable.v2.RowRange result = new com.google.bigtable.v2.RowRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -563,38 +613,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowRange result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowRange) { - return mergeFrom((com.google.bigtable.v2.RowRange)other); + return mergeFrom((com.google.bigtable.v2.RowRange) other); } else { super.mergeFrom(other); return this; @@ -604,30 +655,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(); @@ -655,32 +712,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) { @@ -690,12 +752,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() { @@ -707,10 +769,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() { @@ -723,22 +784,28 @@ public Builder clearEndKey() { private int bitField0_; /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; + * * @return Whether the startKeyClosed field is set. */ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; + * * @return The startKeyClosed. */ public com.google.protobuf.ByteString getStartKeyClosed() { @@ -748,27 +815,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(); } + if (value == null) { + throw new NullPointerException(); + } startKeyCase_ = 1; startKey_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; + * * @return This builder for chaining. */ public Builder clearStartKeyClosed() { @@ -781,22 +856,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() { @@ -806,27 +887,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(); } + if (value == null) { + throw new NullPointerException(); + } startKeyCase_ = 2; startKey_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; + * * @return This builder for chaining. */ public Builder clearStartKeyOpen() { @@ -839,22 +928,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() { @@ -864,27 +959,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(); } + if (value == null) { + throw new NullPointerException(); + } endKeyCase_ = 3; endKey_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; + * * @return This builder for chaining. */ public Builder clearEndKeyOpen() { @@ -897,22 +1000,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() { @@ -922,27 +1031,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(); } + if (value == null) { + throw new NullPointerException(); + } endKeyCase_ = 4; endKey_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; + * * @return This builder for chaining. */ public Builder clearEndKeyClosed() { @@ -953,9 +1070,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); } @@ -965,12 +1082,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(); } @@ -979,27 +1096,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; @@ -1014,6 +1131,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 04cba2c1eb..c61136e109 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 74% 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 b71ad542ae..c6aa8a058e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,57 +44,65 @@ private RowSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RowSet(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } public static final int ROW_KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List rowKeys_; /** + * + * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; + * * @return A list containing the rowKeys. */ @java.lang.Override - public java.util.List - getRowKeysList() { + public java.util.List getRowKeysList() { return rowKeys_; } /** + * + * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; + * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** + * + * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; + * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -85,9 +111,12 @@ public com.google.protobuf.ByteString getRowKeys(int index) { } public static final int ROW_RANGES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List rowRanges_; /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -99,6 +128,8 @@ public java.util.List getRowRangesList() { return rowRanges_; } /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -106,11 +137,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.
    * 
@@ -122,6 +155,8 @@ public int getRowRangesCount() { return rowRanges_.size(); } /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -133,6 +168,8 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { return rowRanges_.get(index); } /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -140,12 +177,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; @@ -157,8 +194,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)); } @@ -177,15 +213,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; @@ -195,17 +229,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.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; } @@ -230,132 +262,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(); @@ -372,8 +405,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; } @@ -395,7 +427,9 @@ public com.google.bigtable.v2.RowSet build() { public com.google.bigtable.v2.RowSet buildPartial() { com.google.bigtable.v2.RowSet result = new com.google.bigtable.v2.RowSet(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -425,38 +459,39 @@ private void buildPartial0(com.google.bigtable.v2.RowSet result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowSet) { - return mergeFrom((com.google.bigtable.v2.RowSet)other); + return mergeFrom((com.google.bigtable.v2.RowSet) other); } else { super.mergeFrom(other); return this; @@ -493,9 +528,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_); } @@ -527,31 +563,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) { @@ -561,9 +598,12 @@ 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_); @@ -571,35 +611,44 @@ private void ensureRowKeysIsMutable() { } } /** + * + * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; + * * @return A list containing the rowKeys. */ - public java.util.List - getRowKeysList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(rowKeys_) : rowKeys_; + public java.util.List getRowKeysList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(rowKeys_) + : rowKeys_; } /** + * + * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; + * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** + * + * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; + * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -607,62 +656,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setRowKeys(int index, com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } ensureRowKeysIsMutable(); rowKeys_.set(index, value); onChanged(); return this; } /** + * + * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; + * * @param value The rowKeys to add. * @return This builder for chaining. */ public Builder addRowKeys(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } ensureRowKeysIsMutable(); rowKeys_.add(value); onChanged(); return this; } /** + * + * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; + * * @param values The rowKeys to add. * @return This builder for chaining. */ public Builder addAllRowKeys( java.lang.Iterable values) { ensureRowKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rowKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowKeys_); onChanged(); return this; } /** + * + * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; + * * @return This builder for chaining. */ public Builder clearRowKeys() { @@ -673,18 +736,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.
      * 
@@ -699,6 +768,8 @@ public java.util.List getRowRangesList() { } } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -713,6 +784,8 @@ public int getRowRangesCount() { } } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -727,14 +800,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(); @@ -748,6 +822,8 @@ public Builder setRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -766,6 +842,8 @@ public Builder setRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -786,14 +864,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(); @@ -807,14 +886,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()); @@ -825,6 +905,8 @@ public Builder addRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -843,6 +925,8 @@ public Builder addRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -853,8 +937,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); @@ -862,6 +945,8 @@ public Builder addAllRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -879,6 +964,8 @@ public Builder clearRowRanges() { return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -896,39 +983,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 { @@ -936,6 +1028,8 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( } } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -943,49 +1037,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); } @@ -995,12 +1094,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(); } @@ -1009,27 +1108,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; @@ -1044,6 +1143,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..5e71a057ae 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 66ad21cecf..1a9388a81c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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,35 +44,42 @@ private SampleRowKeysRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SampleRowKeysRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, + com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** + * + * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ @java.lang.Override @@ -63,31 +88,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 { @@ -96,15 +123,19 @@ public java.lang.String getTableName() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** + * + * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; + * * @return The appProfileId. */ @java.lang.Override @@ -113,30 +144,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 { @@ -145,6 +176,7 @@ public java.lang.String getAppProfileId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -187,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.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; } @@ -218,132 +248,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(); @@ -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_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 @@ -375,8 +409,11 @@ public com.google.bigtable.v2.SampleRowKeysRequest build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysRequest buildPartial() { - com.google.bigtable.v2.SampleRowKeysRequest result = new com.google.bigtable.v2.SampleRowKeysRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.SampleRowKeysRequest result = + new com.google.bigtable.v2.SampleRowKeysRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +432,39 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysRequest) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest)other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest) other); } else { super.mergeFrom(other); return this; @@ -471,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,24 +537,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object tableName_ = ""; /** + * + * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -522,22 +568,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 { @@ -545,32 +594,43 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearTableName() { @@ -580,19 +640,25 @@ public Builder clearTableName() { return this; } /** + * + * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -602,19 +668,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; @@ -623,21 +691,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 { @@ -645,30 +714,37 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -678,27 +754,31 @@ public Builder clearAppProfileId() { return this; } /** + * + * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; + * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +788,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(); } @@ -722,27 +802,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; @@ -757,6 +837,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..7b99d0d0f2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 be83159b89..30a85459cf 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,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/bigtable.proto package com.google.bigtable.v2; /** + * + * *
  * Response message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ -public final class SampleRowKeysResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SampleRowKeysResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysResponse) SampleRowKeysResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SampleRowKeysResponse.newBuilder() to construct. private SampleRowKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SampleRowKeysResponse() { rowKey_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SampleRowKeysResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto + .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, + com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Sorted streamed sequence of sample row keys in the table. The table might
    * have contents before the first row key in the list and after the last one,
@@ -57,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -67,6 +89,8 @@ public com.google.protobuf.ByteString getRowKey() { public static final int OFFSET_BYTES_FIELD_NUMBER = 2; private long offsetBytes_ = 0L; /** + * + * *
    * Approximate total storage space used by all rows in the table which precede
    * `row_key`. Buffering the contents of all rows between two subsequent
@@ -75,6 +99,7 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * int64 offset_bytes = 2; + * * @return The offsetBytes. */ @java.lang.Override @@ -83,6 +108,7 @@ public long getOffsetBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,8 +120,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_); } @@ -112,12 +137,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; @@ -127,17 +150,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; } @@ -152,139 +174,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(); @@ -295,9 +320,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 @@ -316,8 +341,11 @@ public com.google.bigtable.v2.SampleRowKeysResponse build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysResponse buildPartial() { - com.google.bigtable.v2.SampleRowKeysResponse result = new com.google.bigtable.v2.SampleRowKeysResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.SampleRowKeysResponse result = + new com.google.bigtable.v2.SampleRowKeysResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -336,38 +364,39 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysResponse result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysResponse) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse)other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse) other); } else { super.mergeFrom(other); return this; @@ -408,22 +437,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - offsetBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + offsetBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -433,10 +465,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -448,6 +483,7 @@ public Builder mergeFrom(
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -455,6 +491,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,
@@ -466,17 +504,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(); } + if (value == null) { + throw new NullPointerException(); + } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -488,6 +531,7 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key = 1; + * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -497,8 +541,10 @@ public Builder clearRowKey() { return this; } - private long offsetBytes_ ; + private long offsetBytes_; /** + * + * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -507,6 +553,7 @@ public Builder clearRowKey() {
      * 
* * int64 offset_bytes = 2; + * * @return The offsetBytes. */ @java.lang.Override @@ -514,6 +561,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
@@ -522,6 +571,7 @@ public long getOffsetBytes() {
      * 
* * int64 offset_bytes = 2; + * * @param value The offsetBytes to set. * @return This builder for chaining. */ @@ -533,6 +583,8 @@ public Builder setOffsetBytes(long value) { return this; } /** + * + * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -541,6 +593,7 @@ public Builder setOffsetBytes(long value) {
      * 
* * int64 offset_bytes = 2; + * * @return This builder for chaining. */ public Builder clearOffsetBytes() { @@ -549,9 +602,9 @@ public Builder clearOffsetBytes() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +614,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(); } @@ -575,27 +628,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; @@ -610,6 +663,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..5ee4a7e9f4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/StreamContinuationToken.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java index 6d74a706df..29ab2cc4c7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from a
@@ -12,47 +29,52 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
  */
-public final class StreamContinuationToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamContinuationToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationToken)
     StreamContinuationTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamContinuationToken.newBuilder() to construct.
   private StreamContinuationToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StreamContinuationToken() {
     token_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamContinuationToken();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+            com.google.bigtable.v2.StreamContinuationToken.class,
+            com.google.bigtable.v2.StreamContinuationToken.Builder.class);
   }
 
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
+   *
+   *
    * 
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return Whether the partition field is set. */ @java.lang.Override @@ -60,18 +82,25 @@ public boolean hasPartition() { return partition_ != null; } /** + * + * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } /** + * + * *
    * The partition that this token applies to.
    * 
@@ -80,18 +109,24 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } public static final int TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** + * + * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; + * * @return The token. */ @java.lang.Override @@ -100,29 +135,29 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** + * + * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; + * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString - getTokenBytes() { + public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); token_ = b; return b; } else { @@ -131,6 +166,7 @@ public java.lang.String getToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +178,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 (partition_ != null) { output.writeMessage(1, getPartition()); } @@ -160,8 +195,7 @@ public int getSerializedSize() { size = 0; if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); @@ -174,20 +208,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.StreamContinuationToken)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationToken other = (com.google.bigtable.v2.StreamContinuationToken) obj; + com.google.bigtable.v2.StreamContinuationToken other = + (com.google.bigtable.v2.StreamContinuationToken) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition() - .equals(other.getPartition())) return false; + if (!getPartition().equals(other.getPartition())) return false; } - if (!getToken() - .equals(other.getToken())) return false; + if (!getToken().equals(other.getToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,99 +243,104 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from a
@@ -311,33 +349,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationToken)
       com.google.bigtable.v2.StreamContinuationTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+              com.google.bigtable.v2.StreamContinuationToken.class,
+              com.google.bigtable.v2.StreamContinuationToken.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationToken.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +389,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
@@ -373,8 +410,11 @@ public com.google.bigtable.v2.StreamContinuationToken build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
-      com.google.bigtable.v2.StreamContinuationToken result = new com.google.bigtable.v2.StreamContinuationToken(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.StreamContinuationToken result =
+          new com.google.bigtable.v2.StreamContinuationToken(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -382,9 +422,7 @@ public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null
-            ? partition_
-            : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.token_ = token_;
@@ -395,38 +433,39 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationToken) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken)other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,24 +508,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPartitionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              token_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                token_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -496,38 +536,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
+            com.google.bigtable.v2.StreamPartition,
+            com.google.bigtable.v2.StreamPartition.Builder,
+            com.google.bigtable.v2.StreamPartitionOrBuilder>
+        partitionBuilder_;
     /**
+     *
+     *
      * 
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } else { return partitionBuilder_.getMessage(); } } /** + * + * *
      * The partition that this token applies to.
      * 
@@ -548,14 +602,15 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** + * + * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition( - com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -566,6 +621,8 @@ public Builder setPartition( return this; } /** + * + * *
      * The partition that this token applies to.
      * 
@@ -574,9 +631,9 @@ public Builder setPartition( */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - partition_ != null && - partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && partition_ != null + && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -589,6 +646,8 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** + * + * *
      * The partition that this token applies to.
      * 
@@ -606,6 +665,8 @@ public Builder clearPartition() { return this; } /** + * + * *
      * The partition that this token applies to.
      * 
@@ -618,6 +679,8 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** + * + * *
      * The partition that this token applies to.
      * 
@@ -628,11 +691,14 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null ? - com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; + return partition_ == null + ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() + : partition_; } } /** + * + * *
      * The partition that this token applies to.
      * 
@@ -640,14 +706,17 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), - getParentForChildren(), - isClean()); + partitionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, + com.google.bigtable.v2.StreamPartition.Builder, + com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), getParentForChildren(), isClean()); partition_ = null; } return partitionBuilder_; @@ -655,18 +724,20 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { private java.lang.Object token_ = ""; /** + * + * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; + * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -675,20 +746,21 @@ public java.lang.String getToken() { } } /** + * + * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; + * * @return The bytes for token. */ - public com.google.protobuf.ByteString - getTokenBytes() { + public com.google.protobuf.ByteString getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); token_ = b; return b; } else { @@ -696,28 +768,35 @@ public java.lang.String getToken() { } } /** + * + * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; + * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; + * * @return This builder for chaining. */ public Builder clearToken() { @@ -727,26 +806,30 @@ public Builder clearToken() { return this; } /** + * + * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; + * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +839,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationToken) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationToken) private static final com.google.bigtable.v2.StreamContinuationToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationToken(); } @@ -770,27 +853,27 @@ public static com.google.bigtable.v2.StreamContinuationToken getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,6 +888,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java index 06b58ad23f..c281f0450c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface StreamContinuationTokenOrBuilder extends +public interface StreamContinuationTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return Whether the partition field is set. */ boolean hasPartition(); /** + * + * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; + * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** + * + * *
    * The partition that this token applies to.
    * 
@@ -35,22 +59,27 @@ public interface StreamContinuationTokenOrBuilder extends com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** + * + * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; + * * @return The token. */ java.lang.String getToken(); /** + * + * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; + * * @return The bytes for token. */ - com.google.protobuf.ByteString - getTokenBytes(); + com.google.protobuf.ByteString getTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java index e69be94cd1..5e88cabe1a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from multiple
@@ -12,43 +29,48 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
  */
-public final class StreamContinuationTokens extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamContinuationTokens extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationTokens)
     StreamContinuationTokensOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamContinuationTokens.newBuilder() to construct.
   private StreamContinuationTokens(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StreamContinuationTokens() {
     tokens_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamContinuationTokens();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+            com.google.bigtable.v2.StreamContinuationTokens.class,
+            com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
   }
 
   public static final int TOKENS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List tokens_;
   /**
+   *
+   *
    * 
    * List of continuation tokens.
    * 
@@ -60,6 +82,8 @@ public java.util.List getTokensL return tokens_; } /** + * + * *
    * List of continuation tokens.
    * 
@@ -67,11 +91,13 @@ public java.util.List getTokensL * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTokensOrBuilderList() { return tokens_; } /** + * + * *
    * List of continuation tokens.
    * 
@@ -83,6 +109,8 @@ public int getTokensCount() { return tokens_.size(); } /** + * + * *
    * List of continuation tokens.
    * 
@@ -94,6 +122,8 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { return tokens_.get(index); } /** + * + * *
    * List of continuation tokens.
    * 
@@ -101,12 +131,12 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( - int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { return tokens_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -118,8 +148,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 < tokens_.size(); i++) { output.writeMessage(1, tokens_.get(i)); } @@ -133,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tokens_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tokens_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tokens_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,15 +172,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationTokens)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationTokens other = (com.google.bigtable.v2.StreamContinuationTokens) obj; + com.google.bigtable.v2.StreamContinuationTokens other = + (com.google.bigtable.v2.StreamContinuationTokens) obj; - if (!getTokensList() - .equals(other.getTokensList())) return false; + if (!getTokensList().equals(other.getTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,99 +201,104 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationTokens prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from multiple
@@ -274,33 +307,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationTokens)
       com.google.bigtable.v2.StreamContinuationTokensOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+              com.google.bigtable.v2.StreamContinuationTokens.class,
+              com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationTokens.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +348,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
@@ -337,14 +369,18 @@ public com.google.bigtable.v2.StreamContinuationTokens build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokens buildPartial() {
-      com.google.bigtable.v2.StreamContinuationTokens result = new com.google.bigtable.v2.StreamContinuationTokens(this);
+      com.google.bigtable.v2.StreamContinuationTokens result =
+          new com.google.bigtable.v2.StreamContinuationTokens(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.bigtable.v2.StreamContinuationTokens result) {
+    private void buildPartialRepeatedFields(
+        com.google.bigtable.v2.StreamContinuationTokens result) {
       if (tokensBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tokens_ = java.util.Collections.unmodifiableList(tokens_);
@@ -364,38 +400,39 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationTokens resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationTokens) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens)other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,7 +440,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other) {
-      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) return this;
+      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance())
+        return this;
       if (tokensBuilder_ == null) {
         if (!other.tokens_.isEmpty()) {
           if (tokens_.isEmpty()) {
@@ -422,9 +460,10 @@ public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other)
             tokensBuilder_ = null;
             tokens_ = other.tokens_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tokensBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTokensFieldBuilder() : null;
+            tokensBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTokensFieldBuilder()
+                    : null;
           } else {
             tokensBuilder_.addAllMessages(other.tokens_);
           }
@@ -456,25 +495,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.bigtable.v2.StreamContinuationToken m =
-                  input.readMessage(
-                      com.google.bigtable.v2.StreamContinuationToken.parser(),
-                      extensionRegistry);
-              if (tokensBuilder_ == null) {
-                ensureTokensIsMutable();
-                tokens_.add(m);
-              } else {
-                tokensBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.bigtable.v2.StreamContinuationToken m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamContinuationToken.parser(), extensionRegistry);
+                if (tokensBuilder_ == null) {
+                  ensureTokensIsMutable();
+                  tokens_.add(m);
+                } else {
+                  tokensBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -484,21 +524,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List tokens_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTokensIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tokens_ = new java.util.ArrayList(tokens_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> tokensBuilder_;
+            com.google.bigtable.v2.StreamContinuationToken,
+            com.google.bigtable.v2.StreamContinuationToken.Builder,
+            com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+        tokensBuilder_;
 
     /**
+     *
+     *
      * 
      * List of continuation tokens.
      * 
@@ -513,6 +560,8 @@ public java.util.List getTokensL } } /** + * + * *
      * List of continuation tokens.
      * 
@@ -527,6 +576,8 @@ public int getTokensCount() { } } /** + * + * *
      * List of continuation tokens.
      * 
@@ -541,14 +592,15 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { } } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder setTokens( - int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -562,6 +614,8 @@ public Builder setTokens( return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -580,6 +634,8 @@ public Builder setTokens( return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -600,14 +656,15 @@ public Builder addTokens(com.google.bigtable.v2.StreamContinuationToken value) { return this; } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder addTokens( - int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -621,6 +678,8 @@ public Builder addTokens( return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -639,6 +698,8 @@ public Builder addTokens( return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -657,6 +718,8 @@ public Builder addTokens( return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -667,8 +730,7 @@ public Builder addAllTokens( java.lang.Iterable values) { if (tokensBuilder_ == null) { ensureTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tokens_); onChanged(); } else { tokensBuilder_.addAllMessages(values); @@ -676,6 +738,8 @@ public Builder addAllTokens( return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -693,6 +757,8 @@ public Builder clearTokens() { return this; } /** + * + * *
      * List of continuation tokens.
      * 
@@ -710,39 +776,44 @@ public Builder removeTokens(int index) { return this; } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder( - int index) { + public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder(int index) { return getTokensFieldBuilder().getBuilder(index); } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( - int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { if (tokensBuilder_ == null) { - return tokens_.get(index); } else { + return tokens_.get(index); + } else { return tokensBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensOrBuilderList() { + public java.util.List + getTokensOrBuilderList() { if (tokensBuilder_ != null) { return tokensBuilder_.getMessageOrBuilderList(); } else { @@ -750,6 +821,8 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde } } /** + * + * *
      * List of continuation tokens.
      * 
@@ -757,49 +830,55 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder() { - return getTokensFieldBuilder().addBuilder( - com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + return getTokensFieldBuilder() + .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder( - int index) { - return getTokensFieldBuilder().addBuilder( - index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder(int index) { + return getTokensFieldBuilder() + .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** + * + * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensBuilderList() { + public java.util.List + getTokensBuilderList() { return getTokensFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> + com.google.bigtable.v2.StreamContinuationToken, + com.google.bigtable.v2.StreamContinuationToken.Builder, + com.google.bigtable.v2.StreamContinuationTokenOrBuilder> getTokensFieldBuilder() { if (tokensBuilder_ == null) { - tokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( - tokens_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tokensBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.StreamContinuationToken, + com.google.bigtable.v2.StreamContinuationToken.Builder, + com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( + tokens_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tokens_ = null; } return tokensBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -809,12 +888,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationTokens) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationTokens) private static final com.google.bigtable.v2.StreamContinuationTokens DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationTokens(); } @@ -823,27 +902,27 @@ public static com.google.bigtable.v2.StreamContinuationTokens getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationTokens parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationTokens parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,6 +937,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationTokens getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java index 2b8350d5ee..bdb440ac55 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; -public interface StreamContinuationTokensOrBuilder extends +public interface StreamContinuationTokensOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationTokens) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List - getTokensList(); + java.util.List getTokensList(); /** + * + * *
    * List of continuation tokens.
    * 
@@ -25,6 +44,8 @@ public interface StreamContinuationTokensOrBuilder extends */ com.google.bigtable.v2.StreamContinuationToken getTokens(int index); /** + * + * *
    * List of continuation tokens.
    * 
@@ -33,21 +54,24 @@ public interface StreamContinuationTokensOrBuilder extends */ int getTokensCount(); /** + * + * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List + java.util.List getTokensOrBuilderList(); /** + * + * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( - int index); + com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java index d11c2a2108..eec47f6a71 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * A partition of a change stream.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamPartition}
  */
-public final class StreamPartition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StreamPartition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamPartition)
     StreamPartitionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StreamPartition.newBuilder() to construct.
   private StreamPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private StreamPartition() {
-  }
+
+  private StreamPartition() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StreamPartition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_StreamPartition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto
+        .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
+            com.google.bigtable.v2.StreamPartition.class,
+            com.google.bigtable.v2.StreamPartition.Builder.class);
   }
 
   public static final int ROW_RANGE_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.RowRange rowRange_;
   /**
+   *
+   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; + * * @return Whether the rowRange field is set. */ @java.lang.Override @@ -59,12 +80,15 @@ public boolean hasRowRange() { return rowRange_ != null; } /** + * + * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; + * * @return The rowRange. */ @java.lang.Override @@ -72,6 +96,8 @@ public com.google.bigtable.v2.RowRange getRowRange() { return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_; } /** + * + * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
@@ -85,6 +111,7 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -96,8 +123,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 (rowRange_ != null) {
       output.writeMessage(1, getRowRange());
     }
@@ -111,8 +137,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (rowRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRowRange());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowRange());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -122,7 +147,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.StreamPartition)) {
       return super.equals(obj);
@@ -131,8 +156,7 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowRange() != other.hasRowRange()) return false;
     if (hasRowRange()) {
-      if (!getRowRange()
-          .equals(other.getRowRange())) return false;
+      if (!getRowRange().equals(other.getRowRange())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -154,99 +178,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.StreamPartition parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.bigtable.v2.StreamPartition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * A partition of a change stream.
@@ -254,33 +283,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.bigtable.v2.StreamPartition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamPartition)
       com.google.bigtable.v2.StreamPartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
+              com.google.bigtable.v2.StreamPartition.class,
+              com.google.bigtable.v2.StreamPartition.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamPartition.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto
+          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
@@ -315,8 +343,11 @@ public com.google.bigtable.v2.StreamPartition build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamPartition buildPartial() {
-      com.google.bigtable.v2.StreamPartition result = new com.google.bigtable.v2.StreamPartition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.bigtable.v2.StreamPartition result =
+          new com.google.bigtable.v2.StreamPartition(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -324,9 +355,7 @@ public com.google.bigtable.v2.StreamPartition buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.rowRange_ = rowRangeBuilder_ == null
-            ? rowRange_
-            : rowRangeBuilder_.build();
+        result.rowRange_ = rowRangeBuilder_ == null ? rowRange_ : rowRangeBuilder_.build();
       }
     }
 
@@ -334,38 +363,39 @@ private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamPartition) {
-        return mergeFrom((com.google.bigtable.v2.StreamPartition)other);
+        return mergeFrom((com.google.bigtable.v2.StreamPartition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,19 +433,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getRowRangeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getRowRangeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -425,30 +455,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.bigtable.v2.RowRange rowRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangeBuilder_;
+            com.google.bigtable.v2.RowRange,
+            com.google.bigtable.v2.RowRange.Builder,
+            com.google.bigtable.v2.RowRangeOrBuilder>
+        rowRangeBuilder_;
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; + * * @return Whether the rowRange field is set. */ public boolean hasRowRange() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; + * * @return The rowRange. */ public com.google.bigtable.v2.RowRange getRowRange() { @@ -459,6 +499,8 @@ public com.google.bigtable.v2.RowRange getRowRange() { } } /** + * + * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -480,6 +522,8 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -487,8 +531,7 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
      *
      * .google.bigtable.v2.RowRange row_range = 1;
      */
-    public Builder setRowRange(
-        com.google.bigtable.v2.RowRange.Builder builderForValue) {
+    public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForValue) {
       if (rowRangeBuilder_ == null) {
         rowRange_ = builderForValue.build();
       } else {
@@ -499,6 +542,8 @@ public Builder setRowRange(
       return this;
     }
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -508,9 +553,9 @@ public Builder setRowRange(
      */
     public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       if (rowRangeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          rowRange_ != null &&
-          rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && rowRange_ != null
+            && rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
           getRowRangeBuilder().mergeFrom(value);
         } else {
           rowRange_ = value;
@@ -523,6 +568,8 @@ public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -541,6 +588,8 @@ public Builder clearRowRange() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -554,6 +603,8 @@ public com.google.bigtable.v2.RowRange.Builder getRowRangeBuilder() {
       return getRowRangeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -565,11 +616,12 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
       if (rowRangeBuilder_ != null) {
         return rowRangeBuilder_.getMessageOrBuilder();
       } else {
-        return rowRange_ == null ?
-            com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
+        return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
       }
     }
     /**
+     *
+     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -578,21 +630,24 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
      * .google.bigtable.v2.RowRange row_range = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> 
+            com.google.bigtable.v2.RowRange,
+            com.google.bigtable.v2.RowRange.Builder,
+            com.google.bigtable.v2.RowRangeOrBuilder>
         getRowRangeFieldBuilder() {
       if (rowRangeBuilder_ == null) {
-        rowRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>(
-                getRowRange(),
-                getParentForChildren(),
-                isClean());
+        rowRangeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.bigtable.v2.RowRange,
+                com.google.bigtable.v2.RowRange.Builder,
+                com.google.bigtable.v2.RowRangeOrBuilder>(
+                getRowRange(), getParentForChildren(), isClean());
         rowRange_ = null;
       }
       return rowRangeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -602,12 +657,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamPartition)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamPartition)
   private static final com.google.bigtable.v2.StreamPartition DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamPartition();
   }
@@ -616,27 +671,27 @@ public static com.google.bigtable.v2.StreamPartition getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public StreamPartition parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public StreamPartition parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -651,6 +706,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.StreamPartition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
similarity index 61%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
index b677f3325e..bc8fb502e8 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
-public interface StreamPartitionOrBuilder extends
+public interface StreamPartitionOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamPartition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; + * * @return Whether the rowRange field is set. */ boolean hasRowRange(); /** + * + * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; + * * @return The rowRange. */ com.google.bigtable.v2.RowRange getRowRange(); /** + * + * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
diff --git a/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 2952dc55e7..352dea7361 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,55 +1,76 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
+ *
+ *
  * 
  * Specified a contiguous range of microsecond timestamps.
  * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ -public final class TimestampRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.TimestampRange) TimestampRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimestampRange() { - } + + private TimestampRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimestampRange(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, + com.google.bigtable.v2.TimestampRange.Builder.class); } public static final int START_TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long startTimestampMicros_ = 0L; /** + * + * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; + * * @return The startTimestampMicros. */ @java.lang.Override @@ -60,11 +81,14 @@ public long getStartTimestampMicros() { public static final int END_TIMESTAMP_MICROS_FIELD_NUMBER = 2; private long endTimestampMicros_ = 0L; /** + * + * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; + * * @return The endTimestampMicros. */ @java.lang.Override @@ -73,6 +97,7 @@ public long getEndTimestampMicros() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -84,8 +109,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_); } @@ -102,12 +126,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; @@ -117,17 +139,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; } @@ -140,142 +160,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(); @@ -286,9 +307,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 @@ -307,8 +328,11 @@ public com.google.bigtable.v2.TimestampRange build() { @java.lang.Override public com.google.bigtable.v2.TimestampRange buildPartial() { - com.google.bigtable.v2.TimestampRange result = new com.google.bigtable.v2.TimestampRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.bigtable.v2.TimestampRange result = + new com.google.bigtable.v2.TimestampRange(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +351,39 @@ private void buildPartial0(com.google.bigtable.v2.TimestampRange result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.TimestampRange) { - return mergeFrom((com.google.bigtable.v2.TimestampRange)other); + return mergeFrom((com.google.bigtable.v2.TimestampRange) other); } else { super.mergeFrom(other); return this; @@ -399,22 +424,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - startTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - endTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + startTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + endTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -424,15 +452,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long startTimestampMicros_ ; + private long startTimestampMicros_; /** + * + * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; + * * @return The startTimestampMicros. */ @java.lang.Override @@ -440,11 +472,14 @@ 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. */ @@ -456,11 +491,14 @@ public Builder setStartTimestampMicros(long value) { return this; } /** + * + * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; + * * @return This builder for chaining. */ public Builder clearStartTimestampMicros() { @@ -470,13 +508,16 @@ public Builder clearStartTimestampMicros() { return this; } - private long endTimestampMicros_ ; + private long endTimestampMicros_; /** + * + * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; + * * @return The endTimestampMicros. */ @java.lang.Override @@ -484,11 +525,14 @@ 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. */ @@ -500,11 +544,14 @@ public Builder setEndTimestampMicros(long value) { return this; } /** + * + * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; + * * @return This builder for chaining. */ public Builder clearEndTimestampMicros() { @@ -513,9 +560,9 @@ public Builder clearEndTimestampMicros() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -525,12 +572,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(); } @@ -539,27 +586,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; @@ -574,6 +621,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..30572c3e16 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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 f0aa909e9b..df1f931daf 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,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * Specifies a contiguous range of raw byte values.
  * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ -public final class ValueRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ValueRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ValueRange) ValueRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ValueRange.newBuilder() to construct. private ValueRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ValueRange() { - } + + private ValueRange() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ValueRange(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto + .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, + com.google.bigtable.v2.ValueRange.Builder.class); } private int startValueCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object startValue_; + public enum StartValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_VALUE_CLOSED(1), START_VALUE_OPEN(2), STARTVALUE_NOT_SET(0); private final int value; + private StartValueCase(int value) { this.value = value; } @@ -67,33 +89,40 @@ public static StartValueCase valueOf(int value) { public static StartValueCase forNumber(int value) { switch (value) { - case 1: return START_VALUE_CLOSED; - case 2: return START_VALUE_OPEN; - case 0: return STARTVALUE_NOT_SET; - default: return null; + case 1: + return START_VALUE_CLOSED; + case 2: + return START_VALUE_OPEN; + case 0: + return STARTVALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public StartValueCase - getStartValueCase() { - return StartValueCase.forNumber( - startValueCase_); + public StartValueCase getStartValueCase() { + return StartValueCase.forNumber(startValueCase_); } private int endValueCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object endValue_; + public enum EndValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_VALUE_CLOSED(3), END_VALUE_OPEN(4), ENDVALUE_NOT_SET(0); private final int value; + private EndValueCase(int value) { this.value = value; } @@ -109,30 +138,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 @@ -140,11 +175,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 @@ -157,11 +195,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 @@ -169,11 +210,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 @@ -186,11 +230,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 @@ -198,11 +245,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 @@ -215,11 +265,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 @@ -227,11 +280,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 @@ -243,6 +299,7 @@ public com.google.protobuf.ByteString getEndValueOpen() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,23 +311,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); } @@ -282,24 +334,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; @@ -309,7 +361,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); @@ -319,12 +371,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: @@ -332,12 +382,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: @@ -382,132 +430,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 @@ -542,7 +593,9 @@ public com.google.bigtable.v2.ValueRange build() { @java.lang.Override public com.google.bigtable.v2.ValueRange buildPartial() { com.google.bigtable.v2.ValueRange result = new com.google.bigtable.v2.ValueRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -563,38 +616,39 @@ private void buildPartialOneofs(com.google.bigtable.v2.ValueRange result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ValueRange) { - return mergeFrom((com.google.bigtable.v2.ValueRange)other); + return mergeFrom((com.google.bigtable.v2.ValueRange) other); } else { super.mergeFrom(other); return this; @@ -604,30 +658,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(); @@ -655,32 +715,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) { @@ -690,12 +755,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() { @@ -707,10 +772,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() { @@ -723,22 +787,28 @@ public Builder clearEndValue() { private int bitField0_; /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; + * * @return Whether the startValueClosed field is set. */ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; + * * @return The startValueClosed. */ public com.google.protobuf.ByteString getStartValueClosed() { @@ -748,27 +818,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(); } + if (value == null) { + throw new NullPointerException(); + } startValueCase_ = 1; startValue_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; + * * @return This builder for chaining. */ public Builder clearStartValueClosed() { @@ -781,22 +859,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() { @@ -806,27 +890,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(); } + if (value == null) { + throw new NullPointerException(); + } startValueCase_ = 2; startValue_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; + * * @return This builder for chaining. */ public Builder clearStartValueOpen() { @@ -839,22 +931,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() { @@ -864,27 +962,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(); } + if (value == null) { + throw new NullPointerException(); + } endValueCase_ = 3; endValue_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; + * * @return This builder for chaining. */ public Builder clearEndValueClosed() { @@ -897,22 +1003,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() { @@ -922,27 +1034,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(); } + if (value == null) { + throw new NullPointerException(); + } endValueCase_ = 4; endValue_ = value; onChanged(); return this; } /** + * + * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; + * * @return This builder for chaining. */ public Builder clearEndValueOpen() { @@ -953,9 +1073,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); } @@ -965,12 +1085,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(); } @@ -979,27 +1099,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; @@ -1014,6 +1134,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 74% 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 0fff71fb24..1a3d701575 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/feature_flags.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto rename to proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.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